Create Macros for PAL/NTSC

This commit is contained in:
2022-10-02 17:47:24 +02:00
parent 733921f4ce
commit 04af1daf6c
3 changed files with 12 additions and 1 deletions

View File

@@ -2,6 +2,14 @@
#define __JABYENGINE_GPU_HPP__
#include "../System/IOPorts/GPU_IO.hpp"
#if !defined(JABYENGINE_NTSC) && !defined(JABYENGINE_PAL)
#error "JABYENGINE_NTSC or JABYENGINE_PAL must be defined"
#else
#if defined(JABYENGINE_NTSC) && defined(JABYENGINE_PAL)
#error "Please define only JABYENGINE_NTSC or JABYENGINE_PAL"
#endif
#endif
namespace GPU {
namespace Display {
static void enable() {