Ignore requests for kernel32.dll

This commit is contained in:
Ben Vanik
2014-01-21 21:03:27 -08:00
parent b6d7ccfb03
commit 489154e548
2 changed files with 4 additions and 3 deletions

View File

@@ -75,6 +75,9 @@ XModule* KernelState::GetModule(const char* name) {
auto module = emulator_->xboxkrnl();
module->Retain();
return module;
} else if (xestrcasecmpa(name, "kernel32.dll") == 0) {
// Some games request this, for some reason. wtf.
return NULL;
} else {
// TODO(benvanik): support user modules/loading/etc.
XEASSERTALWAYS();