From 8fba20844ba9bf49cbc1885f3af6dc2c6e77928e Mon Sep 17 00:00:00 2001 From: 0xmac Date: Thu, 23 Jan 2025 11:28:19 +0100 Subject: [PATCH] Changed Formatting --- src/config.h | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/src/config.h b/src/config.h index ed3b515..47f2418 100644 --- a/src/config.h +++ b/src/config.h @@ -10,15 +10,14 @@ #define ROMLOC 0xC000 /* ROM Page Location */ #define BACKCOLOR sfBlack -#define FPS 60 -#define SCREEN_WIDTH 786 +#define SCREEN_WIDTH 768 #define SCREEN_HEIGHT 512 -#define SDL_X_SIZE 786 -#define SDL_Y_SIZE 786 +#define SDL_X_SIZE 768 +#define SDL_Y_SIZE 512 #define PREAMBLE "LS7 Emulator by Gabriel Weingardt.\nLicense: GPL v.3+\n\n" -#define HELP "Usage: LS7Emulator [options] file\n\n\ +#define HELP "Usage: LS7Emulator [options] ... [file]\n\n\ Options: Type Default Desc\n\ --help Show this menu\n\ --help-keys Show emulator key functions\n\ @@ -27,18 +26,20 @@ Options: Type Default Desc\n\ --singlestep Enable singlestepping with the 'F8' key\n\ --clocksteps [int] 1 Set the clock cycles cycled by a singlestep\n\ --snapshot [string] Import a CPU snapshot\n\ +--fps [float] 30 Set the SDL FPS rate\n\ +--enable-reload Reload the binary file when CPU is reset\n\ \n" #define HELPKEYS "\ -F1 Exit emulator\n\ -F2 Show Key Help\n\ -F3 Show Debug Menu\n\ -F4 Halt CPU\n\ -F5 Reset CPU\n\ -F6 Scale--\n\ -F7 Scale++\n\ -F8 Single step CPU\n\ -F9 Save CPU snapshot\n\ -F10 Load previous snapshot\n\ -F11 CPU NMI\n\ -F12 CPU IRQ\n\n" +F1 Exit emulator\n\ +F2 Show Key Help\n\ +F3 Show Debug Menu\n\ +F4 Halt CPU\n\ +F5 Reset CPU\n\ +F6 Scale--\n\ +F7 Scale++\n\ +F8 Single step CPU\n\ +F9 Save CPU snapshot\n\ +F10 Show Computer Memory Map\n\ +F11 Send CPU NMI\n\ +F12 Send CPU IRQ\n\n"