mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix some atrac warnings
Shouldn't be returning uninited vars, just in case..
This commit is contained in:
parent
b077caf3cf
commit
b45c9a2747
1 changed files with 4 additions and 7 deletions
|
@ -58,9 +58,8 @@ u32 sceAtracEndEntry()
|
||||||
|
|
||||||
u32 sceAtracGetAtracID(int codecType)
|
u32 sceAtracGetAtracID(int codecType)
|
||||||
{
|
{
|
||||||
int id;
|
|
||||||
ERROR_LOG(HLE, "UNIMPL sceAtracGetAtracID(%i)", codecType);
|
ERROR_LOG(HLE, "UNIMPL sceAtracGetAtracID(%i)", codecType);
|
||||||
return id;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 sceAtracGetBufferInfoForReseting(int atracID, int sample, u32 bufferInfoAddr)
|
u32 sceAtracGetBufferInfoForReseting(int atracID, int sample, u32 bufferInfoAddr)
|
||||||
|
@ -178,16 +177,14 @@ u32 sceAtracSetData(int atracID, u32 buffer, u32 bufferSize)
|
||||||
|
|
||||||
int sceAtracSetDataAndGetID(u32 buffer, u32 bufferSize)
|
int sceAtracSetDataAndGetID(u32 buffer, u32 bufferSize)
|
||||||
{
|
{
|
||||||
int id;
|
ERROR_LOG(HLE, "UNIMPL sceAtracSetDataAndGetID(%08x, %08x)", buffer, bufferSize);
|
||||||
ERROR_LOG(HLE, "UNIMPL sceAtracSetDataAndGetID(%i, %08x, %08x)", buffer, bufferSize);
|
return 0;
|
||||||
return id;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int sceAtracSetHalfwayBufferAndGetID(int atracID, u32 halfBuffer, u32 readSize, u32 halfBufferSize)
|
int sceAtracSetHalfwayBufferAndGetID(int atracID, u32 halfBuffer, u32 readSize, u32 halfBufferSize)
|
||||||
{
|
{
|
||||||
int id;
|
|
||||||
ERROR_LOG(HLE, "UNIMPL sceAtracSetHalfwayBufferAndGetID(%i, %08x, %08x, %08x)", atracID, halfBuffer, readSize, halfBufferSize);
|
ERROR_LOG(HLE, "UNIMPL sceAtracSetHalfwayBufferAndGetID(%i, %08x, %08x, %08x)", atracID, halfBuffer, readSize, halfBufferSize);
|
||||||
return id;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 sceAtracStartEntry()
|
u32 sceAtracStartEntry()
|
||||||
|
|
Loading…
Add table
Reference in a new issue