From ac2400c5555f361681cbf72a3cfda813cdfcf450 Mon Sep 17 00:00:00 2001 From: 0xmac Date: Tue, 7 Jan 2025 14:36:11 +0100 Subject: [PATCH] Moved Variables to main.c --- src/config.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/config.h b/src/config.h index 61e5fe6..ed3b515 100644 --- a/src/config.h +++ b/src/config.h @@ -11,6 +11,10 @@ #define BACKCOLOR sfBlack #define FPS 60 +#define SCREEN_WIDTH 786 +#define SCREEN_HEIGHT 512 +#define SDL_X_SIZE 786 +#define SDL_Y_SIZE 786 #define PREAMBLE "LS7 Emulator by Gabriel Weingardt.\nLicense: GPL v.3+\n\n" @@ -38,8 +42,3 @@ F9 Save CPU snapshot\n\ F10 Load previous snapshot\n\ F11 CPU NMI\n\ F12 CPU IRQ\n\n" - -static float displayscale = 2; -static int cpuspeed = 100000; // 100 kHz -static int singlestep = 0; -static int clocksteps = 1;