diff options
author | mailwl <mailwl@gmail.com> | 2018-02-22 11:04:23 +0100 |
---|---|---|
committer | mailwl <mailwl@gmail.com> | 2018-02-22 11:04:23 +0100 |
commit | 910198a29a7d9679d4286a337aa223543545e798 (patch) | |
tree | dd17c952c72b055df24cd11cf923dff3980400df /src/core/hle/service/sockets/bsd_u.cpp | |
parent | Merge pull request #211 from shinyquagsire23/time_local (diff) | |
download | yuzu-910198a29a7d9679d4286a337aa223543545e798.tar yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.gz yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.bz2 yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.lz yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.xz yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.zst yuzu-910198a29a7d9679d4286a337aa223543545e798.zip |
Diffstat (limited to 'src/core/hle/service/sockets/bsd_u.cpp')
-rw-r--r-- | src/core/hle/service/sockets/bsd_u.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/service/sockets/bsd_u.cpp b/src/core/hle/service/sockets/bsd_u.cpp index 629ffb040..2ca1000ca 100644 --- a/src/core/hle/service/sockets/bsd_u.cpp +++ b/src/core/hle/service/sockets/bsd_u.cpp @@ -17,6 +17,15 @@ void BSD_U::RegisterClient(Kernel::HLERequestContext& ctx) { rb.Push<u32>(0); // bsd errno } +void BSD_U::StartMonitoring(Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service, "(STUBBED) called"); + + IPC::ResponseBuilder rb{ctx, 3}; + + rb.Push(RESULT_SUCCESS); + rb.Push<u32>(0); // bsd errno +} + void BSD_U::Socket(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; @@ -67,6 +76,7 @@ void BSD_U::Close(Kernel::HLERequestContext& ctx) { BSD_U::BSD_U() : ServiceFramework("bsd:u") { static const FunctionInfo functions[] = {{0, &BSD_U::RegisterClient, "RegisterClient"}, + {1, &BSD_U::StartMonitoring, "StartMonitoring"}, {2, &BSD_U::Socket, "Socket"}, {11, &BSD_U::SendTo, "SendTo"}, {14, &BSD_U::Connect, "Connect"}, |