From 4a4f6df792792c35f5d4675c29d101a376f55116 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Fri, 20 Jan 2023 23:20:55 +0000 Subject: [PATCH] Stub GetBufferHistory transaction --- .../skyline/services/hosbinder/GraphicBufferProducer.cpp | 6 ++++++ .../cpp/skyline/services/hosbinder/GraphicBufferProducer.h | 1 + 2 files changed, 7 insertions(+) diff --git a/app/src/main/cpp/skyline/services/hosbinder/GraphicBufferProducer.cpp b/app/src/main/cpp/skyline/services/hosbinder/GraphicBufferProducer.cpp index 4b4c50c4..ef2c1591 100644 --- a/app/src/main/cpp/skyline/services/hosbinder/GraphicBufferProducer.cpp +++ b/app/src/main/cpp/skyline/services/hosbinder/GraphicBufferProducer.cpp @@ -706,6 +706,12 @@ namespace skyline::service::hosbinder { break; } + case TransactionCode::GetBufferHistory: { + // Unimplemented for now + out.Push(AndroidStatus::Ok); + break; + } + default: throw exception("An unimplemented transaction was called: {}", static_cast(code)); } diff --git a/app/src/main/cpp/skyline/services/hosbinder/GraphicBufferProducer.h b/app/src/main/cpp/skyline/services/hosbinder/GraphicBufferProducer.h index f598db3c..b5a00234 100644 --- a/app/src/main/cpp/skyline/services/hosbinder/GraphicBufferProducer.h +++ b/app/src/main/cpp/skyline/services/hosbinder/GraphicBufferProducer.h @@ -187,6 +187,7 @@ namespace skyline::service::hosbinder { SetSidebandStream = 12, AllocateBuffers = 13, SetPreallocatedBuffer = 14, //!< A transaction specific to HOS, see the implementation for a description of its functionality + GetBufferHistory = 17, }; GraphicBufferProducer(const DeviceState &state, nvdrv::core::NvMap &nvmap);