Make the rounding mode setting explicit in osInitialize (#2497)

This commit is contained in:
Tharo 2025-03-27 04:24:30 +00:00 committed by GitHub
parent 65b317abc3
commit 7972967a8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ void OSINITIALIZE_FUNC(void) {
__osFinalrom = true;
__osSetSR(__osGetSR() | SR_CU1);
__osSetFpcCsr(FPCSR_FS | FPCSR_EV);
__osSetFpcCsr(FPCSR_FS | FPCSR_EV | FPCSR_RM_RN);
#if LIBULTRA_VERSION >= LIBULTRA_VERSION_K
__osSetWatchLo(0x04900000);
#endif