Some useful fatalerrors

This commit is contained in:
Angelo Salese 2013-09-16 20:49:34 +00:00
parent 7facb42722
commit a7d12daf5b
4 changed files with 11 additions and 1 deletions

View file

@ -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 */

View file

@ -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):

View file

@ -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"

View file

@ -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;