assert
This commit is contained in:
parent
8fb77ff4d4
commit
ec9211a0f1
1 changed files with 4 additions and 1 deletions
5
cpu.cpp
5
cpu.cpp
|
@ -365,9 +365,12 @@ void cpu::queue_interrupt(const uint8_t level, const uint8_t vector)
|
|||
|
||||
void cpu::addToMMR1(const gam_rc_t & g)
|
||||
{
|
||||
if (g.mmr1_update.has_value())
|
||||
if (g.mmr1_update.has_value()) {
|
||||
assert(g.mmr1_update.value().delta);
|
||||
|
||||
b->addToMMR1(g.mmr1_update.value().delta, g.mmr1_update.value().reg);
|
||||
}
|
||||
}
|
||||
|
||||
// GAM = general addressing modes
|
||||
gam_rc_t cpu::getGAM(const uint8_t mode, const uint8_t reg, const word_mode_t word_mode, const rm_selection_t mode_selection, const bool read_value)
|
||||
|
|
Loading…
Add table
Reference in a new issue