diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-19 23:46:04 +0100 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-19 23:46:04 +0100 |
commit | 29c076009058ebc2eb3a6ffe4aa11e91e1a8048f (patch) | |
tree | 7ead9077810bdfecb20d7df67162d3db3f9908ac /config.h | |
parent | Feature: Added draw instruction implementation (diff) | |
download | CHIP8-Emulator-29c076009058ebc2eb3a6ffe4aa11e91e1a8048f.tar.gz CHIP8-Emulator-29c076009058ebc2eb3a6ffe4aa11e91e1a8048f.tar.bz2 CHIP8-Emulator-29c076009058ebc2eb3a6ffe4aa11e91e1a8048f.zip |
Misc: Added screen size defines in the config
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config.h b/config.h index a40e76f..6650843 100644 --- a/config.h +++ b/config.h @@ -3,11 +3,12 @@ #define DEBUG 1 +#define SCREEN_WIDTH 852 +#define SCREEN_HEIGHT 480 + #define INSTRUCTIONS_PER_SECOND 700 #define GAME_LOAD_LOCATION 0x200 #define FONT_LOAD_LOCATION 0x50 -#define PIXEL_RATIO 10 - #define dbgprintf(fmt, ...) \ do { if(DEBUG) fprintf (stdout, fmt, ##__VA_ARGS__); } while(0) |