Region invalidated problem
Region invalidated problem
In options -> search memory areas, if you choose "OFF" region then press "Shift + Delete Cheat", MAME crashes instead of "region invalidated".
I haven't had a chance to test this yet, but at around line 9179, change:
to
I'll make a diff of all of these recent changes and submit it tomorrow night.
Code: Select all
static void InvalidateEntireRegion(SearchInfo * search, SearchRegion * region)
{
memset(region->status, 0, region->length);
search->numResults -= region->numResults;
region->numResults = 0;
}
Code: Select all
static void InvalidateEntireRegion(SearchInfo * search, SearchRegion * region)
{
if(!region->status) return;
memset(region->status, 0, region->length);
search->numResults -= region->numResults;
region->numResults = 0;
}