mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
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:
parent
8102587e02
commit
13009dbace
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user