mirror of
https://github.com/holub/mame
synced 2025-10-05 16:50:57 +03:00
(MESS) gb_lcd.c: Initialize m_sgb_tile_map. (nw)
This commit is contained in:
parent
c5fc5cc503
commit
73e76f805a
@ -339,6 +339,8 @@ void sgb_lcd_device::device_start()
|
||||
m_sgb_tile_data = auto_alloc_array_clear(machine(), UINT8, 0x2000);
|
||||
save_pointer(NAME(m_sgb_tile_data), 0x2000);
|
||||
|
||||
memset(m_sgb_tile_map, 0, sizeof(m_sgb_tile_map));
|
||||
|
||||
/* Some default colours for non-SGB games */
|
||||
m_sgb_pal[0] = 32767;
|
||||
m_sgb_pal[1] = 21140;
|
||||
|
Loading…
Reference in New Issue
Block a user