Previous 15994 Revisions Next

r9502 Monday 1st November, 2010 at 21:20:02 UTC by Angelo Salese
Fixed compile warning
[src/mess/drivers]pc88va.c

src/mess/drivers/pc88va.c
r9501r9502
143143/* TODO: this is either a result of an hand-crafted ROM or the JIS stuff is really attribute related ... */
144144static UINT32 calc_kanji_rom_addr(UINT8 jis1,UINT8 jis2,int x,int y)
145145{
146   if(jis1 >= 0x00 && jis1 < 0x28)
146   if(jis1 < 0x28)
147147      return ((jis2 & 0x60) << 8) + ((jis1 & 0x07) << 10) + ((jis2 & 0x1f) << 5);
148148   else if(jis1 >= 0x28 && jis1 < 0x30)
149149      return ((jis2 & 0x60) << 8) + ((jis1 & 0x07) << 10) + ((jis2 & 0x1f) << 5);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team