Эх сурвалжийг харах

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 12 жил өмнө
parent
commit
0886dc70ed

+ 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[] = {