Fixing tests with no debugger attached.

This commit is contained in:
Ben Vanik
2015-06-19 21:53:49 -07:00
parent c7270f50dd
commit 03f2d26afd
2 changed files with 4 additions and 2 deletions

View File

@@ -198,7 +198,9 @@ int XboxkrnlModule::LaunchModule(const char* path) {
kernel_state_->SetExecutableModule(module);
// Waits for a debugger client, if desired.
emulator()->debugger()->PreLaunch();
if (emulator()->debugger()) {
emulator()->debugger()->PreLaunch();
}
// Launch the module.
// NOTE: this won't return until the module exits.