Oh and on SDL

This commit is contained in:
offtkp 2024-09-25 17:10:06 +03:00
parent 51d21a274e
commit 62a3f1cbed

View file

@ -5,7 +5,15 @@
#include "common/memory_patcher.h"
#include "emulator.h"
#ifdef _WIN32
#include <windows.h>
#endif
int main(int argc, char* argv[]) {
#ifdef _WIN32
SetConsoleOutputCP(CP_UTF8);
#endif
if (argc == 1) {
fmt::print("Usage: {} <elf or eboot.bin path>\n", argv[0]);
return -1;