mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-22 17:46:08 -04:00
fix(service/nvnflinger): implement GetBufferHistory to prevent game hangs
Return empty buffer history list instead of stubbing to allow games to proceed past loading screens. Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -922,9 +922,12 @@ void BufferQueueProducer::Transact(u32 code, std::span<const u8> parcel_data,
|
||||
status = SetBufferCount(buffer_count);
|
||||
break;
|
||||
}
|
||||
case TransactionId::GetBufferHistory:
|
||||
LOG_WARNING(Service_Nvnflinger, "(STUBBED) called, transaction=GetBufferHistory");
|
||||
case TransactionId::GetBufferHistory: {
|
||||
const u32 history_count = 0;
|
||||
|
||||
parcel_out.Write(history_count);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
ASSERT_MSG(false, "Unimplemented TransactionId {}", code);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user