mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
psikyo4: add fastram. (nw)
This commit is contained in:
parent
ed7f91e2da
commit
b457a93492
@ -945,6 +945,11 @@ DRIVER_INIT_MEMBER(psikyo4_state,hotgmck)
|
||||
UINT8 *RAM = memregion("maincpu")->base();
|
||||
membank("bank1")->set_base(&RAM[0x100000]);
|
||||
install_hotgmck_pcm_bank(); // Banked PCM ROM
|
||||
|
||||
UINT32 *rom = (UINT32 *)memregion("maincpu")->base();
|
||||
m_maincpu->sh2drc_add_fastram(0x00000000, 0x000fffff, 1, rom);
|
||||
m_maincpu->sh2drc_add_fastram(0x03000000, 0x030037ff, 0, &m_spriteram[0]);
|
||||
m_maincpu->sh2drc_add_fastram(0x06000000, 0x060fffff, 0, &m_ram[0]);
|
||||
}
|
||||
|
||||
|
||||
|
@ -41,7 +41,7 @@ public:
|
||||
double m_oldbrt2;
|
||||
|
||||
/* devices */
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<sh2_device> m_maincpu;
|
||||
required_device<eeprom_serial_93cxx_device> m_eeprom;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user