yuzu-emu
/
yuzu
Archived
1
0
Fork 0

IGBPRequestBufferResponseParcel: Fix response for libnx.

This commit is contained in:
bunnei 2018-02-09 21:42:08 -05:00
parent 1add3b20c4
commit 309276a317
1 changed files with 4 additions and 7 deletions

View File

@ -301,14 +301,11 @@ public:
protected:
void SerializeData() override {
// TODO(Subv): Find out what this all means
Write<u32_le>(1);
Write<u32_le>(sizeof(NVFlinger::IGBPBuffer));
Write<u32_le>(0); // Unknown
// TODO(bunnei): Find out what this all means. Writing anything non-zero here breaks libnx.
Write<u32_le>(0);
Write<u32_le>(0);
Write<u32_le>(0);
Write(buffer);
Write<u32_le>(0);
}