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>
|
2024-07-31 12:25:55 +02:00
|
|
|
#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) {
|
2023-10-26 22:29:05 +02:00
|
|
|
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
|
|
|
|
2024-06-10 14:18:42 +02:00
|
|
|
Core::Emulator emulator;
|
|
|
|
emulator.Run(argv[1]);
|
2023-04-27 18:13:19 +02:00
|
|
|
return 0;
|
|
|
|
}
|