Correct an assertion. and remove an unused variable.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4060 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-11-28 07:23:24 +00:00
parent 81170a984d
commit 5da2f7cecd
2 changed files with 1 additions and 3 deletions

View File

@ -169,7 +169,7 @@ void HostSys::MmapResetPtr(void* base, size_t size)
Munmap(base, size);
void* result = MmapReservePtr(base, size);
pxAssertRel ((uptr)result != (uptr)base, pxsFmt(
pxAssertRel ((uptr)result == (uptr)base, pxsFmt(
"Virtual memory decommit failed: memory at 0x%08X -> 0x%08X could not be remapped. "
"This is likely caused by multi-thread memory contention.", base, (uptr)base+size
));

View File

@ -27,7 +27,6 @@ using std::min;
// A three-way toggle used to determine if the GIF is stalling (transferring) or done (finished).
// Should be a gifstate_t rather then int, but I don't feel like possibly interfering with savestates right now.
static int gifstate = GIF_STATE_READY;
static bool gifempty = false;
static bool gspath3done = false;
@ -716,7 +715,6 @@ void SaveStateBase::gifFreeze()
Freeze( gifqwc );
Freeze( gspath3done );
Freeze( gscycles );
//Freeze(gifempty);
// Note: mfifocycles is not a persistent var, so no need to save it here.
int bufsize = Path1WritePos - Path1ReadPos;