diff options
Diffstat (limited to 'src/screen.c')
| -rw-r--r-- | src/screen.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/screen.c b/src/screen.c index a445bd8..305a40f 100644 --- a/src/screen.c +++ b/src/screen.c @@ -14,7 +14,7 @@ void ScreenInit(int width, int height){ ScreenClear(); SetTraceLogLevel(LOG_ERROR); // Disable anoying raylib logs - InitWindow(width, height, "Chip-8 Emulator"); + InitWindow(width, height, "Chip-8 Emulator by Loïc Guégan"); } void ScreenClear() { @@ -26,7 +26,6 @@ void ScreenClear() { void ScreenUpdate(){ BeginDrawing(); ClearBackground(RAYWHITE); - // DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY); for(int x=0;x<64;x++){ for(int y=0;y<32;y++){ if(Screen.pixels[x+y*64] == 0) @@ -56,13 +55,6 @@ char ScreenPixelApply(int x, int y, unsigned char state){ return flag; } -void ScreenPixelFlip(int x, int y){ - if(Screen.pixels[x+y*64]==0) - Screen.pixels[x+y*64]=1; - else - Screen.pixels[x+y*64]=0; -} - void ScreenWH(int *width, int *height){ *width=64; *height=32; |
