The "sceAtracGetRemainFrame returning -1,"is come from
src\jpcsp\HLE\modules150\sceAtrac3plus.java
If you can compile source, you can start to try to fix yourself
src\jpcsp\HLE\modules150\sceAtrac3plus.java
Code:
@HLEFunction(nid = 0x9AE849A7, version = 150, checkInsideInterrupt = true)
public int sceAtracGetRemainFrame(@CheckArgument("checkAtracID") int atID, TPointer32 remainFramesAddr) {
if (log.isDebugEnabled()) {
log.debug(String.format("sceAtracGetRemainFrame atracID=0x%X, remainFramesAddr=%s", atID, remainFramesAddr));
}
if (!atracIDs.containsKey(atID)) {
log.warn("sceAtracGetRemainFrame: bad atracID= " + atID);
return SceKernelErrors.ERROR_ATRAC_BAD_ID;
}
AtracID id = atracIDs.get(atID);
int remainFrames = getRemainFrames(id);
remainFramesAddr.setValue(remainFrames);
if (log.isDebugEnabled()) {
log.debug(String.format("sceAtracGetRemainFrame returning %d, %s", remainFrames, id.toString()));
}
return 0;
}
(10-15-2012, 02:05 PM)digiadventures Wrote:(10-15-2012, 01:54 PM)sum2012 Wrote: (I have delete mipmap warning to make log smaller)
I notice no bpm after this line
Code:21:44:45 DEBUG hle.sceAtrac3plus - SoundDevice - sceAtracGetRemainFrame returning -1, AtracID[id=1, inputBufferAddr=0x0969A0E0, inputBufferSize=32272, inputBufferOffset=30524, inputBufferWritableBytes=0, inputBufferNeededBytes=0]
Yeah exactly when "sceAtracGetRemainFrame" disapears from the log,thats when music disappear too
I posted some logs and findings in US game thread