mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Implement at32() util
Works like .at() but uses source location for "exception".
This commit is contained in:
parent
2655255d4d
commit
6ff6a4989a
62 changed files with 472 additions and 452 deletions
|
|
@ -1939,7 +1939,7 @@ namespace rpcn
|
|||
{
|
||||
{
|
||||
std::lock_guard lock(mutex_messages);
|
||||
return messages.at(id);
|
||||
return ::at32(messages, id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1950,7 +1950,7 @@ namespace rpcn
|
|||
std::lock_guard lock(mutex_messages);
|
||||
for (auto id : active_messages)
|
||||
{
|
||||
const auto& entry = messages.at(id);
|
||||
const auto& entry = ::at32(messages, id);
|
||||
const auto& msg = entry->second;
|
||||
if (msg.mainType == type_filter && (include_bootable || !(msg.msgFeatures & SCE_NP_BASIC_MESSAGE_FEATURES_BOOTABLE)))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue