Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

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

bunnei0886dc70ed3e
diff --git a/src/core/hle/service/apt.cpp b/src/core/hle/service/apt.cpp
index ddb975607c..1f6a70eab9 100644
--- a/src/core/hle/service/apt.cpp
+++ b/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[] = {