Fix sceNpBasicLimited_0xEB42E2E6

This commit is contained in:
RipleyTom
2026-01-29 05:37:51 +01:00
committed by Elad
parent 4df51025e5
commit 3e0cfc651d
3 changed files with 3 additions and 4 deletions

View File

@@ -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{};
};

View File

@@ -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);

View File

@@ -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;