diff options
Diffstat (limited to 'src/devices/video/zeus2.h')
-rw-r--r-- | src/devices/video/zeus2.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/devices/video/zeus2.h b/src/devices/video/zeus2.h index 5d6cfe4fafc..960eefbd8c6 100644 --- a/src/devices/video/zeus2.h +++ b/src/devices/video/zeus2.h @@ -137,8 +137,6 @@ public: float zeus_point2[3]; uint32_t zeus_texbase; int zeus_quad_size; - uint32_t m_renderAddr; - bool m_thegrid; uint32_t *waveram; std::unique_ptr<uint32_t[]> m_frameColor; @@ -154,6 +152,9 @@ public: int texel_width; float zbase; + enum { THEGRID, CRUSNEXO, MWSKINS }; + int m_system; + protected: // device-level overrides virtual void device_start() override; @@ -185,7 +186,6 @@ private: int m_yScale; - #if TRACK_REG_USAGE struct reg_info { @@ -298,6 +298,11 @@ public: return ((color & 0x7c00) << 9) | ((color & 0x3e0) << 6) | ((color & 0x1f) << 3); } + inline uint32_t conv_rgb565_to_rgb32(uint16_t color) + { + return ((color & 0x7c00) << 9) | ((color & 0x3e0) << 6) | ((color & 0x8000) >> 5) | ((color & 0x1f) << 3); + } + #ifdef UNUSED_FUNCTION inline void WAVERAM_plot(int y, int x, uint32_t color) { |