mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-06-28 17:29:43 +00:00
Optimisation: the NOP is meaningless
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
9e2c3e32b1
commit
0ca0e1da36
|
@ -460,7 +460,7 @@ int EightBit::GameBoy::LR35902::step() noexcept {
|
||||||
handleINT();
|
handleINT();
|
||||||
} else if (UNLIKELY(lowered(HALT()))) {
|
} else if (UNLIKELY(lowered(HALT()))) {
|
||||||
IntelProcessor::memoryRead(PC());
|
IntelProcessor::memoryRead(PC());
|
||||||
Processor::execute(0); // NOP
|
//Processor::execute(0); // NOP
|
||||||
} else {
|
} else {
|
||||||
Processor::execute(fetchByte());
|
Processor::execute(fetchByte());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user