mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
HLE: Fix some type convert warnings.
Almost missed these.
This commit is contained in:
1 parent
2479d52202
commit
edcc1a7104
2 files changed
+2
-2
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user