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:
Zephyron
2025-12-31 16:57:34 +10:00
parent 1274fcec3b
commit d8c1cad245

View File

@@ -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;