Minor changes

This commit is contained in:
Loïc Guégan 2023-12-25 21:34:28 +01:00
parent 4ad64d82c3
commit f5e5ca4f3c
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ int main(int argc, char *argv[])
// Initialize
MemInit();
MemLoadROM("../roms/chip8-test-suite/5-quirks.ch8");
MemLoadROM("../roms/chip8-test-suite/6-keypad.ch8");
ScreenInit(800,400);
VCPUInit();
@ -21,7 +21,7 @@ int main(int argc, char *argv[])
int i=0;
while (!WindowShouldClose()){
for(int i=0;i<500;i++){
for(int i=0;i<50;i++){
VCPUFetch();
VCPUDecode();
VCPUExecute();

View file

@ -15,7 +15,7 @@ void ScreenInit(int width, int height){
SetTraceLogLevel(LOG_ERROR); // Disable anoying raylib logs
InitWindow(width, height, "Chip-8 Emulator");
SetTargetFPS(500); // Set game to run at 60 frames-per-second
SetTargetFPS(60); // Set game to run at 60 frames-per-second
}
void ScreenClear() {