[XMA] Invalidate output buffer if there is nothing to process
- Fixes 565507E4 hardlock on boot
This commit is contained in:
committed by
Radosław Gliński
parent
505697f980
commit
7e98ae6de3
@@ -138,6 +138,10 @@ bool XmaContextNew::Work() {
|
||||
Consume(&output_rb, &data);
|
||||
data.output_buffer_write_offset =
|
||||
output_rb.write_offset() / kOutputBytesPerBlock;
|
||||
|
||||
if (output_rb.empty()) {
|
||||
data.output_buffer_valid = false;
|
||||
}
|
||||
StoreContextMerged(data, initial_data, context_ptr);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user