g65816: use correct explicit types, fixes regression in the previous change. [R. Belmont]

This commit is contained in:
arbee 2023-11-09 21:22:24 -05:00
parent 5c40a63203
commit fd1fba3dd4

View File

@ -209,30 +209,30 @@ protected:
static const set_line_func s_g65816_set_line[5];
static const execute_func s_g65816_execute[5];
uint16_t m_a; /* Accumulator */
uint16_t m_b; /* holds high byte of accumulator */
uint16_t m_x; /* Index Register X */
uint16_t m_y; /* Index Register Y */
uint32_t m_a; /* Accumulator */
uint32_t m_b; /* holds high byte of accumulator */
uint32_t m_x; /* Index Register X */
uint32_t m_y; /* Index Register Y */
uint16_t m_s; /* Stack Pointer */
uint16_t m_pc; /* Program Counter */
uint16_t m_ppc; /* Previous Program Counter */
unsigned m_pb; /* Program Bank (shifted left 16) */
unsigned m_db; /* Data Bank (shifted left 16) */
unsigned m_d; /* Direct Register */
unsigned m_flag_e; /* Emulation Mode Flag */
unsigned m_flag_m; /* Memory/Accumulator Select Flag */
unsigned m_flag_x; /* Index Select Flag */
unsigned m_flag_n; /* Negative Flag */
unsigned m_flag_v; /* Overflow Flag */
unsigned m_flag_d; /* Decimal Mode Flag */
unsigned m_flag_i; /* Interrupt Mask Flag */
unsigned m_flag_z; /* Zero Flag (inverted) */
unsigned m_flag_c; /* Carry Flag */
unsigned m_line_irq; /* Status of the IRQ line */
unsigned m_line_nmi; /* Status of the NMI line */
unsigned m_fastROM; /* SNES specific */
unsigned m_ir; /* Instruction Register */
unsigned m_irq_delay; /* delay 1 instruction before checking irq */
uint32_t m_pb; /* Program Bank (shifted left 16) */
uint32_t m_db; /* Data Bank (shifted left 16) */
uint32_t m_d; /* Direct Register */
uint32_t m_flag_e; /* Emulation Mode Flag */
uint32_t m_flag_m; /* Memory/Accumulator Select Flag */
uint32_t m_flag_x; /* Index Select Flag */
uint32_t m_flag_n; /* Negative Flag */
uint32_t m_flag_v; /* Overflow Flag */
uint32_t m_flag_d; /* Decimal Mode Flag */
uint32_t m_flag_i; /* Interrupt Mask Flag */
uint32_t m_flag_z; /* Zero Flag (inverted) */
uint32_t m_flag_c; /* Carry Flag */
uint32_t m_line_irq; /* Status of the IRQ line */
uint32_t m_line_nmi; /* Status of the NMI line */
uint32_t m_fastROM; /* SNES specific */
uint32_t m_ir; /* Instruction Register */
uint32_t m_irq_delay; /* delay 1 instruction before checking irq */
memory_access<24, 0, 0, ENDIANNESS_LITTLE>::cache m_program;
memory_access<24, 0, 0, ENDIANNESS_LITTLE>::cache m_opcode;
memory_access<24, 0, 0, ENDIANNESS_LITTLE>::specific m_data;