Search
lxdream.org :: lxdream/src/sh4/sh4.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.c
changeset 823:8a592668322f
prev822:6e0536758465
next841:808d64b05073
author nkeynes
date Sun Aug 24 01:40:58 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Mask fpscr correctly as well while we're in there
file annotate diff log raw
1.1 --- a/src/sh4/sh4.c Sat Aug 23 12:08:01 2008 +0000
1.2 +++ b/src/sh4/sh4.c Sun Aug 24 01:40:58 2008 +0000
1.3 @@ -339,7 +339,7 @@
1.4 if( (sh4r.fpscr ^ newval) & FPSCR_FR ) {
1.5 sh4_switch_fr_banks();
1.6 }
1.7 - sh4r.fpscr = newval;
1.8 + sh4r.fpscr = newval & FPSCR_MASK;
1.9 }
1.10
1.11 uint32_t sh4_read_sr( void )
.