diff options
author | 2014-02-18 08:05:44 +0000 | |
---|---|---|
committer | 2014-02-18 08:05:44 +0000 | |
commit | 3e2995cbba04d05365e28c52e743ceed8981a5cf (patch) | |
tree | 56bfadb6768b2a2f284387f382c13bed41824d5e /src/mess/video/ef9345.c | |
parent | 847cecbadc820d12e1e7816bfcbb45f931a5f0e1 (diff) |
Converted palette_t and palette_client to classes. General palette.c
cleanup.
Diffstat (limited to 'src/mess/video/ef9345.c')
-rw-r--r-- | src/mess/video/ef9345.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/video/ef9345.c b/src/mess/video/ef9345.c index adc62c6e56d..abb84049a49 100644 --- a/src/mess/video/ef9345.c +++ b/src/mess/video/ef9345.c @@ -206,7 +206,7 @@ void ef9345_device::draw_char_40(UINT8 *c, UINT16 x, UINT16 y) if (y * 10 >= m_screen->height() || x * 8 >= m_screen->width()) return; - const rgb_t *palette = palette_entry_list_raw(m_screen_out.palette()); + const rgb_t *palette = m_screen_out.palette()->entry_list_raw(); for(int i = 0; i < 10; i++) for(int j = 0; j < 8; j++) m_screen_out.pix32(y * 10 + i, x * 8 + j) = palette[c[8 * i + j] & 0x07]; @@ -219,7 +219,7 @@ void ef9345_device::draw_char_80(UINT8 *c, UINT16 x, UINT16 y) if (y * 10 >= m_screen->height() || x * 6 >= m_screen->width()) return; - const rgb_t *palette = palette_entry_list_raw(m_screen_out.palette()); + const rgb_t *palette = m_screen_out.palette()->entry_list_raw(); for(int i = 0; i < 10; i++) for(int j = 0; j < 6; j++) m_screen_out.pix32(y * 10 + i, x * 6 + j) = palette[c[6 * i + j] & 0x07]; |