Skip to content

Commit 5bcfeea

Browse files
committed
bandai/wswan_v.cpp: Fix emulation incorrection of tile bank bit
1 parent ec467ce commit 5bcfeea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mame/bandai/wswan_v.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ inline void wswan_video_device::get_planes(bool base, u32 number, int line, u32
234234
}
235235
else
236236
{
237-
const u16 tile_address = 0x1000 + (number * 8) + line;
237+
const u16 tile_address = ((m_color_mode && base) ? 0x2000 : 0x1000) + (number * 8) + line;
238238
if (m_tile_packed)
239239
{
240240
plane0 = m_vram[tile_address];

0 commit comments

Comments
 (0)