mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 01:14:56 +00:00
Refactoring PhysicalMemory
This commit is contained in:
parent
7bc4fda33e
commit
a6e1cf43d7
6 changed files with 47 additions and 57 deletions
|
@ -30,20 +30,18 @@
|
|||
#include <Zydis/Zydis.h>
|
||||
#include "Core/PS4/HLE/Libs.h"
|
||||
#include "Lib/Threads.h"
|
||||
#include "Core/PS4/HLE/Kernel/PhysicalMemory.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
|
||||
Lib::InitThreads();
|
||||
HLE::Libs::LibKernel::MemoryManagement::PhysicalMemoryInit();
|
||||
const char* const path = argv[1]; //argument 1 is the path of self file to boot
|
||||
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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue