diff --git a/src/common/settings.h b/src/common/settings.h index c2ed73656e..3b3efef7a9 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -612,7 +612,7 @@ struct Values { // WebService Setting enable_telemetry{linkage, false, "enable_telemetry", Category::WebService}; - Setting web_api_url{linkage, "https://api.suyu.dev", "web_api_url", + Setting web_api_url{linkage, "https://suyu.dev", "web_api_url", Category::WebService}; Setting suyu_username{linkage, std::string(), "suyu_username", Category::WebService}; diff --git a/src/common/settings_enums.h b/src/common/settings_enums.h index 6e247e9306..fabae6d687 100644 --- a/src/common/settings_enums.h +++ b/src/common/settings_enums.h @@ -149,7 +149,7 @@ ENUM(ScalingFilter, NearestNeighbor, Bilinear, Bicubic, Gaussian, ScaleForce, Fs ENUM(AntiAliasing, None, Fxaa, Smaa, MaxEnum); -ENUM(AspectRatio, R16_9, R4_3, R21_9, R16_10, Stretch); +ENUM(AspectRatio, R16_9, R4_3, R21_9, R16_10, R32_9, Stretch); ENUM(ConsoleMode, Handheld, Docked); diff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cpp index 2590b20da4..84281a68fc 100644 --- a/src/core/frontend/framebuffer_layout.cpp +++ b/src/core/frontend/framebuffer_layout.cpp @@ -70,6 +70,8 @@ float EmulationAspectRatio(AspectRatio aspect, float window_aspect_ratio) { return 9.0f / 21.0f; case AspectRatio::R16_10: return 10.0f / 16.0f; + case AspectRatio::R32_9: + return 9.0f / 32.0f; case AspectRatio::StretchToWindow: return window_aspect_ratio; default: diff --git a/src/core/frontend/framebuffer_layout.h b/src/core/frontend/framebuffer_layout.h index 94683b30f2..3c7258de30 100644 --- a/src/core/frontend/framebuffer_layout.h +++ b/src/core/frontend/framebuffer_layout.h @@ -28,6 +28,7 @@ enum class AspectRatio { R4_3, R21_9, R16_10, + R32_9, StretchToWindow, }; diff --git a/src/core/hle/service/set/system_settings_server.cpp b/src/core/hle/service/set/system_settings_server.cpp index 326b58266d..a5a39fcc2b 100644 --- a/src/core/hle/service/set/system_settings_server.cpp +++ b/src/core/hle/service/set/system_settings_server.cpp @@ -939,7 +939,7 @@ Result ISystemSettingsServer::GetBatteryLot(Out out_battery_lot) { Result ISystemSettingsServer::GetSerialNumber(Out out_console_serial) { LOG_INFO(Service_SET, "called"); - *out_console_serial = SerialNumber("YUZ10000000001"); + *out_console_serial = SerialNumber("SUY10000000001"); R_SUCCEED(); } diff --git a/src/suyu/configuration/shared_translation.cpp b/src/suyu/configuration/shared_translation.cpp index 8e3aea9962..0e4d13bc64 100644 --- a/src/suyu/configuration/shared_translation.cpp +++ b/src/suyu/configuration/shared_translation.cpp @@ -406,6 +406,7 @@ std::unique_ptr ComboboxEnumeration(QWidget* parent) { PAIR(AspectRatio, R4_3, tr("Force 4:3")), PAIR(AspectRatio, R21_9, tr("Force 21:9")), PAIR(AspectRatio, R16_10, tr("Force 16:10")), + PAIR(AspectRatio, R32_9, tr("Force 32:9")), PAIR(AspectRatio, Stretch, tr("Stretch to Window")), }}); translations->insert({Settings::EnumMetadata::Index(), diff --git a/src/suyu/uisettings.cpp b/src/suyu/uisettings.cpp index fed62f8123..0bdf944f9a 100644 --- a/src/suyu/uisettings.cpp +++ b/src/suyu/uisettings.cpp @@ -47,6 +47,8 @@ u32 CalculateWidth(u32 height, Settings::AspectRatio ratio) { return height * 21 / 9; case Settings::AspectRatio::R16_10: return height * 16 / 10; + case Settings::AspectRatio::R32_9: + return height * 32 / 9; case Settings::AspectRatio::R16_9: case Settings::AspectRatio::Stretch: // TODO: Move this function wherever appropriate to implement Stretched aspect