From cb1e0438f9f170f7c8c9f434b8128922705cf08f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 14 Jul 2020 14:39:19 +0200 Subject: [PATCH] Fix --- Common/MachineContext.h | 2 +- Core/MemMap.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Common/MachineContext.h b/Common/MachineContext.h index f6aa42d7ea..fdd84f26d1 100644 --- a/Common/MachineContext.h +++ b/Common/MachineContext.h @@ -64,7 +64,7 @@ typedef CONTEXT SContext; #endif -#elif PPSSPP_PLATFORM(MACOS) +#elif PPSSPP_PLATFORM(MAC) // for modules: #define _XOPEN_SOURCE diff --git a/Core/MemMap.cpp b/Core/MemMap.cpp index 5eefe1c941..730613d5e9 100644 --- a/Core/MemMap.cpp +++ b/Core/MemMap.cpp @@ -479,9 +479,7 @@ void Memset(const u32 _Address, const u8 _iValue, const u32 _iLength) { CBreakPoints::ExecMemCheck(_Address, true, _iLength, currentMIPS->pc); } -// We do not support crash catching on UWP and iOS. -// On iOS, the sigcontext struct seems to be missing?? -#if !PPSSPP_PLATFORM(IOS) && !PPSSPP_PLATFORM(UWP) +#ifdef MACHINE_CONTEXT_SUPPORTED bool HandleFault(uintptr_t hostAddress, void *ctx) { SContext *context = (SContext *)ctx;