minor update to the game fixes dialog

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@83 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
cottonvibes 2008-09-01 19:48:37 +00:00 committed by Gregory Hainaut
parent 77381da985
commit 38d3773aa7
2 changed files with 3 additions and 2 deletions

View File

@ -731,6 +731,9 @@ BOOL APIENTRY GameFixes(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Config.GameFixes = 0;
Config.GameFixes |= IsDlgButtonChecked(hDlg, IDC_ROUNDMODE) ? 0x1 : 0;
if (Config.GameFixes & 0x1) g_sseMXCSR |= 0x6000;
SetCPUState(g_sseMXCSR, g_sseVUMXCSR);
SaveConfig();
EndDialog(hDlg, TRUE);

View File

@ -1461,8 +1461,6 @@ void SetCPUState(u32 sseMXCSR, u32 sseVUMXCSR)
sseVUMXCSR &= 0xffff;
if( cpucaps.hasStreamingSIMDExtensions ) {
if(Config.GameFixes & 0x1) g_sseMXCSR = 0xffc0;
else g_sseMXCSR = sseMXCSR;
g_sseVUMXCSR = sseVUMXCSR;
// do NOT set Denormals-Are-Zero flag (charlie and chocfac messes up)