From f2a8a1dcef0bfe84b27fc8269337c858c8142d32 Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Sun, 20 Aug 2023 19:04:12 -0700 Subject: [PATCH] Better msg in console on reading save data --- web_template.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web_template.html b/web_template.html index 304314a..0bf028f 100644 --- a/web_template.html +++ b/web_template.html @@ -367,6 +367,8 @@ function load_all() { console.log("Reading full game"); let decoded = decode(read_data); Module.ccall('read_from_save_data', 'void', ['array', 'number'], [new Uint8Array(decoded), decoded.byteLength]); + } else { + console.log("Couldn't find full game"); } } }