Skip to content

Commit

Permalink
no way
Browse files Browse the repository at this point in the history
  • Loading branch information
Jdsle committed Oct 26, 2024
1 parent 18a27eb commit 965b56d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
19 changes: 12 additions & 7 deletions public/lib/RSDKv3.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
// Defined for Emscripten.js to call
function RSDK_Init()
{
// TODO: Custom FS Path, settings
FS.chdir('/FileSystem/RSDKv3')
function RSDK_Init() {
// TODO: Custom FS Path
FS.chdir('/FileSystem/RSDKv3');

const storedSettings = localStorage.getItem('settings');
if (storedSettings) {
const settings = JSON.parse(storedSettings);

// value, index
// index 0 - plus
_RSDK_Configure(settings.enablePlus, 0);
}

// value, index
// index 0 - plus
_RSDK_Configure(0, 0);
_RSDK_Initialize();
}
2 changes: 1 addition & 1 deletion public/modules/RSDKv3.js

Large diffs are not rendered by default.

Binary file modified public/modules/RSDKv3.wasm
Binary file not shown.

0 comments on commit 965b56d

Please sign in to comment.