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
|
struct sceNpBasicSendMessage_time_slots
|
||||||
{
|
{
|
||||||
|
sceNpBasicSendMessage_time_slots() = default;
|
||||||
sceNpBasicSendMessage_time_slots(sceNpBasicSendMessage_time_slots&&) = delete;
|
sceNpBasicSendMessage_time_slots(sceNpBasicSendMessage_time_slots&&) = delete;
|
||||||
std::array<u64, 20> data{};
|
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)
|
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\":", fmt::merge(npids, "\",\""));
|
||||||
|
|
||||||
rpcn_log.notice("Sending message to %s:", npids_string);
|
|
||||||
msg_data.print();
|
msg_data.print();
|
||||||
|
|
||||||
get_rpcn()->send_message(msg_data, npids);
|
get_rpcn()->send_message(msg_data, npids);
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ namespace np
|
|||||||
return std::nullopt;
|
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]));
|
id.num = std::stoi(std::string(split_id[1]));
|
||||||
|
|
||||||
return id;
|
return id;
|
||||||
|
|||||||
Reference in New Issue
Block a user