fully fixed windows

Signed-off-by: swurl <swurl@swurl.xyz>
This commit is contained in:
swurl 2025-05-08 00:55:39 -04:00 committed by crueter
parent ac2cdee6d8
commit f89b6da6b2
4 changed files with 7 additions and 7 deletions

View file

@ -62,7 +62,7 @@ if (MSVC)
# Warnings
/W4
/WX
/WX-
/we4062 # Enumerator 'identifier' in a switch of enum 'enumeration' is not handled
/we4189 # 'identifier': local variable is initialized but not referenced

View file

@ -31,7 +31,7 @@
#define CITRON_DIR "citron"
#define SUDACHI_DIR "sudachi"
#define YUZU_DIR "yuzu"
#define SUYU_DIR "yuzu"
#define SUYU_DIR "suyu"
// yuzu-specific files

View file

@ -106,7 +106,7 @@ std::unique_ptr<Process> CreateApplicationProcess(std::vector<u8>& out_control,
out_control = nacp.GetRawBytes();
} else {
out_control.resize(sizeof(FileSys::RawNACP));
std::fill(out_control.begin(), out_control.end(), 0);
std::fill(out_control.begin(), out_control.end(), (u8) 0);
}
auto& storage = system.GetContentProviderUnion();

View file

@ -111,7 +111,7 @@ void UserDataMigrator::ShowMigrationCancelledMessage(QMainWindow* main_window) {
->tr("You can manually re-trigger this prompt by deleting the "
"new config directory:\n"
"%1")
.arg(QString::fromStdString(Common::FS::GetEdenPath(Common::FS::EdenPath::ConfigDir))),
.arg(QString::fromStdString(Common::FS::GetEdenPathString(Common::FS::EdenPath::ConfigDir))),
QMessageBox::Ok);
}
@ -125,9 +125,9 @@ void UserDataMigrator::MigrateUserData(QMainWindow* main_window,
std::string legacy_cache_dir;
#define LEGACY_EMU(emu) case LegacyEmu::emu: \
legacy_user_dir = Common::FS::GetLegacyPath(Common::FS::LegacyPath::emu##Dir); \
legacy_config_dir = Common::FS::GetLegacyPath(Common::FS::LegacyPath::emu##ConfigDir); \
legacy_cache_dir = Common::FS::GetLegacyPath(Common::FS::LegacyPath::emu##CacheDir); \
legacy_user_dir = Common::FS::GetLegacyPath(Common::FS::LegacyPath::emu##Dir).string(); \
legacy_config_dir = Common::FS::GetLegacyPath(Common::FS::LegacyPath::emu##ConfigDir).string(); \
legacy_cache_dir = Common::FS::GetLegacyPath(Common::FS::LegacyPath::emu##CacheDir).string(); \
break;
switch (selected_legacy_emu) {