Minor changes
This commit is contained in:
parent
07c7e35bff
commit
7652bcb6c7
2 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,7 @@ void ScreenInit(int width, int height){
|
||||||
|
|
||||||
SetTraceLogLevel(LOG_ERROR); // Disable anoying raylib logs
|
SetTraceLogLevel(LOG_ERROR); // Disable anoying raylib logs
|
||||||
InitWindow(width, height, "Chip-8 Emulator");
|
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() {
|
void ScreenClear() {
|
||||||
|
|
|
@ -248,10 +248,12 @@ void VCPUExecute(){
|
||||||
|
|
||||||
case 0x55:
|
case 0x55:
|
||||||
MemStore(State.V,16,State.I);
|
MemStore(State.V,16,State.I);
|
||||||
|
State.I=State.I + State.X + 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x65:
|
case 0x65:
|
||||||
MemLoad(State.V,16,State.I);
|
MemLoad(State.V,16,State.I);
|
||||||
|
State.I=State.I + State.X + 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue