📈 performance: incrementing PC right after fetch seems to get it under 2900 ms
parent
cd0cf33dfc
commit
a9f3085166
|
@ -556,6 +556,7 @@ impl State {
|
|||
};
|
||||
|
||||
let i = self.fetch ();
|
||||
self.incr_pc ();
|
||||
|
||||
match i.opcode () {
|
||||
0x22 => {
|
||||
|
@ -1047,8 +1048,6 @@ impl State {
|
|||
x => unimplemented! ("{x}"),
|
||||
}
|
||||
|
||||
self.incr_pc ();
|
||||
|
||||
Ok (None)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue