mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 01:29:41 +01:00
Add remain frame information in sceAtracGetRemainFrame
This commit is contained in:
1 parent
0dda098b2b
commit
86c76fc4dc
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user