mirror of
https://codeberg.org/yuzu-emu/yuzu.git
synced 2025-12-16 12:09:04 +00:00
Fixed minor issues from previous PR related to buffers and a typo in npns
This commit is contained in:
parent
8b6b7ab647
commit
662ce7f3a0
@ -143,9 +143,9 @@ private:
|
||||
u64 friend_request_reception;
|
||||
char friend_code[0x20];
|
||||
u64 friend_code_next_issuable_time;
|
||||
u8 unk_x48[0x7C8];
|
||||
u8 unk_x48[0x7B8];
|
||||
};
|
||||
static_assert(sizeof(FriendsUserSetting) == 0x810, "FriendsUserSetting is an invalid size");
|
||||
static_assert(sizeof(FriendsUserSetting) == 0x800, "FriendsUserSetting is an invalid size");
|
||||
|
||||
void GetCompletionEvent(HLERequestContext& ctx) {
|
||||
LOG_DEBUG(Service_Friend, "called");
|
||||
@ -247,9 +247,11 @@ private:
|
||||
void GetReceivedFriendRequestCount(HLERequestContext& ctx) {
|
||||
LOG_DEBUG(Service_Friend, "(STUBBED) called");
|
||||
|
||||
u8 buf[0xe0]{};
|
||||
ctx.WriteBuffer(buf);
|
||||
|
||||
IPC::ResponseBuilder rb{ctx, 3};
|
||||
rb.Push(ResultSuccess);
|
||||
rb.Push(0);
|
||||
}
|
||||
|
||||
void GetPlayHistoryStatistics(HLERequestContext& ctx) {
|
||||
|
||||
@ -24,7 +24,7 @@ public:
|
||||
{4, nullptr, "ReceiveRaw"},
|
||||
{5, C<&INpnsSystem::GetReceiveEvent>, "GetReceiveEvent"},
|
||||
{6, nullptr, "ListenUndelivered"},
|
||||
{7, nullptr, "GetStateChangeEVent"},
|
||||
{7, nullptr, "GetStateChangeEvent"},
|
||||
{11, nullptr, "SubscribeTopic"},
|
||||
{12, nullptr, "UnsubscribeTopic"},
|
||||
{13, nullptr, "QueryIsTopicExist"},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user