mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
singleton: Use unique_ptr
This commit is contained in:
@@ -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*) {
|
||||
|
||||
Reference in New Issue
Block a user