mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 01:14:56 +00:00
Added Thread class
This commit is contained in:
parent
692759099f
commit
0e1ca354a9
5 changed files with 267 additions and 91 deletions
|
@ -29,17 +29,20 @@
|
|||
#include <inttypes.h>
|
||||
#include <Zydis/Zydis.h>
|
||||
#include "Core/PS4/HLE/Libs.h"
|
||||
#include "Lib/Threads.h"
|
||||
|
||||
// Main code
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
/* if (argc == 1) {
|
||||
if (argc == 1) {
|
||||
printf("Usage: %s <elf or eboot.bin path>\n", argv[0]);
|
||||
return -1;
|
||||
}*/
|
||||
}
|
||||
|
||||
logging::init(true);//init logging
|
||||
const char* const path = argv[1]; // argument 1 is the path of self file to boot
|
||||
Lib::InitThreads();
|
||||
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());
|
||||
auto *module =linker->LoadModule(path);//load main executable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue