diff options
Diffstat (limited to 'src/screen.h')
| -rw-r--r-- | src/screen.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h index 67d6184..d239c0d 100644 --- a/src/screen.h +++ b/src/screen.h @@ -1,3 +1,5 @@ +#pragma once + #include "raylib.h" #define MODE_CHIP8 0 // Chip-8 64x32 @@ -13,6 +15,6 @@ typedef struct SCREEN_DATA { void ScreenInit(int width, int height); void ScreenClear(); -void ScreenSetPixel(int x, int y, char state); +void ScreenSetPixel(int x, int y, unsigned char state); void ScreenUpdate(); void ScreenClose(); |
