From 0f606bcfb81db51e9eb52d0c8c184ad46478aa59 Mon Sep 17 00:00:00 2001 From: toxieainc Date: Tue, 3 Dec 2024 22:12:07 +0100 Subject: [PATCH] fix #380, Hyperball external segment/dmd rendering --- release/whatsnew.txt | 2 +- src/wpc/core.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/release/whatsnew.txt b/release/whatsnew.txt index 299206957..23cbc89eb 100644 --- a/release/whatsnew.txt +++ b/release/whatsnew.txt @@ -31,7 +31,7 @@ Fix crashes in debugger command handling Fix Capcom crashes in 64bit builds -Fix some external DMD alphanumeric mappings: GTS80B, GTS3, Hankin, Police Force, Riverboat Gambler, Algar, Alien Poker and 7 digit variants of Firepower +Fix some external DMD alphanumeric mappings: GTS80B, GTS3, Hankin, Police Force, Riverboat Gambler, Algar, Alien Poker, Hyperball and 7 digit variants of Firepower Added the emulation of physical bulbs & LEDs connected to binary outputs, for WPC, GTS3, SAM, Whitestar, Capcom, S9 and S11 hardware. This allows to dramatically improve e.g. lamp or flasher modulation (for example the pulsing lights below the princess of TOTAN, diff --git a/src/wpc/core.c b/src/wpc/core.c index a61a6d2be..e6ade75e6 100644 --- a/src/wpc/core.c +++ b/src/wpc/core.c @@ -893,8 +893,10 @@ core_segOverallLayout_t layoutAlphanumericFrame(UINT64 gen, UINT8 total_disp, UI layout = CORE_SEGLAYOUT_2x7Num_2x7Num_4x1Num_gen7; break; case GEN_S7: - //CORE_SEGLAYOUT_2x7Num_4x1Num_1x16Alpha; //!! hmm i did this for a reason?? - layout = CORE_SEGLAYOUT_2x7Num_2x7Num_4x1Num_gen7; + if (strncasecmp(GameName, "hypbl", 5) == 0) // Hyperball + layout = CORE_SEGLAYOUT_2x7Num_4x1Num_1x16Alpha; + else + layout = CORE_SEGLAYOUT_2x7Num_2x7Num_4x1Num_gen7; break; case GEN_S9: layout = CORE_SEGLAYOUT_2x7Num10_2x7Num10_4x1Num;