Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04631 Crash/Freeze Critical (emulator) Always Jan 23, 2012, 20:46 Oct 20, 2012, 11:12
Tester Tafoid View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Fixed OS
Status [?] Resolved Driver
Version 0.144u6 Fixed in Version Build Debug
Fixed in Git Commit Github Pull Request #
Summary 04631: All sets in triforce.c and chihiro.c: [debug] Error: bad downcast<> or device<>.
Description 0.143u4 - 0.146u4
assert: src/emu/emucore.h:340: dynamic_cast<_Dest>(src) == src

0.146u5+
Error: bad downcast<> or device<>. Tried to convert the device :maincpu of type PowerPC 603 to a P10sh4_device, which are incompatible.
 (triforce.c)

Error: bad downcast<> or device<>. Tried to convert the device :maincpu of type Pentium III to a P10sh4_device, which are incompatible. (chihiro.c)
Steps To Reproduce
Additional Information In 0.146u5, the assert changed to:
Error: bad downcast<> or device<>. Tried to convert the device :maincpu of type PowerPC 603 to a P10sh4_device, which are incompatible. (triforce.c)

Error: bad downcast<> or device<>. Tried to convert the device :maincpu of type Pentium III to a P10sh4_device, which are incompatible. (chihiro.c)
Github Commit
Flags Debug build specific
Regression Version 0.143u4
Affected Sets / Systems All sets in triforce.c and chihiro.c
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.08912
Firewave
Senior Tester
Sep 19, 2012, 18:26
This is because there have been no efforts to support these variants and they just use the naomi code, which just uses the SH-4.
User avatar
No.09041
Osso
Moderator
Oct 20, 2012, 11:12
This doesn't happen with mkartagp, which is the only rom based game in both drivers. Therefore the problem should lie in the GD-ROM implementation.