Previous 15994 Revisions Next

r4140 Friday 16th January, 2009 at 01:03:10 UTC by Barry Rodewald
[X68000] Fixed ROM region assert, and removed calls to tilemap_mark_tile_dirty() functions as they are unnecessary.
[src/mess/drivers]x68k.c
[src/mess/video]x68k.c

src/mess/video/x68k.c
r4139r4140
701701   COMBINE_DATA(x68k_spriteram+offset);
702702   sys.video.tile8_dirty[offset / 16] = 1;
703703   sys.video.tile16_dirty[offset / 64] = 1;
704   if(offset < 0x2000)
705   {
706      tilemap_mark_all_tiles_dirty(x68k_bg1_8);
707      tilemap_mark_all_tiles_dirty(x68k_bg1_16);
708      tilemap_mark_all_tiles_dirty(x68k_bg0_8);
709      tilemap_mark_all_tiles_dirty(x68k_bg0_16);
710   }
711   if(offset >= 0x2000 && offset < 0x3000)
712   {
713      tilemap_mark_tile_dirty(x68k_bg1_8,offset & 0x0fff);
714      tilemap_mark_tile_dirty(x68k_bg1_16,offset & 0x0fff);
715   }
716   if(offset >= 0x3000)
717   {
718      tilemap_mark_tile_dirty(x68k_bg0_8,offset & 0x0fff);
719      tilemap_mark_tile_dirty(x68k_bg0_16,offset & 0x0fff);
720   }
721704}
722705
723706READ16_HANDLER( x68k_spriteram_r )
src/mess/drivers/x68k.c
r4139r4140
21942194SYSTEM_CONFIG_END
21952195
21962196ROM_START( x68000 )
2197   ROM_REGION16_BE(0x1000000, "main", 0)  // 16MB address space
21972198   ROM_DEFAULT_BIOS("ipl10")
2198   ROM_REGION16_BE(0x1000000, "main", 0)  // 16MB address space
21992199   ROM_LOAD( "cgrom.dat",  0xf00000, 0xc0000, CRC(9f3195f1) SHA1(8d72c5b4d63bb14c5dbdac495244d659aa1498b6) )
22002200   ROM_SYSTEM_BIOS(0, "ipl10",  "IPL-ROM V1.0 (87/05/07)")
22012201   ROMX_LOAD( "iplrom.dat", 0xfe0000, 0x20000, CRC(72bdf532) SHA1(0ed038ed2133b9f78c6e37256807424e0d927560), ROM_BIOS(1) )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team