mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Set DAZ and FTZ
This commit is contained in:
parent
5d15d64ec8
commit
737db90058
2 changed files with 12 additions and 0 deletions
|
|
@ -508,6 +508,12 @@ void ppu_thread::cpu_task()
|
|||
{
|
||||
std::fesetround(FE_TONEAREST);
|
||||
|
||||
if (g_cfg.core.ppu_decoder != ppu_decoder_type::precise)
|
||||
{
|
||||
// Set DAZ and FTZ
|
||||
_mm_setcsr(_mm_getcsr() | 0x8840);
|
||||
}
|
||||
|
||||
// Execute cmd_queue
|
||||
while (cmd64 cmd = cmd_wait())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue