EXEC statement:
1.emmake make platform=emscripten HAVE_DYNAREC=0
2.emmake make -f Makefile.emscripten LIBRETRO=gbsp -j all
I deleted "SOURCES_ASM := $(CORE_DIR)/bios_data.S" under the "Makefile.common" file so that it can successfully compile the ".bc" file
I have tested that loading a ROM game file larger than 1MB will immediately throw an "Uncaught RangeError: Maximum call stack size exceeded" exception. The program will freeze before the retro_load_game function. If a file of about 500kb is loaded, the load_game method can be successfully executed. , everything seems to be normal, but after about 10 seconds, the above error will still be thrown and the page will freeze. Is there a way to solve this?
In debug mode, the console will have an infinite loop prompt of ASYNCIFY: maybe stop unwind (hundreds of such repeated logs will be output every second), causing the whole thing to be very stuck. My above tests were all conducted without importing the bios file. Yes, it seems that when the rom file is small, the game can be started as long as the correct bios is imported.
Platform: Web page
EXEC statement: 1.emmake make platform=emscripten HAVE_DYNAREC=0 2.emmake make -f Makefile.emscripten LIBRETRO=gbsp -j all
I deleted "SOURCES_ASM := $(CORE_DIR)/bios_data.S" under the "Makefile.common" file so that it can successfully compile the ".bc" file![image](https://github.com/libretro/gpsp/assets/124752250/79240677-f709-4157-8de9-9ffee7fd4ae6)
In debug mode, the console will have an infinite loop prompt of ASYNCIFY: maybe stop unwind (hundreds of such repeated logs will be output every second), causing the whole thing to be very stuck. My above tests were all conducted without importing the bios file. Yes, it seems that when the rom file is small, the game can be started as long as the correct bios is imported.