Don't map more than 4mb of rom as it will overwrite ram. Only causes a problem for mrdrilr2 because the bios is part of a much larger rom, none of the other drivers have a region large enough to cause a problem. (nw)

This commit is contained in:
smf- 2013-05-16 20:45:37 +00:00
parent 8102587e02
commit 13009dbace

View File

@ -1384,6 +1384,11 @@ void psxcpu_device::update_rom_config()
UINT32 rom_size = m_rom->bytes();
UINT8 *pointer = m_rom->base();
if( rom_size > max_window_size )
{
rom_size = max_window_size;
}
assert( window_size != 0 );
int start = 0;