diff options
author | root <root@lab.panaceas.james.local> | 2013-10-11 11:39:43 +0100 |
---|---|---|
committer | root <root@lab.panaceas.james.local> | 2013-10-11 11:39:43 +0100 |
commit | 4eac4fac1d9cbe51176bb1071cc35eb9456a74f0 (patch) | |
tree | bfed3e1e64092279449e6949cd8e1e50db7907c2 /software/pong3/GPU.h | |
parent | f94ef0f1404b687bb9f15caa1b6ec56ea3ea5c33 (diff) | |
download | pong-4eac4fac1d9cbe51176bb1071cc35eb9456a74f0.tar.gz pong-4eac4fac1d9cbe51176bb1071cc35eb9456a74f0.tar.bz2 pong-4eac4fac1d9cbe51176bb1071cc35eb9456a74f0.zip |
tidy
Diffstat (limited to 'software/pong3/GPU.h')
-rw-r--r-- | software/pong3/GPU.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/software/pong3/GPU.h b/software/pong3/GPU.h index 3883381..fef1499 100644 --- a/software/pong3/GPU.h +++ b/software/pong3/GPU.h @@ -24,6 +24,8 @@ #define GPU_REG_BAT1_Y 0x4 #define GPU_REG_SPRITE_COLOUR 0x5 #define GPU_REG_SPRITE_BASE 0x10 + +#define GPU_RGB(r,g,b) (((r) << 6) | ((g) << 3) | (b)) #endif /* GPU_H_ */ |