mirror of https://git.suyu.dev/suyu/suyu
Compare commits
8 Commits
4a66295a6d
...
de83c5e6a6
Author | SHA1 | Date |
---|---|---|
JuanCStar | de83c5e6a6 | |
MushrooomSooop | 9afd74abde | |
ddutchie | bd5bdbe6c7 | |
niansa | ca9c2542b7 | |
RadsammyT | 8c44172be9 | |
JuanCStar | d29f3066c4 | |
JuanCStar | 8d402837fd | |
niansa | cb9654651a |
|
@ -4,7 +4,7 @@ stages:
|
|||
|
||||
clang-format:
|
||||
stage: format
|
||||
image: suyuemu/cibuild:latest
|
||||
image: suyuemu/cibuild:linux-x64
|
||||
variables:
|
||||
RELEASE_NAME: mainline
|
||||
script:
|
||||
|
@ -13,7 +13,7 @@ clang-format:
|
|||
|
||||
build-linux:
|
||||
stage: build
|
||||
image: suyuemu/cibuild:latest
|
||||
image: suyuemu/cibuild:linux-x64
|
||||
resource_group: linux-ci
|
||||
variables:
|
||||
RELEASE_NAME: mainline
|
||||
|
|
|
@ -6256,6 +6256,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
هل ترغب في تجاوز هذا والخروج على أية حال؟</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6293,6 +6293,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Desitja tancar-lo de totes maneres?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6277,6 +6277,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Opravdu si přejete ukončit tuto aplikaci?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6281,6 +6281,16 @@ Please, only use this feature to install updates and DLC.</source>
|
|||
Would you like to bypass this and exit anyway?</source>
|
||||
<translation type="unfinished"/>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6303,6 +6303,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Möchtest du dies umgehen und sie trotzdem beenden?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6277,6 +6277,16 @@ Please, only use this feature to install updates and DLC.</source>
|
|||
Would you like to bypass this and exit anyway?</source>
|
||||
<translation type="unfinished"/>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6349,6 +6349,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
¿Quieres salir de todas formas?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -4778,6 +4778,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Haluatko silti ohittaa tämän ja sulkea?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GRenderWindow</name>
|
||||
|
|
|
@ -6342,6 +6342,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Voulez-vous ignorer ceci and quitter quand même ?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6315,6 +6315,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
<translation>Az éppen futó alkalmazás azt kérte a suyu-tól, hogy ne lépjen ki.
|
||||
|
||||
Mégis ki szeretnél lépni?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
|
|
|
@ -6334,6 +6334,16 @@ Please, only use this feature to install updates and DLC.</source>
|
|||
Would you like to bypass this and exit anyway?</source>
|
||||
<translation type="unfinished"/>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6312,6 +6312,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Vuoi forzare l'arresto?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6298,6 +6298,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
無視してとにかく終了しますか?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6297,6 +6297,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
이를 무시하고 나가시겠습니까?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6302,6 +6302,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Vil du overstyre dette og lukke likevel?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6290,6 +6290,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Wil je toch afsluiten?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6293,6 +6293,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Czy chcesz to ominąć i mimo to wyjść?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6351,6 +6351,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Deseja ignorar isso e sair mesmo assim?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6334,6 +6334,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Deseja ignorar isso e sair mesmo assim?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6347,6 +6347,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Хотите ли вы обойти это и выйти в любом случае?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6272,6 +6272,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Vill du strunta i detta och avsluta ändå?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6294,6 +6294,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Görmezden gelip kapatmak ister misiniz?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6306,6 +6306,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Чи хочете ви обійти це і вийти в будь-якому випадку?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6299,6 +6299,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6299,6 +6299,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6347,6 +6347,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
您希望忽略并退出吗?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -6343,6 +6343,16 @@ Would you like to bypass this and exit anyway?</source>
|
|||
|
||||
您希望忽略並退出嗎?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1763"/>
|
||||
<source>Component Missing</source>
|
||||
<translation>Component Missing</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/main.cpp" line="1764"/>
|
||||
<source>Missing Firmware.</source>
|
||||
<translation>Missing Firmware.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/suyu/configuration/shared_translation.h" line="27"/>
|
||||
<source>None</source>
|
||||
|
|
|
@ -612,7 +612,7 @@ struct Values {
|
|||
|
||||
// WebService
|
||||
Setting<bool> enable_telemetry{linkage, false, "enable_telemetry", Category::WebService};
|
||||
Setting<std::string> web_api_url{linkage, "https://api.suyu.dev", "web_api_url",
|
||||
Setting<std::string> web_api_url{linkage, "https://suyu.dev", "web_api_url",
|
||||
Category::WebService};
|
||||
Setting<std::string> suyu_username{linkage, std::string(), "suyu_username",
|
||||
Category::WebService};
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -28,6 +28,7 @@ enum class AspectRatio {
|
|||
R4_3,
|
||||
R21_9,
|
||||
R16_10,
|
||||
R32_9,
|
||||
StretchToWindow,
|
||||
};
|
||||
|
||||
|
|
|
@ -939,7 +939,7 @@ Result ISystemSettingsServer::GetBatteryLot(Out<BatteryLot> out_battery_lot) {
|
|||
Result ISystemSettingsServer::GetSerialNumber(Out<SerialNumber> out_console_serial) {
|
||||
LOG_INFO(Service_SET, "called");
|
||||
|
||||
*out_console_serial = SerialNumber("YUZ10000000001");
|
||||
*out_console_serial = SerialNumber("SUY10000000001");
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
|
|
|
@ -1034,7 +1034,7 @@ bool GRenderWindow::InitializeOpenGL() {
|
|||
return true;
|
||||
#else
|
||||
QMessageBox::warning(this, tr("OpenGL not available!"),
|
||||
tr("yusu has not been compiled with OpenGL support."));
|
||||
tr("suyu has not been compiled with OpenGL support."));
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -406,6 +406,7 @@ std::unique_ptr<ComboboxTranslationMap> 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<Settings::AnisotropyMode>::Index(),
|
||||
|
|
|
@ -480,6 +480,7 @@ GMainWindow::GMainWindow(std::unique_ptr<QtConfig> config_, bool has_broken_vulk
|
|||
QString game_path;
|
||||
bool has_gamepath = false;
|
||||
bool is_fullscreen = false;
|
||||
bool is_qlaunch = false;
|
||||
|
||||
for (int i = 1; i < args.size(); ++i) {
|
||||
// Preserves drag/drop functionality
|
||||
|
@ -494,7 +495,11 @@ GMainWindow::GMainWindow(std::unique_ptr<QtConfig> config_, bool has_broken_vulk
|
|||
is_fullscreen = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Use QLaunch at startup
|
||||
if (args[i] == QStringLiteral("-ql")) {
|
||||
is_qlaunch = true;
|
||||
continue;
|
||||
}
|
||||
// Launch game with a specific user
|
||||
if (args[i] == QStringLiteral("-u")) {
|
||||
if (i >= args.size() - 1) {
|
||||
|
@ -552,7 +557,10 @@ GMainWindow::GMainWindow(std::unique_ptr<QtConfig> config_, bool has_broken_vulk
|
|||
if (has_gamepath || is_fullscreen) {
|
||||
ui->action_Fullscreen->setChecked(is_fullscreen);
|
||||
}
|
||||
|
||||
// Open HomeMenu
|
||||
if (!has_gamepath && is_qlaunch) {
|
||||
OnHomeMenu();
|
||||
}
|
||||
if (!game_path.isEmpty()) {
|
||||
BootGame(game_path, ApplicationAppletParameters());
|
||||
}
|
||||
|
@ -1758,6 +1766,11 @@ void GMainWindow::AllowOSSleep() {
|
|||
}
|
||||
|
||||
bool GMainWindow::LoadROM(const QString& filename, Service::AM::FrontendAppletParameters params) {
|
||||
if (!CheckFirmwarePresence()) {
|
||||
QMessageBox::critical(this, tr("Component Missing"), tr("Missing Firmware."));
|
||||
return false;
|
||||
}
|
||||
|
||||
// Shutdown previous session if the emu thread is still active...
|
||||
if (emu_thread != nullptr) {
|
||||
ShutdownGame();
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -83,7 +83,7 @@ static void PrintHelp(const char* argv0) {
|
|||
}
|
||||
|
||||
static void PrintVersion() {
|
||||
std::cout << "yusu " << Common::g_scm_branch << " " << Common::g_scm_desc << std::endl;
|
||||
std::cout << "suyu" << Common::g_scm_branch << " " << Common::g_scm_desc << std::endl;
|
||||
}
|
||||
|
||||
static void OnStateChanged(const Network::RoomMember::State& state) {
|
||||
|
|
Loading…
Reference in New Issue