diff options
| -rw-r--r-- | src/screen.c | 2 | ||||
| -rw-r--r-- | src/vcpu.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index c6d5510..fa4a9c4 100644 --- a/src/screen.c +++ b/src/screen.c @@ -15,7 +15,7 @@ void ScreenInit(int width, int height){ SetTraceLogLevel(LOG_ERROR); // Disable anoying raylib logs InitWindow(width, height, "Chip-8 Emulator"); - SetTargetFPS(30); // Set game to run at 60 frames-per-second + SetTargetFPS(200); // Set game to run at 60 frames-per-second } void ScreenClear() { @@ -248,10 +248,12 @@ void VCPUExecute(){ case 0x55: MemStore(State.V,16,State.I); + State.I=State.I + State.X + 1; break; case 0x65: MemLoad(State.V,16,State.I); + State.I=State.I + State.X + 1; break; } |
