diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-08 03:04:55 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-08 03:04:55 +0200 |
commit | 72622a1b5a13083e1b4eda3d4584bfa2f04dc55c (patch) | |
tree | 1a230947b66fd7001c58f96a47f352532d64e4ec /src/core/hle/service/srv.cpp | |
parent | added kernel memory to mem_map (diff) | |
download | yuzu-72622a1b5a13083e1b4eda3d4584bfa2f04dc55c.tar yuzu-72622a1b5a13083e1b4eda3d4584bfa2f04dc55c.tar.gz yuzu-72622a1b5a13083e1b4eda3d4584bfa2f04dc55c.tar.bz2 yuzu-72622a1b5a13083e1b4eda3d4584bfa2f04dc55c.tar.lz yuzu-72622a1b5a13083e1b4eda3d4584bfa2f04dc55c.tar.xz yuzu-72622a1b5a13083e1b4eda3d4584bfa2f04dc55c.tar.zst yuzu-72622a1b5a13083e1b4eda3d4584bfa2f04dc55c.zip |
Diffstat (limited to 'src/core/hle/service/srv.cpp')
-rw-r--r-- | src/core/hle/service/srv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/srv.cpp b/src/core/hle/service/srv.cpp index 9437868c5..071741444 100644 --- a/src/core/hle/service/srv.cpp +++ b/src/core/hle/service/srv.cpp @@ -18,7 +18,7 @@ void Initialize(Service::Interface* self) { void GetServiceHandle(Service::Interface* self) { Syscall::Result res = 0; - u32* cmd_buff = (u32*)HLE::GetPointer(HLE::CMD_BUFFER_ADDR + Service::kCommandHeaderOffset); + u32* cmd_buff = Service::GetCommandBuffer(); std::string port_name = std::string((const char*)&cmd_buff[1], 0, Service::kMaxPortSize); Service::Interface* service = Service::g_manager->FetchFromPortName(port_name); |