Skip to content

Commit e1aa29c

Browse files
authored
konami/k037122.cpp: Fix max palette numbers of gfxs (#13315)
1 parent ba5af9a commit e1aa29c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mame/konami/k037122.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void k037122_device::device_start()
115115
m_tilemap_128->set_transparent_pen(0);
116116
m_tilemap_256->set_transparent_pen(0);
117117

118-
set_gfx(0 ,std::make_unique<gfx_element>(this, k037122_char_layout, (uint8_t *)m_char_ram.get(), 0, entries() / 16, 0));
118+
set_gfx(0, std::make_unique<gfx_element>(this, k037122_char_layout, (uint8_t *)m_char_ram.get(), 0, entries() / 256, 0));
119119

120120
save_pointer(NAME(m_reg), 0x400 / 4);
121121
save_pointer(NAME(m_char_ram), 0x200000 / 4);

0 commit comments

Comments
 (0)