VERY experimental Nintendo Switch 2 emulator
C++
arm_unicorn: Log unmapped memory access address.
bunneied9ffbaf2864
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cppindex 0353454f5e..13f6c658cb 100644--- a/src/core/arm/unicorn/arm_unicorn.cpp+++ b/src/core/arm/unicorn/arm_unicorn.cpp@@ -52,7 +52,7 @@ static bool UnmappedMemoryHook(uc_engine* uc, uc_mem_type type, u64 addr, int sivoid* user_data) {ARM_Interface::ThreadContext ctx{};Core::CPU().SaveContext(ctx);- ASSERT_MSG(false, "Attempted to read from unmapped memory");+ ASSERT_MSG(false, "Attempted to read from unmapped memory: 0x%llx", addr);return {};}