diff --git a/src/main.cpp b/src/main.cpp index cea92be07..de1d92326 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,7 +5,15 @@ #include "common/memory_patcher.h" #include "emulator.h" +#ifdef _WIN32 +#include +#endif + int main(int argc, char* argv[]) { +#ifdef _WIN32 + SetConsoleOutputCP(CP_UTF8); +#endif + if (argc == 1) { fmt::print("Usage: {} \n", argv[0]); return -1;