service/vi: Stub IHOSBinderDriver::TransactParcel GetBufferHistory (#7184)

This commit is contained in:
Feng Chen 2021-10-16 06:50:45 +08:00 committed by GitHub
parent dc385b7392
commit de81571289
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -524,7 +524,9 @@ private:
Disconnect = 11, Disconnect = 11,
AllocateBuffers = 13, AllocateBuffers = 13,
SetPreallocatedBuffer = 14 SetPreallocatedBuffer = 14,
GetBufferHistory = 17
}; };
void TransactParcel(Kernel::HLERequestContext& ctx) { void TransactParcel(Kernel::HLERequestContext& ctx) {
@ -641,6 +643,14 @@ private:
ctx.WriteBuffer(response.Serialize()); ctx.WriteBuffer(response.Serialize());
break; break;
} }
case TransactionId::GetBufferHistory: {
LOG_WARNING(Service_VI, "(STUBBED) called, transaction=GetBufferHistory");
[[maybe_unused]] const auto buffer = ctx.ReadBuffer();
IGBPEmptyResponseParcel response{};
ctx.WriteBuffer(response.Serialize());
break;
}
default: default:
ASSERT_MSG(false, "Unimplemented"); ASSERT_MSG(false, "Unimplemented");
} }