mirror of
https://github.com/izzy2lost/xenia-edge.git
synced 2026-07-06 00:20:26 -07:00
[XMA] treat frame_size 0 as end-of-packet padding (XMA1 compat)
This commit is contained in:
@@ -615,7 +615,7 @@ const kPacketInfo XmaContextNew::GetPacketInfo(uint8_t* packet,
|
||||
}
|
||||
|
||||
const uint64_t frame_size = stream.Peek(kBitsPerFrameHeader);
|
||||
if (frame_size == xma::kMaxFrameLength) {
|
||||
if (frame_size == 0 || frame_size == xma::kMaxFrameLength) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user