mirror of
https://github.com/open-goal/jak-project
synced 2026-08-18 13:53:01 -04:00
Set up the compiler to ptrace the runtime (#107)
* set up the compiler to ptrace the runtime * clang format * move debugger state to a separate Debugger class * support registers and break and continue * documentation and fix windows * make listener part of compiler, not a separate library * implement memory read and write * fix for windows
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
|
||||
#include "common/cross_os_debug/xdbg.h"
|
||||
#include "common/common_types.h"
|
||||
#include "game/sce/libscf.h"
|
||||
#include "kboot.h"
|
||||
@@ -76,6 +77,9 @@ void kboot_init_globals() {
|
||||
* Add call to sceDeci2Reset when GOAL shuts down.
|
||||
*/
|
||||
s32 goal_main(int argc, const char* const* argv) {
|
||||
// Added for OpenGOAL's debugger
|
||||
xdbg::allow_debugging();
|
||||
|
||||
// Initialize global variables based on command line parameters
|
||||
// This call is not present in the retail version of the game
|
||||
// but the function is, and it likely goes here.
|
||||
|
||||
Reference in New Issue
Block a user