mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 18:15:14 +00:00
restore main
This commit is contained in:
parent
eb5dc68d59
commit
d24ca9d73d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user