No longer read invalid memory in the hack section if a ROM is too small.

This commit is contained in:
n-a-c-h
2005-01-09 22:58:30 +00:00
parent 79d466d57c
commit 38ce1610de

View File

@@ -1165,6 +1165,10 @@ void headerhack()
ClearScreenSkip = 0;
ENVDisable = 0;
if (curromspace < Lo)
{
return;
}
//These next fiew look like RAM init hacks, should be looked into