Minor changes
This commit is contained in:
parent
4ad64d82c3
commit
f5e5ca4f3c
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
// Initialize
|
// Initialize
|
||||||
MemInit();
|
MemInit();
|
||||||
MemLoadROM("../roms/chip8-test-suite/5-quirks.ch8");
|
MemLoadROM("../roms/chip8-test-suite/6-keypad.ch8");
|
||||||
|
|
||||||
ScreenInit(800,400);
|
ScreenInit(800,400);
|
||||||
VCPUInit();
|
VCPUInit();
|
||||||
|
@ -21,7 +21,7 @@ int main(int argc, char *argv[])
|
||||||
int i=0;
|
int i=0;
|
||||||
|
|
||||||
while (!WindowShouldClose()){
|
while (!WindowShouldClose()){
|
||||||
for(int i=0;i<500;i++){
|
for(int i=0;i<50;i++){
|
||||||
VCPUFetch();
|
VCPUFetch();
|
||||||
VCPUDecode();
|
VCPUDecode();
|
||||||
VCPUExecute();
|
VCPUExecute();
|
||||||
|
|
|
@ -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(500); // Set game to run at 60 frames-per-second
|
SetTargetFPS(60); // Set game to run at 60 frames-per-second
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenClear() {
|
void ScreenClear() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue