tidy
Some checks failed
CI (Linux) / build-linux (-U_FORTIFY_SOURCE, gcc, gcc, g++, mametiny, tiny) (push) Waiting to run
CI (Linux) / build-linux (clang, clang, clang++, mame, mame) (push) Waiting to run
CI (macOS) / build-macos (push) Waiting to run
CI (Windows) / build-windows (clang, clang, clang++, mametiny, tiny) (push) Waiting to run
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Waiting to run
XML/JSON validation / validate (push) Has been cancelled
Compile UI translations / build-language (push) Has been cancelled

This commit is contained in:
Andrei Holub 2025-04-04 15:31:06 -04:00
parent 1ddb3643df
commit 064b1f2051
5 changed files with 5 additions and 24 deletions

View File

@ -49,12 +49,6 @@ void nsc800_device::device_reset()
//-------------------------------------------------
void nsc800_device::execute_run()
{
if (m_wait_state)
{
m_icount = 0; // stalled
return;
}
#include "cpu/z80/ncs800.hxx"
}

View File

@ -99,11 +99,5 @@ void r800_device::muluw(u16 value)
void r800_device::execute_run()
{
if (m_wait_state)
{
m_icount = 0; // stalled
return;
}
#include "cpu/z80/r800.hxx"
}

View File

@ -704,12 +704,6 @@ void z80_device::device_reset()
****************************************************************************/
void z80_device::execute_run()
{
if (m_wait_state)
{
m_icount = 0; // stalled
return;
}
#include "cpu/z80/z80.hxx"
}

View File

@ -220,6 +220,11 @@ class OpcodeList:
def save_exec(self, f):
prefix = None
print("if (m_wait_state)", file=f)
print("{", file=f)
print(" m_icount = 0; // stalled", file=f)
print(" goto leave;", file=f)
print("}", file=f)
print("start:", file=f)
print("switch (u8(m_ref >> 16)) // prefix", file=f)
print("{", file=f)

View File

@ -33,12 +33,6 @@ z80n_device::z80n_device(const machine_config &mconfig, const char *tag, device_
void z80n_device::execute_run()
{
if (m_wait_state)
{
m_icount = 0; // stalled
return;
}
#include "cpu/z80/z80n.hxx"
}