summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2013-09-16 20:49:34 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2013-09-16 20:49:34 +0000
commita7d12daf5b4c3374e8ad47a003ac7fff73d5c8fc (patch)
tree7271bdcc20584f98678667d25a104caa2f2fb303
parent7facb42722cbd4ece79a1d5b287856613861936d (diff)
Some useful fatalerrors
-rw-r--r--src/emu/cpu/sh4/sh4.c6
-rw-r--r--src/mame/drivers/naomi.c2
-rw-r--r--src/mame/video/powervr2.c2
-rw-r--r--src/mess/drivers/dccons.c2
4 files changed, 11 insertions, 1 deletions
diff --git a/src/emu/cpu/sh4/sh4.c b/src/emu/cpu/sh4/sh4.c
index 3c558550423..89feb5b51fc 100644
--- a/src/emu/cpu/sh4/sh4.c
+++ b/src/emu/cpu/sh4/sh4.c
@@ -2517,6 +2517,9 @@ const void FTRC(sh4_state *sh4, const UINT16 opcode)
UINT32 n = Rn;
if (sh4->fpu_pr) { /* PR = 1 */
+ if(n & 1)
+ fatalerror("SH-4: FTRC opcode used with n %d",n);
+
n = n & 14;
*((INT32 *)&sh4->fpul) = (INT32)FP_RFD(n);
} else { /* PR = 0 */
@@ -2532,6 +2535,9 @@ const void FLOAT(sh4_state *sh4, const UINT16 opcode)
UINT32 n = Rn;
if (sh4->fpu_pr) { /* PR = 1 */
+ if(n & 1)
+ fatalerror("SH-4: FLOAT opcode used with n %d",n);
+
n = n & 14;
FP_RFD(n) = (double)*((INT32 *)&sh4->fpul);
} else { /* PR = 0 */
diff --git a/src/mame/drivers/naomi.c b/src/mame/drivers/naomi.c
index 00976ab5380..7b3b93d32ce 100644
--- a/src/mame/drivers/naomi.c
+++ b/src/mame/drivers/naomi.c
@@ -22,7 +22,7 @@ Sega Naomi is Dreamcast based Arcade hardware.
Compatibility list (as per 26-jun-2013)
- sfz3ugd: currently dies at disclaimer screen (regression);
- sprtjam: garbage on initial attract mode screen (regression).
-- puyofev: hangs after pressing start.
+- puyofev: hangs after pressing start (bp 0C03F490, similar if not same snippet as Tetris 4d on DC).
- vtennisg: crashes after stage screen.
TODO (general):
diff --git a/src/mame/video/powervr2.c b/src/mame/video/powervr2.c
index f0ca955e6fe..73e5920d964 100644
--- a/src/mame/video/powervr2.c
+++ b/src/mame/video/powervr2.c
@@ -1476,6 +1476,8 @@ WRITE32_MEMBER( powervr2_device::ta_yuv_tex_ctrl_w )
ta_yuv_x_size = ((ta_yuv_tex_ctrl & 0x3f)+1)*16;
ta_yuv_y_size = (((ta_yuv_tex_ctrl>>8) & 0x3f)+1)*16;
logerror("%s: ta_yuv_tex_ctrl = %08x\n", tag(), ta_yuv_tex_ctrl);
+ if(ta_yuv_tex_ctrl & 0x01010000)
+ fatalerror("YUV with setting %08x",ta_yuv_tex_ctrl);
}
#include "debugger.h"
diff --git a/src/mess/drivers/dccons.c b/src/mess/drivers/dccons.c
index 5c13ab30634..f7bc3e87edc 100644
--- a/src/mess/drivers/dccons.c
+++ b/src/mess/drivers/dccons.c
@@ -22,7 +22,9 @@
- Inputs doesn't work most of the time;
- Candy Stripe: fills the log with "ATAPI_FEATURES_FLAG_OVL not supported", black screen
- Carrier: Jaleco logo uses YUV, but y size is halved?
+ - Close To: Hangs at FMV
- F355 Challenge: black screen after Sega logo;
+ - Gundam - Side Story 0079: currently hangs at Bandai logo (regression)
- Idol Janshi wo Tsukucchaou: pixel aspect is way wrong (stretched and offsetted horizontally)
- Power Stone: hangs at Capcom logo;
- Sega GT: no cursor on main menu;