Handling float rounding.

This commit is contained in:
Skyth
2024-09-22 00:07:15 +03:00
parent 4d6eac1c24
commit 1bfeb0a7c4
3 changed files with 85 additions and 78 deletions

View File

@@ -132,7 +132,7 @@ void TestRecompiler::RecompileTests(const char* srcDirectoryPath, const char* ds
std::println(file, "PPC_FUNC({});\n", symbol->second);
std::println(file, "void {}(uint8_t* base) {{", name);
std::println(file, "\tPPCContext ctx{{}};");
std::println(file, "\tctx.csr.storeValue();");
std::println(file, "\tctx.fpscr.loadFromGuest();");
while (getline() && !str.empty() && str[0] == '#')
{