mirror of
https://github.com/holub/mame
synced 2025-07-02 08:39:21 +03:00
mcs48: execute_jcc param is a bool, not u8
This commit is contained in:
parent
b9d5a7fb43
commit
cc5a693713
@ -518,7 +518,7 @@ void mcs48_cpu_device::execute_call(uint16_t address)
|
||||
conditional jump instruction
|
||||
-------------------------------------------------*/
|
||||
|
||||
void mcs48_cpu_device::execute_jcc(uint8_t result)
|
||||
void mcs48_cpu_device::execute_jcc(bool result)
|
||||
{
|
||||
uint16_t pch = m_pc & 0xf00;
|
||||
uint8_t offset = argument_fetch();
|
||||
@ -1247,7 +1247,7 @@ void mcs48_cpu_device::check_irqs()
|
||||
if (m_irq_polled)
|
||||
{
|
||||
m_pc = ((m_prevpc + 1) & 0x7ff) | (m_prevpc & 0x800);
|
||||
execute_jcc(1);
|
||||
execute_jcc(true);
|
||||
}
|
||||
|
||||
/* transfer to location 0x03 */
|
||||
|
@ -258,7 +258,7 @@ protected:
|
||||
void execute_addc(uint8_t dat);
|
||||
void execute_jmp(uint16_t address);
|
||||
void execute_call(uint16_t address);
|
||||
void execute_jcc(uint8_t result);
|
||||
void execute_jcc(bool result);
|
||||
uint8_t p2_mask();
|
||||
void expander_operation(expander_op operation, uint8_t port);
|
||||
void check_irqs();
|
||||
|
Loading…
Reference in New Issue
Block a user