HLE: Fix some type convert warnings.

Almost missed these.
This commit is contained in:
Unknown W. Brackets committed 2022-01-30 22:06:54 -08:00
1 parent 2479d52202
commit edcc1a7104
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ int PowerCpuMhzToHz(int desired, int pllHz) {
}
// We match the PSP's HLE funcs better when we have the same float error, it seems.
return (float)(freq / 1000000.0f) * 1000000;
return (int)((float)(freq / 1000000.0f) * 1000000);
}
int PowerPllMhzToHz(int mhz) {