mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-22 04:24:44 +00:00
Use UTF-8 in console
This commit is contained in:
parent
f657ab3cc6
commit
900e90efa8
1 changed files with 4 additions and 0 deletions
|
@ -142,6 +142,10 @@ public:
|
|||
instance = std::unique_ptr<Impl, decltype(&Deleter)>(new Impl(log_dir / LOG_FILE, filter),
|
||||
Deleter);
|
||||
initialization_in_progress_suppress_logging = false;
|
||||
#ifdef WIN32
|
||||
// set console codepage to UTF-8
|
||||
SetConsoleOutputCP(65001);
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool IsActive() {
|
||||
|
|
Loading…
Add table
Reference in a new issue