mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-24 04:16:24 -05:00
Vi: Always write the IGBPBuffer in the RequestBuffer response parcel.
This may break libnx homebrew due to a bug in libnx but is required by official games since they always assume that the buffer will be there.
This commit is contained in:
parent
7a1917e0fd
commit
1b64160d83
1 changed files with 2 additions and 1 deletions
|
@ -325,7 +325,8 @@ protected:
|
||||||
void SerializeData() override {
|
void SerializeData() override {
|
||||||
// TODO(Subv): Figure out what this value means, writing non-zero here will make libnx try
|
// TODO(Subv): Figure out what this value means, writing non-zero here will make libnx try
|
||||||
// to read an IGBPBuffer object from the parcel.
|
// to read an IGBPBuffer object from the parcel.
|
||||||
Write<u32_le>(0);
|
Write<u32_le>(1);
|
||||||
|
WriteObject(buffer);
|
||||||
Write<u32_le>(0);
|
Write<u32_le>(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue