Fix issue with most D3D plugins

Basically, D3DCreate() changes the FPU precision to 24bit unless
D3DCREATE_FPU_PRESERVE is enabled, which I don't think any D3D plugin
does, besides maybe Jabo's.
This commit is contained in:
LegendOfDragoon 2015-09-23 20:05:39 -07:00
parent 315027b7fb
commit 8d64ee7ca3
1 changed files with 6 additions and 0 deletions

View File

@ -561,6 +561,9 @@ void CN64System::PluginReset()
{
m_SyncCPU->m_Plugins->RomOpened();
}
#ifndef _WIN64
_controlfp(_PC_53, _MCW_PC);
#endif
}
void CN64System::Reset (bool bInitReg, bool ClearMenory)
@ -909,6 +912,9 @@ void CN64System::ExecuteCPU()
{
m_SyncCPU->m_Plugins->RomOpened();
}
#ifndef _WIN64
_controlfp(_PC_53, _MCW_PC);
#endif
switch ((CPU_TYPE)g_Settings->LoadDword(Game_CpuType))
{