Skip to content

Commit

Permalink
add base debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRainbowPhoenix committed Aug 18, 2024
1 parent 8257b92 commit b71dea5
Show file tree
Hide file tree
Showing 15 changed files with 1,457 additions and 913 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if(EMSCRIPTEN)
set(CMAKE_EXECUTABLE_SUFFIX ".html")
add_executable(calcemu ${SOURCES})
# -fsanitize=undefined on both
target_compile_options(calcemu PRIVATE -Wall -Wextra -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -O3 -flto -g -sSTACK_SIZE=1048576 -Dmain=main -sEXPORTED_FUNCTIONS=_main,_runFrame,_startInterpreter,_setTrace,_free,_malloc,_runIterationsCPU,_runOneFrame,_dumpOneFrame,_updateTimers,_updateDisplayFromFramebuffer -sEXPORTED_RUNTIME_METHODS=ccall,cwrap,run,UTF8ToString -sEXTRA_EXPORTED_RUNTIME_METHODS=["FS","FS_createDataFile","FS_readFile","FS_unlink"] -sFORCE_FILESYSTEM=1)
target_compile_options(calcemu PRIVATE -Wall -Wextra -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -O3 -flto -g -sSTACK_SIZE=1048576 -Dmain=main -sEXPORTED_FUNCTIONS=_main,_runFrame,_startInterpreter,_setTrace,_free,_malloc,_runIterationsCPU,_runOneFrame,_dumpOneFrame,_updateTimers,_updateDisplayFromFramebuffer,_readMemory2Quick,_writeMemory,_getPC -sEXPORTED_RUNTIME_METHODS=ccall,cwrap,run,UTF8ToString -sEXTRA_EXPORTED_RUNTIME_METHODS=["FS","FS_createDataFile","FS_readFile","FS_unlink"] -sFORCE_FILESYSTEM=1)
target_link_options(calcemu PRIVATE --shell-file=../src/gui/html5/gui.html -g -sSTACK_SIZE=1048576 -s TOTAL_MEMORY=48496640 -sALLOW_MEMORY_GROWTH -sEXPORTED_FUNCTIONS=_setKeydown,_main -sEXPORTED_RUNTIME_METHODS=ccall,cwrap --preload-file=Addin.g3a --preload-file=ram8c.bin --preload-file=rom.bin --preload-file=rs.bin -sNO_EXIT_RUNTIME=1 -sEXTRA_EXPORTED_RUNTIME_METHODS=["FS","FS_createDataFile","FS_readFile","FS_unlink"] -sFORCE_FILESYSTEM=1)
elseif(USE_SDL_GUI)
set(SOURCES ${SOURCES}
Expand Down
Loading

0 comments on commit b71dea5

Please sign in to comment.