Skip to content

Commit

Permalink
Use correct key into message data to get last asset fetch time
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeOsborn committed Feb 20, 2025
1 parent 61de3a3 commit 9e4809f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/emscripten/libretro-thread/libretro.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function setupZipFS(zipBuf) {

onmessage = async (msg) => {
if(msg.data.command == "load_bundle") {
let old_timestamp = msg.data;
let old_timestamp = msg.data.time;
try {
const root = await navigator.storage.getDirectory();
const _bundle = await root.getDirectoryHandle("bundle");
Expand Down

0 comments on commit 9e4809f

Please sign in to comment.