diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/error.h | 2 | ||||
-rw-r--r-- | common/system.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/common/error.h b/common/error.h index 8959a6ae23..6522fbf4af 100644 --- a/common/error.h +++ b/common/error.h @@ -48,7 +48,7 @@ enum Error { kInvalidPathError, //!< Engine initialization: Invalid game path was passed kNoGameDataFoundError, //!< Engine initialization: No game data was found in the specified location kUnsupportedGameidError, //!< Engine initialization: Gameid not supported by this (Meta)Engine -#ifdef ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR kUnsupportedColorMode, //!< Engine initialization: Engine does not support backend's color mode #endif diff --git a/common/system.h b/common/system.h index 7df4a124e3..6846b7b9dd 100644 --- a/common/system.h +++ b/common/system.h @@ -343,7 +343,7 @@ public: */ virtual int getGraphicsMode() const = 0; -#ifdef ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR /** * Set the color format of the virtual screen. Typical formats include: * CLUT8 (e.g. 256 color, for most games) @@ -436,7 +436,7 @@ public: kTransactionAspectRatioFailed = (1 << 0), /**< Failed switchting aspect ratio correction mode */ kTransactionFullscreenFailed = (1 << 1), /**< Failed switchting fullscreen mode */ kTransactionModeSwitchFailed = (1 << 2), /**< Failed switchting the GFX graphics mode (setGraphicsMode) */ -#ifdef ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR kTransactionPixelFormatNotSupported = (1 << 4), /**< Failed setting the color format (function not yet implemented) */ #endif kTransactionSizeChangeFailed = (1 << 3) /**< Failed switchting the screen dimensions (initSize) */ @@ -720,7 +720,7 @@ public: * @param cursorTargetScale scale factor which cursor is designed for */ virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int cursorTargetScale = 1) = 0; -#ifdef ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR virtual void setCursorFormat(Graphics::PixelFormat format) = 0; #endif |