Merge pull request #7610 from sum2012/atrac-minor-

Add remain frame information in sceAtracGetRemainFrame
This commit is contained in:
Henrik Rydgård committed 2015-03-18 16:24:56 +01:00
commit fd2ff57ce8
1 file changed
+1 -1
+1 -1
View File
@@ -1189,7 +1189,7 @@ static u32 sceAtracGetRemainFrame(int atracID, u32 remainAddr) {
ERROR_LOG(ME, "sceAtracGetRemainFrame(%i, %08x): no data", atracID, remainAddr);
return ATRAC_ERROR_NO_DATA;
} else {
DEBUG_LOG(ME, "sceAtracGetRemainFrame(%i, %08x)", atracID, remainAddr);
DEBUG_LOG(ME, "sceAtracGetRemainFrame(%i, %08x[%d])", atracID, remainAddr, atrac->getRemainFrames());
if (Memory::IsValidAddress(remainAddr)) {
Memory::Write_U32(atrac->getRemainFrames(), remainAddr);
}