summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-12-26 20:16:51 +0100
committerLoic Guegan <loic.guegan@mailbox.org>2023-12-26 20:16:51 +0100
commit6cecde2c2cbb9a62b1fbaf632bbee8d97a82758d (patch)
tree1e4a3c2428be286d5f3ae8dc36921e4159aeaa59
parente61a4d4a125189799ec286756856b0713ca92db7 (diff)
Debug VCPU EXA1 instruction
-rw-r--r--src/vcpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcpu.c b/src/vcpu.c
index fb73eeb..5ff58b1 100644
--- a/src/vcpu.c
+++ b/src/vcpu.c
@@ -227,7 +227,7 @@ void VCPUExecute(){
State.PC+=2;
if(State.keypressed){
if(State.V[State.X] == State.key)
- State.PC+=4;
+ State.PC-=2;
}
}
break;