mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
misc
This commit is contained in:
@@ -43,7 +43,7 @@ int main(int argc, char* argv[]) {
|
|||||||
|
|
||||||
bool waitForDebugger = false;
|
bool waitForDebugger = false;
|
||||||
std::optional<int> waitPid;
|
std::optional<int> waitPid;
|
||||||
#if 0
|
|
||||||
// Map of argument strings to lambda functions
|
// Map of argument strings to lambda functions
|
||||||
std::unordered_map<std::string, std::function<void(int&)>> arg_map = {
|
std::unordered_map<std::string, std::function<void(int&)>> arg_map = {
|
||||||
{"-h",
|
{"-h",
|
||||||
@@ -263,12 +263,11 @@ int main(int argc, char* argv[]) {
|
|||||||
if (waitPid.has_value()) {
|
if (waitPid.has_value()) {
|
||||||
Core::Debugger::WaitForPid(waitPid.value());
|
Core::Debugger::WaitForPid(waitPid.value());
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
// Run the emulator with the resolved eboot path
|
// Run the emulator with the resolved eboot path
|
||||||
Core::Emulator* emulator = Common::Singleton<Core::Emulator>::Instance();
|
Core::Emulator* emulator = Common::Singleton<Core::Emulator>::Instance();
|
||||||
emulator->executableName = argv[0];
|
emulator->executableName = argv[0];
|
||||||
emulator->waitForDebuggerBeforeRun = waitForDebugger;
|
emulator->waitForDebuggerBeforeRun = waitForDebugger;
|
||||||
const char* const eboot_path = "D:/ps4/shadps4games/CUSA18992/eboot.bin";
|
|
||||||
emulator->Run(eboot_path, game_args, game_folder);
|
emulator->Run(eboot_path, game_args, game_folder);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user