From ce6f056fa849ba23665cfe4239d2191efd74cb89 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 24 Dec 2023 18:53:13 +0100 Subject: Minor changes --- src/screen.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/screen.c') 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 } -- cgit v1.2.3