From 3bc50330485e5df7b3c3568c7467ff9388f3c692 Mon Sep 17 00:00:00 2001 From: Panagiotis Georgiadis Date: Sun, 1 Mar 2026 21:26:37 +0100 Subject: [PATCH] Remove redundant comments from Dreamcast ifdef guards Signed-off-by: Panagiotis Georgiadis --- Source/engine/assets.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Source/engine/assets.cpp b/Source/engine/assets.cpp index d780ff0cc..4e6253abe 100644 --- a/Source/engine/assets.cpp +++ b/Source/engine/assets.cpp @@ -331,10 +331,7 @@ std::vector GetMPQSearchPaths() { std::vector paths; paths.push_back(paths::BasePath()); -#ifdef __DREAMCAST__ - // On Dreamcast, PrefPath is /ram/ (for saves) - MPQs are only on /cd/ - // Don't search /ram/ for MPQ files -#else +#ifndef __DREAMCAST__ paths.push_back(paths::PrefPath()); if (paths[0] == paths[1]) paths.pop_back(); @@ -497,7 +494,6 @@ void LoadModArchives(std::span modnames) std::string targetPath; for (const std::string_view modname : modnames) { #ifndef __DREAMCAST__ - // On Dreamcast, PrefPath is /ram/ which is only for saves, not mod assets targetPath = StrCat(paths::PrefPath(), "mods" DIRECTORY_SEPARATOR_STR, modname, DIRECTORY_SEPARATOR_STR); if (FileExists(targetPath)) { OverridePaths.emplace_back(targetPath); @@ -509,7 +505,6 @@ void LoadModArchives(std::span modnames) } } #ifndef __DREAMCAST__ - // On Dreamcast, PrefPath is /ram/ which is only for saves - don't use for asset overrides OverridePaths.emplace_back(paths::PrefPath()); #endif