Fix some atrac warnings

Shouldn't be returning uninited vars, just in case..
This commit is contained in:
TMaul 2012-12-23 19:50:50 +00:00
parent b077caf3cf
commit b45c9a2747

View file

@ -58,9 +58,8 @@ u32 sceAtracEndEntry()
u32 sceAtracGetAtracID(int codecType)
{
int id;
ERROR_LOG(HLE, "UNIMPL sceAtracGetAtracID(%i)", codecType);
return id;
return 0;
}
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 id;
ERROR_LOG(HLE, "UNIMPL sceAtracSetDataAndGetID(%i, %08x, %08x)", buffer, bufferSize);
return id;
ERROR_LOG(HLE, "UNIMPL sceAtracSetDataAndGetID(%08x, %08x)", buffer, bufferSize);
return 0;
}
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);
return id;
return 0;
}
u32 sceAtracStartEntry()