shadPS4/src/main.cpp

17 lines
380 B
C++
Raw Permalink Normal View History

2024-02-23 22:32:32 +01:00
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2023-11-10 18:52:41 +01:00
#include <fmt/core.h>
#include "emulator.h"
2023-11-10 18:52:41 +01:00
2023-10-13 08:40:59 +02:00
int main(int argc, char* argv[]) {
2023-08-03 12:06:23 +02:00
if (argc == 1) {
fmt::print("Usage: {} <elf or eboot.bin path>\n", argv[0]);
2023-07-07 12:54:44 +02:00
return -1;
2023-08-03 12:06:23 +02:00
}
2023-08-12 00:02:42 +02:00
Core::Emulator emulator;
emulator.Run(argv[1]);
2023-04-27 18:13:19 +02:00
return 0;
}