Cleaning up some old flags.

This commit is contained in:
Ben Vanik
2015-05-19 22:25:45 -07:00
parent 9e685a1453
commit 2328b34308
4 changed files with 4 additions and 27 deletions

View File

@@ -18,9 +18,6 @@
#include "xenia/kernel/xboxkrnl_private.h"
#include "xenia/kernel/objects/xuser_module.h"
DEFINE_bool(abort_before_entry, false,
"Abort execution right before launching the module.");
namespace xe {
namespace kernel {
@@ -187,12 +184,6 @@ int XboxkrnlModule::LaunchModule(const char* path) {
// Set as the main module, while running.
kernel_state_->SetExecutableModule(module);
if (FLAGS_abort_before_entry) {
XELOGI("--abort_before_entry causing an early exit");
module->Release();
return 0;
}
// Launch the module.
// NOTE: this won't return until the module exits.
result_code = module->Launch(0);