Search
lxdream.org :: lxdream/src/sh4/sh4core.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.in
changeset 758:99ae000d4e09
prev740:dd11269ee48b
next927:17b6b9e245d8
author nkeynes
date Mon Jul 21 00:37:13 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix compiler warnings
file annotate diff log raw
1.1 --- a/src/sh4/sh4core.in Wed Jul 16 10:40:10 2008 +0000
1.2 +++ b/src/sh4/sh4core.in Mon Jul 21 00:37:13 2008 +0000
1.3 @@ -1158,7 +1158,7 @@
1.4 FSCA FPUL, FRn {:
1.5 CHECKFPUEN();
1.6 if( !IS_FPU_DOUBLEPREC() ) {
1.7 - sh4_fsca( FPULi, &(DRF(FRn>>1)) );
1.8 + sh4_fsca( FPULi, (float *)&(DRF(FRn>>1)) );
1.9 /*
1.10 float angle = (((float)(FPULi&0xFFFF))/65536.0) * 2 * M_PI;
1.11 FR(FRn) = sinf(angle);
1.12 @@ -1169,7 +1169,7 @@
1.13 FTRV XMTRX, FVn {:
1.14 CHECKFPUEN();
1.15 if( !IS_FPU_DOUBLEPREC() ) {
1.16 - sh4_ftrv(&(DRF(FVn<<1)) );
1.17 + sh4_ftrv((float *)&(DRF(FVn<<1)) );
1.18 }
1.19 :}
1.20 UNDEF {:
.