mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02: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
+1
-1
@@ -252,7 +252,7 @@ static u32 sceAacInit(u32 id)
|
||||
|
||||
aac->Channels = 2;
|
||||
aac->MaxOutputSample = aac->PCMBufSize / 4;
|
||||
aac->SetReadPos(aac->startPos);
|
||||
aac->SetReadPos((int)aac->startPos);
|
||||
aac->audioType = PSP_CODEC_AAC;
|
||||
|
||||
// create aac decoder
|
||||
|
||||
@@ -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