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,8 +365,11 @@ void cpu::queue_interrupt(const uint8_t level, const uint8_t vector)
|
||||||
|
|
||||||
void cpu::addToMMR1(const gam_rc_t & g)
|
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);
|
b->addToMMR1(g.mmr1_update.value().delta, g.mmr1_update.value().reg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// GAM = general addressing modes
|
// GAM = general addressing modes
|
||||||
|
|
Loading…
Add table
Reference in a new issue