summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/sanritsu/drmicro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/sanritsu/drmicro.cpp')
-rw-r--r--src/mame/sanritsu/drmicro.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/sanritsu/drmicro.cpp b/src/mame/sanritsu/drmicro.cpp
index 32836cf77ab..78cf0648760 100644
--- a/src/mame/sanritsu/drmicro.cpp
+++ b/src/mame/sanritsu/drmicro.cpp
@@ -128,10 +128,9 @@ void drmicro_state::palette(palette_device &palette) const
int const g = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2;
// blue component
- bit0 = 0;
- bit1 = BIT(color_prom[i], 6);
- bit2 = BIT(color_prom[i], 7);
- int const b = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2;
+ bit0 = BIT(color_prom[i], 6);
+ bit1 = BIT(color_prom[i], 7);
+ int const b = 0x52 * bit0 + 0xad * bit1;
palette.set_indirect_color(i, rgb_t(r, g, b));
}