Search
lxdream.org :: lxdream/src/gdrom/nrg.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/nrg.c
changeset 1075:1a21750d300c
prev1030:864417a57662
author nkeynes
date Tue Dec 15 08:46:37 2009 +1000 (14 years ago)
permissions -rw-r--r--
last change Add side-by-side x86+sh4 disassembly output
Print SH4 state information and disassembly of the current block when
crashing.
Fix delay slot instruction in conditional branch not being marked as a
delay-slot instruction in the branch-not-taken path.
Rename REG_* defines in cpu.h to avoid conflict with translation defs
file annotate diff log raw
1.1 --- a/src/gdrom/nrg.c Mon Jun 22 01:13:16 2009 +0000
1.2 +++ b/src/gdrom/nrg.c Tue Dec 15 08:46:37 2009 +1000
1.3 @@ -197,10 +197,8 @@
1.4 fseek( f, -12, SEEK_END );
1.5 fread( &footer, sizeof(footer), 1, f );
1.6 if( GUINT32_FROM_BE(footer.v50.id) == NERO_V50_ID ) {
1.7 - INFO( "Loading Nero 5.0 image" );
1.8 fseek( f, GUINT32_FROM_BE(footer.v50.offset), SEEK_SET );
1.9 } else if( GUINT32_FROM_BE(footer.v55.id) == NERO_V55_ID ) {
1.10 - INFO( "Loading Nero 5.5+ image" );
1.11 fseek( f, (uint32_t)GUINT64_FROM_BE(footer.v55.offset), SEEK_SET );
1.12 } else {
1.13 /* Not a (recognized) Nero image */
.