diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-23 01:11:13 +0100 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-23 01:11:13 +0100 |
commit | d4dcfd81f2332bcb766d4c7de257bcc848faf494 (patch) | |
tree | f34ca5c6a86995148022d8e54fe92f8a089038b1 /main.c | |
parent | Feature: Implemented reload and exit key behaviour (diff) | |
download | CHIP8-Emulator-d4dcfd81f2332bcb766d4c7de257bcc848faf494.tar.gz CHIP8-Emulator-d4dcfd81f2332bcb766d4c7de257bcc848faf494.tar.bz2 CHIP8-Emulator-d4dcfd81f2332bcb766d4c7de257bcc848faf494.zip |
Feature: Implemented background and foreround color customizability
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c index e528a69..449efda 100644 --- a/main.c +++ b/main.c @@ -65,7 +65,7 @@ int main(int argc, char** argv) for(int h = 0; h < 32; ++h) { uint8_t pixel = emulator.display[w][h]; - pixels[64 * h + w] = (0x00FFFFFF * pixel) | 0xFF000000; //TODO: make colors customizable in config.h + pixels[64 * h + w] = (FOREGROUND_COLOR * pixel) | BLACKGROUND_COLOR; } } |