shadPS4/src/main.cpp

17 lines
380 B
C++

// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <emulator.h>
#include <fmt/core.h>
int main(int argc, char* argv[]) {
if (argc == 1) {
fmt::print("Usage: {} <elf or eboot.bin path>\n", argv[0]);
return -1;
}
Core::Emulator emulator;
emulator.Run(argv[1]);
return 0;
}