mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-31 01:25:18 +01:00
Fix sceNpBasicLimited_0xEB42E2E6
This commit is contained in:
@@ -1173,6 +1173,7 @@ error_code _sceNpBasicSendMessage(vm::cptr<SceNpId> to, vm::cptr<void> data, u32
|
||||
{
|
||||
struct sceNpBasicSendMessage_time_slots
|
||||
{
|
||||
sceNpBasicSendMessage_time_slots() = default;
|
||||
sceNpBasicSendMessage_time_slots(sceNpBasicSendMessage_time_slots&&) = delete;
|
||||
std::array<u64, 20> data{};
|
||||
};
|
||||
|
||||
@@ -1085,9 +1085,7 @@ namespace np
|
||||
|
||||
void np_handler::send_message(const message_data& msg_data, const std::set<std::string>& npids)
|
||||
{
|
||||
const std::string npids_string = fmt::format("\"%s\"", fmt::merge(npids, "\",\""));
|
||||
|
||||
rpcn_log.notice("Sending message to %s:", npids_string);
|
||||
rpcn_log.notice("Sending message to \"%s\":", fmt::merge(npids, "\",\""));
|
||||
msg_data.print();
|
||||
|
||||
get_rpcn()->send_message(msg_data, npids);
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace np
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
strcpy_trunc(id.data, split_id);
|
||||
strcpy_trunc(id.data, split_id[0]);
|
||||
id.num = std::stoi(std::string(split_id[1]));
|
||||
|
||||
return id;
|
||||
|
||||
Reference in New Issue
Block a user