Make TLS great again

And clean System.h a bit
This commit is contained in:
Nekotekina 2016-07-19 02:33:25 +03:00
parent 6296453ef3
commit fc9fdca3f6
10 changed files with 141 additions and 163 deletions

View file

@ -377,9 +377,9 @@ namespace _spurs
s32 _spurs::get_sdk_version()
{
const s32 version = Emu.GetSDKVersion();
s32 version = -1;
return version == -1 ? 0x465000 : version;
return process_get_sdk_version(process_getpid(), version) || version == -1 ? 0x465000 : version;
}
bool _spurs::is_libprof_loaded()