From e6a50a13717394b07c2391c33bd3c878519093d8 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 3 Jan 2015 10:40:21 -0800 Subject: [PATCH] Initialize vfpu regs are NAN, not 0.0. This matches tests, the fpu, and seems logical. --- Core/HLE/sceKernelThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/sceKernelThread.cpp b/Core/HLE/sceKernelThread.cpp index 6a0fd56547..197a4559b6 100644 --- a/Core/HLE/sceKernelThread.cpp +++ b/Core/HLE/sceKernelThread.cpp @@ -1982,7 +1982,7 @@ void ThreadContext::reset() r[0] = 0; for (int i = 0; i<128; i++) { - v[i] = 0.0f; + vi[i] = 0x7f800001; } for (int i = 0; i<15; i++) {