summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-04-27 23:10:28 +0200
committerGitHub <noreply@github.com>2020-04-27 23:10:28 +0200
commit4dca2298f9563be8553a327d815a1d9565f92505 (patch)
treef685cce1be124fcf6b0458441ecb66b5d0d1c4bf /src/core/hle/service
parentMerge pull request #3766 from ReinUsesLisp/renderpass-cache-key (diff)
parentvi: Don't let uninitialized data pass as a response for SetBufferCount (diff)
downloadyuzu-4dca2298f9563be8553a327d815a1d9565f92505.tar
yuzu-4dca2298f9563be8553a327d815a1d9565f92505.tar.gz
yuzu-4dca2298f9563be8553a327d815a1d9565f92505.tar.bz2
yuzu-4dca2298f9563be8553a327d815a1d9565f92505.tar.lz
yuzu-4dca2298f9563be8553a327d815a1d9565f92505.tar.xz
yuzu-4dca2298f9563be8553a327d815a1d9565f92505.tar.zst
yuzu-4dca2298f9563be8553a327d815a1d9565f92505.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/vi/vi.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index 7f109f4eb..9390ca83d 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -267,7 +267,7 @@ protected:
private:
struct Data {
- u32_le unk_0;
+ u32_le unk_0{};
};
Data data{};
@@ -614,6 +614,14 @@ private:
ctx.WriteBuffer(response.Serialize());
break;
}
+ case TransactionId::SetBufferCount: {
+ LOG_WARNING(Service_VI, "(STUBBED) called, transaction=SetBufferCount");
+ [[maybe_unused]] const auto buffer = ctx.ReadBuffer();
+
+ IGBPEmptyResponseParcel response{};
+ ctx.WriteBuffer(response.Serialize());
+ break;
+ }
default:
ASSERT_MSG(false, "Unimplemented");
}