summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFeng Chen <VonChenPlus@gmail.com>2021-10-16 06:50:45 +0800
committerGitHub <noreply@github.com>2021-10-15 18:50:45 -0400
commitde8157128912c3a4c160fb75c94ac9be7b107b98 (patch)
tree0f3bcce2d43e5c5e29854ad3ff8780d6dc7d90e1 /src
parentdc385b7392df2b2c301b6df908483beadbb5eb3b (diff)
service/vi: Stub IHOSBinderDriver::TransactParcel GetBufferHistory (#7184)
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/vi/vi.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index be3d52d54..439e7e472 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -524,7 +524,9 @@ private:
Disconnect = 11,
AllocateBuffers = 13,
- SetPreallocatedBuffer = 14
+ SetPreallocatedBuffer = 14,
+
+ GetBufferHistory = 17
};
void TransactParcel(Kernel::HLERequestContext& ctx) {
@@ -641,6 +643,14 @@ private:
ctx.WriteBuffer(response.Serialize());
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:
ASSERT_MSG(false, "Unimplemented");
}