summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
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
}