mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
added configuration class
This commit is contained in:
committed by
georgemoralis
parent
6a5308d521
commit
a0ab3dbc0c
@@ -32,7 +32,7 @@
|
||||
#include "Lib/Threads.h"
|
||||
#include <emulator.h>
|
||||
#include "discord.h"
|
||||
|
||||
#include <Util/config.h>
|
||||
// Main code
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
@@ -40,7 +40,7 @@ int main(int argc, char* argv[])
|
||||
printf("Usage: %s <elf or eboot.bin path>\n", argv[0]);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Config::load("config.toml");
|
||||
logging::init(true); // init logging
|
||||
Emulator::emuInit();
|
||||
Lib::InitThreads();
|
||||
@@ -49,7 +49,6 @@ int main(int argc, char* argv[])
|
||||
auto* linker = Singleton<Linker>::Instance();
|
||||
HLE::Libs::Init_HLE_Libs(linker->getHLESymbols());
|
||||
auto *module =linker->LoadModule(path);//load main executable
|
||||
|
||||
Lib::Thread mainthread(
|
||||
[](void*) {
|
||||
auto* linker = Singleton<Linker>::Instance();
|
||||
|
||||
Reference in New Issue
Block a user