mirror of https://github.com/RPCS3/rpcs3.git
Compilation fix
This commit is contained in:
parent
ddbd590bef
commit
31c71b4a48
|
@ -26,7 +26,7 @@ namespace sce_libc_func
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
psv_log_base& sceLibc = []()
|
psv_log_base& sceLibc = []() -> psv_log_base&
|
||||||
{
|
{
|
||||||
psv_log_base* module = new psv_log_base("sceLibc");
|
psv_log_base* module = new psv_log_base("sceLibc");
|
||||||
|
|
||||||
|
@ -326,5 +326,5 @@ psv_log_base& sceLibc = []()
|
||||||
//REG_FUNC(0x7D35108B, _FSnan);
|
//REG_FUNC(0x7D35108B, _FSnan);
|
||||||
//REG_FUNC(0x48AEEF2A, _LSnan);
|
//REG_FUNC(0x48AEEF2A, _LSnan);
|
||||||
|
|
||||||
return std::move(*module);
|
return *module;
|
||||||
}();
|
}();
|
||||||
|
|
|
@ -23,11 +23,11 @@ psv_func* get_psv_func_by_nid(u32 nid)
|
||||||
|
|
||||||
u32 get_psv_func_index(psv_func* func)
|
u32 get_psv_func_index(psv_func* func)
|
||||||
{
|
{
|
||||||
u32 res = func - g_psv_func_list.data();
|
auto res = func - g_psv_func_list.data();
|
||||||
|
|
||||||
assert(res < g_psv_func_list.size());
|
assert((size_t)res < g_psv_func_list.size());
|
||||||
|
|
||||||
return res;
|
return (u32)res;
|
||||||
}
|
}
|
||||||
|
|
||||||
void execute_psv_func_by_index(ARMv7Thread& CPU, u32 index)
|
void execute_psv_func_by_index(ARMv7Thread& CPU, u32 index)
|
||||||
|
|
Loading…
Reference in New Issue