Fixing debugger startup race.

This commit is contained in:
Ben Vanik
2015-07-29 19:52:53 -07:00
parent 19901c4759
commit 122114d1d1
10 changed files with 78 additions and 11 deletions

View File

@@ -179,11 +179,6 @@ int XboxkrnlModule::LaunchModule(const char* path) {
// Set as the main module, while running.
kernel_state_->SetExecutableModule(module);
// Waits for a debugger client, if desired.
if (emulator()->debugger()) {
emulator()->debugger()->PreLaunch();
}
// Launch the module.
// NOTE: this won't return until the module exits.
X_STATUS result_code = module->Launch(0);