diff options
| author | lizzie <lizzie@eden-emu.dev> | 2026-01-06 22:44:57 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-01-06 22:44:57 +0100 |
| commit | 4cacf56cecb53bc5889d610542b01684d77d2e05 (patch) | |
| tree | db2da8cc022a8ae822455160adc5c6d99cfa5a75 /src/core/hle/service/service.cpp | |
| parent | c28b5ffc7d1645a2a7732a9790adfff6a3889c9f (diff) | |
[core/hle] implement Unknown330 and stub extra 20/15 missing funcs (#3269)
stub for IApplicationFunctions::Unknown330; stubs for BSD sockets values
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3269
Reviewed-by: DraVee <dravee@eden-emu.dev>
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src/core/hle/service/service.cpp')
| -rw-r--r-- | src/core/hle/service/service.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 43f8e150d4..b972b83e1a 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp @@ -19,16 +19,13 @@ namespace Service { /// @brief Creates a function string for logging, complete with the name (or header code, depending -/// on what's passed in) the port name, and all the cmd_buff arguments. -[[maybe_unused]] static std::string MakeFunctionString(std::string_view name, std::string_view port_name, const u32* cmd_buff) { +/// on what's passed in) the port name, and all the cmd_buf arguments. +[[maybe_unused]] static std::string MakeFunctionString(std::string_view name, std::string_view port_name, const u32* cmd_buf) { // Number of params == bits 0-5 + bits 6-11 - int num_params = (cmd_buff[0] & 0x3F) + ((cmd_buff[0] >> 6) & 0x3F); - - std::string function_string = fmt::format("function '{}': port={}", name, port_name); - + int num_params = (cmd_buf[0] & 0x3F) + ((cmd_buf[0] >> 6) & 0x3F); + std::string function_string = fmt::format("fn '{}': port={}", name, port_name); for (int i = 1; i <= num_params; ++i) - function_string += fmt::format(", cmd_buff[{}]={:#X}", i, cmd_buff[i]); - + function_string += fmt::format(", cmd_buf[{}]={:#X}", i, cmd_buf[i]); return function_string; } |
