Explorar o código

apt: changed stubbed handle to be something other than 0xDEADBEEF (used as a magic value in other places) so that I can track how it propagates through the app code

bunnei %!s(int64=12) %!d(string=hai) anos
pai
achega
0886dc70ed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/hle/service/apt.cpp

+ 1 - 1
src/core/hle/service/apt.cpp

@@ -23,7 +23,7 @@ void GetLockHandle(Service::Interface* self) {
 
     // TODO: This should be an actual mutex handle. Games will check that this is not non-zero 
     // (NULL), and fail if such. A faked non-zero value will at least enable further booting. 
-    cmd_buff[5] = 0xDEADBEEF;
+    cmd_buff[5] = 0x12345678;
 }
 
 const Interface::FunctionInfo FunctionTable[] = {