mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Removed memory_region[]() construct
This commit is contained in:
parent
dfccbbc479
commit
ef7452b852
1 changed files with 3 additions and 1 deletions
|
@ -15,8 +15,10 @@ WRITE8_HANDLER( bladestl_palette_ram_w )
|
|||
{
|
||||
int i;
|
||||
|
||||
UINT8 *lookup_prom = memory_region(REGION_PROMS);
|
||||
|
||||
for (i = 0; i < 0x100; i++)
|
||||
if ((memory_region(REGION_PROMS)[i] & 0x0f) == ((offset >> 1) & 0x0f))
|
||||
if ((lookup_prom[i] & 0x0f) == ((offset >> 1) & 0x0f))
|
||||
palette_set_color(Machine, i + 0x30, palette_get_color(Machine, offset >> 1));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue