summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2026-01-31 11:39:11 +0100
committer hap <happppp@users.noreply.github.com>2026-01-31 11:39:48 +0100
commitd78d98dbe7d13a43d7f3f30834acf94ec0b73f91 (patch)
tree626bae2781baa8c52031544fed73d8f62e0f2e3c
parent0a9331b2f3cc0bb89a5f905b9f59a223dc8fcc23 (diff)
docastle: normalize blue color channel
-rw-r--r--src/mame/universal/docastle.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/universal/docastle.cpp b/src/mame/universal/docastle.cpp
index 1b3c04e019d..43a0cb345ff 100644
--- a/src/mame/universal/docastle.cpp
+++ b/src/mame/universal/docastle.cpp
@@ -416,10 +416,9 @@ void docastle_state::palette(palette_device &palette) const
int const g = 0x23 * bit0 + 0x4b * bit1 + 0x91 * bit2;
// blue component
- bit0 = 0;
- bit1 = BIT(color_prom[i], 0);
- bit2 = BIT(color_prom[i], 1);
- int const b = 0x23 * bit0 + 0x4b * bit1 + 0x91 * bit2;
+ bit0 = BIT(color_prom[i], 0);
+ bit1 = BIT(color_prom[i], 1);
+ int const b = 0x52 * bit0 + 0xad * bit1;
/* because the graphics are decoded as 4bpp with the top bit used for transparency
or priority, we create matching 3bpp sets of palette entries, which effectively
@@ -1649,12 +1648,14 @@ GAME( 1983, docastle, 0, docastle, docastle, docastle_state, empty_init
GAME( 1983, docastle2, docastle, docastle, docastle, docastle_state, empty_init, ROT270, "Universal", "Mr. Do's Castle (set 2)", MACHINE_SUPPORTS_SAVE )
GAME( 1983, docastleo, docastle, docastle, docastle, docastle_state, empty_init, ROT270, "Universal", "Mr. Do's Castle (older)", MACHINE_SUPPORTS_SAVE )
GAME( 1983, douni, docastle, docastle, docastle, docastle_state, empty_init, ROT270, "Universal", "Mr. Do! vs. Unicorns (Japan)", MACHINE_SUPPORTS_SAVE )
+
GAME( 1984, dorunrun, 0, dorunrun, dorunrun, dorunrun_state, empty_init, ROT0, "Universal", "Do! Run Run (set 1)", MACHINE_SUPPORTS_SAVE )
GAME( 1984, dorunrun2, dorunrun, dorunrun, dorunrun, dorunrun_state, empty_init, ROT0, "Universal", "Do! Run Run (set 2)", MACHINE_SUPPORTS_SAVE )
GAME( 1984, dorunrunc, dorunrun, docastle, dorunrun, docastle_state, empty_init, ROT0, "Universal", "Do! Run Run (Do's Castle hardware, set 1)", MACHINE_SUPPORTS_SAVE )
GAME( 1984, dorunrunca, dorunrun, docastle, dorunrun, docastle_state, empty_init, ROT0, "Universal", "Do! Run Run (Do's Castle hardware, set 2)", MACHINE_SUPPORTS_SAVE )
GAME( 1984, runrun, dorunrun, docastle, runrun, docastle_state, empty_init, ROT0, "bootleg", "Run Run (Do! Run Run bootleg)", MACHINE_SUPPORTS_SAVE )
GAME( 1987, spiero, dorunrun, dorunrun, dorunrun, dorunrun_state, empty_init, ROT0, "Universal", "Super Pierrot (Japan)", MACHINE_SUPPORTS_SAVE )
+
GAME( 1984, dowild, 0, dorunrun, dowild, dorunrun_state, empty_init, ROT0, "Universal", "Mr. Do's Wild Ride", MACHINE_SUPPORTS_SAVE )
GAME( 1984, jjack, 0, dorunrun, jjack, dorunrun_state, empty_init, ROT270, "Universal", "Jumping Jack", MACHINE_SUPPORTS_SAVE )
GAME( 1984, kickridr, 0, dorunrun, kickridr, dorunrun_state, empty_init, ROT0, "Universal", "Kick Rider", MACHINE_SUPPORTS_SAVE )