mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-17 17:05:02 +00:00
singleton: Use unique_ptr
This commit is contained in:
parent
7cbe7c762a
commit
f3504b2d25
3 changed files with 8 additions and 13 deletions
|
@ -54,7 +54,7 @@ int main(int argc, char* argv[]) {
|
|||
const char* const path = argv[1]; // argument 1 is the path of self file to boot
|
||||
|
||||
auto* linker = singleton<Linker>::instance();
|
||||
HLE::Libs::Init_HLE_Libs(linker->getHLESymbols());
|
||||
HLE::Libs::Init_HLE_Libs(&linker->getHLESymbols());
|
||||
auto* module = linker->LoadModule(path); // load main executable
|
||||
std::jthread mainthread(
|
||||
[](std::stop_token stop_token, void*) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue