mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
-core: Add MCFG_FORCE_NO_DRC. [MooglyGuy]
This commit is contained in:
parent
caa26040c7
commit
f42c2af88e
@ -191,8 +191,6 @@ mips3_device::mips3_device(const machine_config &mconfig, device_type type, cons
|
||||
}
|
||||
memset(m_fastram, 0, sizeof(m_fastram));
|
||||
memset(m_hotspot, 0, sizeof(m_hotspot));
|
||||
|
||||
m_isdrc = (mconfig.options().drc() && !mconfig.m_force_no_drc) ? true : false;
|
||||
}
|
||||
|
||||
|
||||
@ -323,6 +321,8 @@ void mips3_device::check_irqs()
|
||||
|
||||
void mips3_device::device_start()
|
||||
{
|
||||
m_isdrc = (mconfig().options().drc() && !mconfig().m_force_no_drc) ? true : false;
|
||||
|
||||
/* allocate the implementation-specific state from the full cache */
|
||||
m_core = (internal_mips3_state *)m_cache.alloc_near(sizeof(internal_mips3_state));
|
||||
|
||||
|
@ -139,7 +139,6 @@ rsp_device::rsp_device(const machine_config &mconfig, const char *tag, device_t
|
||||
, m_sp_reg_w_func(*this)
|
||||
, m_sp_set_status_func(*this)
|
||||
{
|
||||
m_isdrc = (mconfig.options().drc() && !mconfig.m_force_no_drc) ? true : false;
|
||||
}
|
||||
|
||||
offs_t rsp_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
|
||||
@ -362,6 +361,7 @@ void rsp_device::resolve_cb()
|
||||
|
||||
void rsp_device::device_start()
|
||||
{
|
||||
m_isdrc = (mconfig().options().drc() && !mconfig().m_force_no_drc) ? true : false;
|
||||
m_rsp_state = (internal_rsp_state *)m_cache.alloc_near(sizeof(internal_rsp_state));
|
||||
|
||||
if (LOG_INSTRUCTION_EXECUTION)
|
||||
|
@ -208,7 +208,7 @@ sh2_device::sh2_device(const machine_config &mconfig, device_type type, const ch
|
||||
, m_nocode(NULL)
|
||||
, m_out_of_cycles(NULL)
|
||||
{
|
||||
m_isdrc = (mconfig.options().drc() && !mconfig.m_force_no_drc);
|
||||
m_isdrc = (mconfig.options().drc() && !mconfig.m_force_no_drc) ? true : false;
|
||||
}
|
||||
|
||||
sh1_device::sh1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
|
@ -837,7 +837,6 @@ static MACHINE_CONFIG_START( aleck64, aleck64_state )
|
||||
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu", VR4300BE, 93750000)
|
||||
MCFG_FORCE_NO_DRC()
|
||||
MCFG_MIPS3_ICACHE_SIZE(16384)
|
||||
MCFG_MIPS3_DCACHE_SIZE(8192)
|
||||
MCFG_MIPS3_SYSTEM_CLOCK(62500000)
|
||||
@ -851,7 +850,6 @@ static MACHINE_CONFIG_START( aleck64, aleck64_state )
|
||||
MCFG_RSP_SP_SET_STATUS_CB(DEVWRITE32("rcp",n64_periphs, sp_set_status))
|
||||
MCFG_CPU_PROGRAM_MAP(rsp_map)
|
||||
|
||||
|
||||
MCFG_SCREEN_ADD("screen", RASTER)
|
||||
MCFG_SCREEN_REFRESH_RATE(60)
|
||||
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
|
||||
@ -861,7 +859,6 @@ static MACHINE_CONFIG_START( aleck64, aleck64_state )
|
||||
|
||||
MCFG_PALETTE_ADD("palette", 0x1000)
|
||||
|
||||
|
||||
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
|
||||
MCFG_SOUND_ADD("dac1", DMADAC, 0)
|
||||
@ -870,6 +867,8 @@ static MACHINE_CONFIG_START( aleck64, aleck64_state )
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
|
||||
|
||||
MCFG_N64_PERIPHS_ADD("rcp");
|
||||
|
||||
MCFG_FORCE_NO_DRC()
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
UINT32 aleck64_state::screen_update_e90(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
|
||||
|
@ -415,7 +415,6 @@ static MACHINE_CONFIG_START( n64, n64_mess_state )
|
||||
|
||||
MCFG_PALETTE_ADD("palette", 0x1000)
|
||||
|
||||
|
||||
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
|
||||
MCFG_SOUND_ADD("dac2", DMADAC, 0)
|
||||
@ -433,6 +432,8 @@ static MACHINE_CONFIG_START( n64, n64_mess_state )
|
||||
|
||||
/* software lists */
|
||||
MCFG_SOFTWARE_LIST_ADD("cart_list", "n64")
|
||||
|
||||
MCFG_FORCE_NO_DRC()
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
static MACHINE_CONFIG_DERIVED( n64dd, n64 )
|
||||
|
Loading…
Reference in New Issue
Block a user