restore main

This commit is contained in:
georgemoralis 2025-07-10 21:13:57 +03:00
parent eb5dc68d59
commit d24ca9d73d

View File

@ -30,7 +30,7 @@ int main(int argc, char* argv[]) {
bool has_game_argument = false; bool has_game_argument = false;
std::string game_path; std::string game_path;
std::vector<std::string> game_args{}; std::vector<std::string> game_args{};
#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",
@ -204,8 +204,7 @@ int main(int argc, char* argv[]) {
return 1; return 1;
} }
} }
#endif
const char* const eboot_path = "D:/ps4/sdk-samples/memrec.elf";
// Run the emulator with the resolved eboot path // Run the emulator with the resolved eboot path
Core::Emulator emulator; Core::Emulator emulator;
emulator.Run(eboot_path, game_args); emulator.Run(eboot_path, game_args);