[APU] Fixed logged frame count
Until now info about frames that were provided in log was always incorrect by 1
This commit is contained in:
parent
82ccdd3db5
commit
c9cd6f15fc
|
@ -696,7 +696,7 @@ void XmaContext::Decode(XMA_CONTEXT_DATA* data) {
|
|||
XELOGAPU(
|
||||
"XmaContext {}: Next Offset: {} (Frame: {}/{} Packet: {}/{} Packet "
|
||||
"Skip: {} - {})",
|
||||
id(), offset, frame_idx, frame_count, packet_idx,
|
||||
id(), offset, frame_idx, frame_count - 1, packet_idx,
|
||||
current_input_packet_count, xma::GetPacketSkipCount(packet),
|
||||
data->input_buffer_read_offset);
|
||||
if (frame_idx + 1 >= frame_count) {
|
||||
|
|
Loading…
Reference in New Issue