general refactoring and coding format fixes

This commit is contained in:
wheremyfoodat 2023-08-03 12:25:25 +03:00 committed by georgemoralis
parent 30c1062893
commit 3e60a67785
8 changed files with 15 additions and 13 deletions

View file

@ -34,14 +34,15 @@
// 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
logging::init(true); // init logging
Lib::InitThreads();
const char* const path = argv[1]; // argument 1 is the path of self file to boot
const char* const path = "videoout_basic.elf"; // argv[1]; //argument 1 is the path of self file to boot
// const char* const path = "F:\\ps4games\\CUSA03840 - Resident Evil 6\\eboot.bin";
auto* linker = Singleton<Linker>::Instance();
HLE::Libs::Init_HLE_Libs(linker->getHLESymbols());