mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
fixed_typemap.hpp: return reference
This commit is contained in:
parent
bbf52f3cea
commit
ea5e837bd6
87 changed files with 3028 additions and 2997 deletions
|
|
@ -163,7 +163,7 @@ static std::vector<SaveDataEntry> get_save_entries(const std::string& base_dir,
|
|||
|
||||
static error_code select_and_delete(ppu_thread& ppu)
|
||||
{
|
||||
std::unique_lock lock(g_fxo->get<savedata_mutex>()->mutex, std::try_to_lock);
|
||||
std::unique_lock lock(g_fxo->get<savedata_mutex>().mutex, std::try_to_lock);
|
||||
|
||||
if (!lock)
|
||||
{
|
||||
|
|
@ -558,7 +558,7 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
|||
return {CELL_SAVEDATA_ERROR_PARAM, std::to_string(ecode)};
|
||||
}
|
||||
|
||||
std::unique_lock lock(g_fxo->get<savedata_mutex>()->mutex, std::try_to_lock);
|
||||
std::unique_lock lock(g_fxo->get<savedata_mutex>().mutex, std::try_to_lock);
|
||||
|
||||
if (!lock)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue