summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-12-24 18:53:13 +0100
committerLoic Guegan <loic.guegan@mailbox.org>2023-12-24 18:53:13 +0100
commitce6f056fa849ba23665cfe4239d2191efd74cb89 (patch)
treedd3077aa72c3ae7be03767d6bdd90e25a99f0ff3 /src/screen.c
parentb7851385fa90a8a104defad69dbed865992ef71e (diff)
Minor changes
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/screen.c b/src/screen.c
index fd9ebb2..61828b1 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1,9 +1,7 @@
#include "screen.h"
-void ScreenInit(){
- const int screenWidth = 800;
- const int screenHeight = 450;
- InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");
+void ScreenInit(int width, int height){
+ InitWindow(width, height, "Chip-8 Emulator");
SetTargetFPS(60); // Set game to run at 60 frames-per-second
}