mirror of https://github.com/PCSX2/pcsx2.git
fixed a bug when using the "roundmode hacks" by patch files.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@75 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
parent
3bd19c5c7b
commit
31fc6fd4bf
|
@ -631,8 +631,8 @@ void patchFunc_zerogs(char* cmd, char* param)
|
|||
|
||||
void SetRoundMode(u32 ee, u32 vu)
|
||||
{
|
||||
// don't set a state for interpreter only
|
||||
// don't set a state for interpreter only
|
||||
#ifndef PCSX2_NORECBUILD
|
||||
SetCPUState(0x9f80|ee, 0x9f80|vu);
|
||||
SetCPUState( (g_sseMXCSR & ~6000) | ee, (g_sseVUMXCSR & ~6000) | vu);
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -90,6 +90,9 @@ int AddPatch(int Mode, int Place, int Address, int Size, u64 data);
|
|||
|
||||
void SetFastMemory(int); // iR5900LoadStore.c
|
||||
void SetVUNanMemory(int); // iVUmicro.c
|
||||
|
||||
extern u32 g_sseMXCSR;
|
||||
extern u32 g_sseVUMXCSR;
|
||||
void SetCPUState(u32 sseMXCSR, u32 sseVUMXCSR);
|
||||
|
||||
void SetRoundMode(u32 ee, u32 vu);
|
||||
|
|
|
@ -58,9 +58,6 @@ static int efile;
|
|||
char filename[256];
|
||||
extern int g_SaveGSStream;
|
||||
|
||||
extern u32 g_sseMXCSR;
|
||||
extern u32 g_sseVUMXCSR;
|
||||
|
||||
static int AccBreak = 0;
|
||||
int needReset = 1;
|
||||
unsigned int langsMax;
|
||||
|
|
Loading…
Reference in New Issue