my mistake; this should really fix it :p

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@77 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
cottonvibes 2008-08-31 22:40:12 +00:00 committed by Gregory Hainaut
parent 17ffea9814
commit c278f5385f
1 changed files with 3 additions and 3 deletions

View File

@ -586,8 +586,8 @@ void patchFunc_roundmode( char * cmd, char * param )
int index;
char * pText;
u32 eetype=0x0000;
u32 vutype=0x6000;
u32 eetype = (g_sseMXCSR & 0x6000);
u32 vutype = (g_sseVUMXCSR & 0x6000);
index = 0;
pText = strtok( param, ", " );
@ -633,6 +633,6 @@ void SetRoundMode(u32 ee, u32 vu)
{
// don't set a state for interpreter only
#ifndef PCSX2_NORECBUILD
SetCPUState( (g_sseMXCSR & 9fff) | ee, (g_sseVUMXCSR & 9fff) | vu);
SetCPUState( (g_sseMXCSR & 0x9fff) | ee, (g_sseVUMXCSR & 0x9fff) | vu);
#endif
}