Fixing tests with no debugger attached.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user