mirror of https://github.com/PCSX2/pcsx2.git
Ah fudge. -_-
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@641 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
cecc7cbe73
commit
44d47ca891
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue