Various fixes (Trophy, Gcm corrections, stack alloc) (#2894)

* Fixed sys_get_random_number generating less bytes than needed, and ceiling the buffer size in 0x1000 instead of failing
* Corrected alignment check in libgcm
* Now calling callback of sceNpManagerRegisterCallback
* Fixed trophies
This commit is contained in:
Ofek 2017-09-02 14:43:44 +03:00 committed by Ivan
parent d3f13ab8a3
commit caab400258
7 changed files with 45 additions and 20 deletions

View file

@ -22,7 +22,7 @@ bool TRPLoader::Install(const std::string& dest, bool show)
return false;
}
std::vector<char> buffer; buffer.reserve(65536);
std::vector<char> buffer(65536);
for (const TRPEntry& entry : m_entries)
{