From 44d47ca891263052b93695ea1a258a0664fd86bf Mon Sep 17 00:00:00 2001 From: "Jake.Stine" Date: Sun, 1 Mar 2009 05:26:41 +0000 Subject: [PATCH] Ah fudge. -_- git-svn-id: http://pcsx2.googlecode.com/svn/trunk@641 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/Linux/LnxSysExec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/Linux/LnxSysExec.cpp b/pcsx2/Linux/LnxSysExec.cpp index 1affbbe8cf..30206b8174 100644 --- a/pcsx2/Linux/LnxSysExec.cpp +++ b/pcsx2/Linux/LnxSysExec.cpp @@ -48,7 +48,7 @@ void ReleaseLinuxExceptionHandler() // Code this later. } -static const uint m_pagemask = getpagesize()-1; +static const uptr m_pagemask = getpagesize()-1; // Linux implementation of SIGSEGV handler. Bind it using sigaction(). void SysPageFaultExceptionFilter( int signal, siginfo_t *info, void * ) @@ -68,7 +68,7 @@ void SysPageFaultExceptionFilter( int signal, siginfo_t *info, void * ) assert( false ); } - mmap_ClearCpuBlock( offset & m_pagemask ); + mmap_ClearCpuBlock( offset & ~m_pagemask ); } // For issuing notices to both the status bar and the console at the same time.