diff --git a/source/core/jail/jdraw8.cpp b/source/core/jail/jdraw8.cpp index 4da8dc5..5309b6b 100644 --- a/source/core/jail/jdraw8.cpp +++ b/source/core/jail/jdraw8.cpp @@ -4,10 +4,19 @@ #include "core/jail/jfile.hpp" #include "core/system/director.hpp" +#if defined(__clang__) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-but-set-variable" +#elif defined(__GNUC__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif #include "external/gif.h" +#if defined(__clang__) #pragma clang diagnostic pop +#elif defined(__GNUC__) +#pragma GCC diagnostic pop +#endif JD8_Surface screen = NULL; JD8_Palette main_palette = NULL; diff --git a/source/game/defaults.hpp b/source/game/defaults.hpp index cac13dc..924cd5c 100644 --- a/source/game/defaults.hpp +++ b/source/game/defaults.hpp @@ -33,7 +33,7 @@ namespace Defaults::Video { constexpr bool SUPERSAMPLING = false; constexpr bool INTEGER_SCALE = true; constexpr bool VSYNC = true; - constexpr bool ASPECT_RATIO_4_3 = false; // CRT original estira 200→240 + constexpr bool ASPECT_RATIO_4_3 = false; // CRT original estira 200→240 constexpr bool STRETCH_FILTER_LINEAR = false; // Filtre per a l'estirament 4:3 (false=NEAREST) constexpr int DOWNSCALE_ALGO = 1; // 0=bilinear, 1=Lanczos2, 2=Lanczos3 constexpr bool LINEAR_UPSCALE = false;