diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-09-18 16:16:52 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-09-18 16:16:52 +0200 |
commit | 528e5cee670b56e1e67068cfb680c33b6e8722c6 (patch) | |
tree | c5a79f242006bfa6dc39634b85992b6743b9ee89 /src/core | |
parent | Merge pull request #1290 from FernandoS27/shader-header (diff) | |
download | yuzu-528e5cee670b56e1e67068cfb680c33b6e8722c6.tar yuzu-528e5cee670b56e1e67068cfb680c33b6e8722c6.tar.gz yuzu-528e5cee670b56e1e67068cfb680c33b6e8722c6.tar.bz2 yuzu-528e5cee670b56e1e67068cfb680c33b6e8722c6.tar.lz yuzu-528e5cee670b56e1e67068cfb680c33b6e8722c6.tar.xz yuzu-528e5cee670b56e1e67068cfb680c33b6e8722c6.tar.zst yuzu-528e5cee670b56e1e67068cfb680c33b6e8722c6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/acc/acc.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp index 1502dbf55..4d4eb542e 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp @@ -34,7 +34,7 @@ public: static const FunctionInfo functions[] = { {0, &IProfile::Get, "Get"}, {1, &IProfile::GetBase, "GetBase"}, - {10, nullptr, "GetImageSize"}, + {10, &IProfile::GetImageSize, "GetImageSize"}, {11, &IProfile::LoadImage, "LoadImage"}, }; RegisterHandlers(functions); @@ -93,6 +93,14 @@ private: rb.Push<u32>(jpeg_size); } + void GetImageSize(Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service_ACC, "(STUBBED) called"); + constexpr u32 jpeg_size = 107; + IPC::ResponseBuilder rb{ctx, 3}; + rb.Push(RESULT_SUCCESS); + rb.Push<u32>(jpeg_size); + } + const ProfileManager& profile_manager; UUID user_id; ///< The user id this profile refers to. }; |