From d4dcfd81f2332bcb766d4c7de257bcc848faf494 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Fri, 23 Jul 2021 01:11:13 +0100 Subject: Feature: Implemented background and foreround color customizability --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') 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; } } -- cgit 1.4.1