Disabling the faked KeDebugMonitorData.
This commit is contained in:
parent
04485b6460
commit
12b2dc153e
|
@ -60,12 +60,13 @@ XboxkrnlModule::XboxkrnlModule(Runtime* runtime) :
|
||||||
uint8_t* mem = xe_memory_addr(memory_, 0);
|
uint8_t* mem = xe_memory_addr(memory_, 0);
|
||||||
|
|
||||||
// KeDebugMonitorData (?*)
|
// KeDebugMonitorData (?*)
|
||||||
// I'm not sure what this is for, but games make sure it's not null and
|
// Set to a valid value when a remote debugger is attached.
|
||||||
// exit if it is.
|
// Offset 0x18 is a 4b pointer to a handler function that seems to take two
|
||||||
|
// arguments. If we wanted to see what would happen we could fake that.
|
||||||
resolver->SetVariableMapping(
|
resolver->SetVariableMapping(
|
||||||
"xboxkrnl.exe", 0x00000059,
|
"xboxkrnl.exe", 0x00000059,
|
||||||
0x80102100);
|
0x80102100);
|
||||||
XESETUINT32BE(mem + 0x80102100, 0x1);
|
XESETUINT32BE(mem + 0x80102100, 0);
|
||||||
|
|
||||||
// XboxHardwareInfo (XboxHardwareInfo_t, 16b)
|
// XboxHardwareInfo (XboxHardwareInfo_t, 16b)
|
||||||
// flags cpu# ? ? ? ? ? ?
|
// flags cpu# ? ? ? ? ? ?
|
||||||
|
|
Loading…
Reference in New Issue