diff --git a/src/mame/drivers/apollo.cpp b/src/mame/drivers/apollo.cpp index cf9440d09e7..a44c8178a00 100644 --- a/src/mame/drivers/apollo.cpp +++ b/src/mame/drivers/apollo.cpp @@ -151,7 +151,7 @@ void apollo_set_cpu_has_fpu(m68000_base_device *device, int onoff) } else { - device->has_fpu = onoff; + device->set_fpu_enable(onoff); DLOG1(("apollo_set_cpu_has_fpu: FPU has been %s", onoff ? "enabled" : "disabled")); } } @@ -242,7 +242,7 @@ READ32_MEMBER(apollo_state::apollo_instruction_hook) idle_counter = 0; } - if (!m_maincpu->has_fpu && !m_maincpu->pmmu_enabled && (m_maincpu->ir & 0xff00) == 0xf200) + if (!m_maincpu->get_fpu_enable() && !m_maincpu->pmmu_enabled && (m_maincpu->ir & 0xff00) == 0xf200) { // set APOLLO_CSR_SR_FP_TRAP in cpu status register for /sau7/self_test apollo_csr_set_status_register(APOLLO_CSR_SR_FP_TRAP, APOLLO_CSR_SR_FP_TRAP); diff --git a/src/mame/drivers/fccpu30.cpp b/src/mame/drivers/fccpu30.cpp index 43b603215f6..64b7dad0959 100644 --- a/src/mame/drivers/fccpu30.cpp +++ b/src/mame/drivers/fccpu30.cpp @@ -478,7 +478,7 @@ WRITE8_MEMBER (cpu30_state::flop_dmac_w){ // TODO: Connect PC0, PC1, PC4 and PC7 to B5 and/or P2 connector READ8_MEMBER (cpu30_state::pit1c_r){ LOG(("%s\n", FUNCNAME)); - m_maincpu->has_fpu = 1; // Lets assume the FPCP is always installed ( which is default for 68030 atm ) + m_maincpu->set_fpu_enable(1); // Lets assume the FPCP is always installed ( which is default for 68030 atm ) return 0xff & ~FPCP_SENSE; // Should really be command line for the edge cases... }