diff --git a/src/VirtualKeyboard.h b/src/VirtualKeyboard.h index 2c6047c27..cf041b5bf 100644 --- a/src/VirtualKeyboard.h +++ b/src/VirtualKeyboard.h @@ -207,6 +207,10 @@ static void VirtualKeyboard_ProcessDown(void* obj, int key, cc_bool was) { VirtualKeyboard_Backspace(); } else if (key == CCPAD_Y) { VirtualKeyboard_AppendChar(' '); + } else if (key == CCPAD_L) { + VirtualKeyboard_AppendChar('@'); + } else if (key == CCPAD_R) { + VirtualKeyboard_AppendChar('/'); } } @@ -330,7 +334,7 @@ static void VirtualKeyboard_Open(struct OpenKeyboardArgs* args, cc_bool launcher kb_shift = false; kb_str.length = 0; - if (args) String_AppendConst(&kb_str, args->placeholder); + String_AppendString(&kb_str, args->text); if (launcher) { KB_MarkDirty = VirtualKeyboard_MarkDirty2D; diff --git a/src/Window_Saturn.c b/src/Window_Saturn.c index df8677c91..da368981d 100644 --- a/src/Window_Saturn.c +++ b/src/Window_Saturn.c @@ -130,7 +130,7 @@ void Window_Create2D(int width, int height) { }; vdp2_scrn_bitmap_format_set(&format); - vdp2_scrn_priority_set(VDP2_SCRN_NBG0, 7); + vdp2_scrn_priority_set(VDP2_SCRN_NBG0, 5); vdp2_scrn_display_set(VDP2_SCRN_DISP_NBG0); const vdp2_vram_cycp_t vram_cycp = { diff --git a/src/interop_web.js b/src/interop_web.js index 4d34ade3d..a6bd7c288 100644 --- a/src/interop_web.js +++ b/src/interop_web.js @@ -350,8 +350,8 @@ mergeInto(LibraryManager.library, { // previously you were required to add interop_LoadIndexedDB to Module.preRun array // to load the indexedDB asynchronously *before* starting ClassiCube, because it // could not load indexedDB asynchronously - // however, as ClassiCube now loads IndexedDB asynchronously itself, this is no longer - // necessary, but is kept arounf foe backwards compatibility + // however, as ClassiCube now loads IndexedDB asynchronously itself, this is + // no longer necessary, but is kept around for backwards compatibility }, interop_SaveNode__deps: ['IDBFS_getDB', 'IDBFS_storeRemoteEntry'], interop_SaveNode: function(path) { @@ -441,7 +441,7 @@ mergeInto(LibraryManager.library, { req.onsuccess = function() { db = req.result; window.IDBFS_db = db; - // browser will sometimes close connection behind the scenes + // browser will sometimes close IndexedDB connection behind the scenes db.onclose = function(ev) { console.log('IndexedDB connection closed unexpectedly!'); window.IDBFS_db = null;