diff --git a/dist/languages/ar.ts b/dist/languages/ar.ts index dacbcdf68d..240b500b93 100644 --- a/dist/languages/ar.ts +++ b/dist/languages/ar.ts @@ -753,8 +753,10 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/ca.ts b/dist/languages/ca.ts index a131d85022..305b9ef6ed 100644 --- a/dist/languages/ca.ts +++ b/dist/languages/ca.ts @@ -752,7 +752,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/cs.ts b/dist/languages/cs.ts index ff25846b5a..8d50097058 100644 --- a/dist/languages/cs.ts +++ b/dist/languages/cs.ts @@ -752,7 +752,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/da.ts b/dist/languages/da.ts index 3ca2244fb2..ddf2a4e2d0 100644 --- a/dist/languages/da.ts +++ b/dist/languages/da.ts @@ -754,7 +754,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/de.ts b/dist/languages/de.ts index 8d862a62b9..a53c2f5331 100644 --- a/dist/languages/de.ts +++ b/dist/languages/de.ts @@ -753,7 +753,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/el.ts b/dist/languages/el.ts index 4f8f6a5aac..5ee8d2a138 100644 --- a/dist/languages/el.ts +++ b/dist/languages/el.ts @@ -754,7 +754,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/es.ts b/dist/languages/es.ts index e9824bc5fc..ef894815aa 100644 --- a/dist/languages/es.ts +++ b/dist/languages/es.ts @@ -783,7 +783,9 @@ Esta opción recomprime RGBA8 al formato BC1 o BC3, sacrificando calidad de imag - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/fr.ts b/dist/languages/fr.ts index 3619e564c7..db742fb88d 100644 --- a/dist/languages/fr.ts +++ b/dist/languages/fr.ts @@ -784,8 +784,12 @@ Cette option recomprime le RGBA8 en format BC1 ou BC3, économisant ainsi la VRA - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. - Sélectionne si l'émulateur doit privilégier la conservation de la mémoire ou utiliser au maximum la mémoire vidéo disponible pour les performances. N'a aucun effet sur les graphiques intégrés. Le mode agressif peut avoir un impact sévère sur les performances d'autres applications telles que les logiciels d'enregistrement. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. + Sélectionne si l'émulateur doit privilégier la conservation de la mémoire ou utiliser au maximum la mémoire vidéo disponible pour les performances. +Le mode agressif peut avoir un impact sévère sur les performances d'autres applications telles que les logiciels d'enregistrement. +N'a aucun effet sur les graphiques intégrés. diff --git a/dist/languages/hu.ts b/dist/languages/hu.ts index 1b43397f17..486adacd3d 100644 --- a/dist/languages/hu.ts +++ b/dist/languages/hu.ts @@ -783,8 +783,12 @@ Ez az opció az RGBA8-at BC1 vagy BC3 formátumra tömöríti vissza, ami VRAM-o - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. - Kiválasztja, hogy az emulátor a teljesítmény érdekében inkább takarékoskodjon a memóriával, vagy maximálisan kihasználja a rendelkezésre álló videomemóriát. Integrált grafikára nincs hatással. Az agresszív üzemmód jelentősen befolyásolhatja más alkalmazások, például a rögzítő szoftverek teljesítményét. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. + Kiválasztja, hogy az emulátor a teljesítmény érdekében inkább takarékoskodjon a memóriával, vagy maximálisan kihasználja a rendelkezésre álló videomemóriát. +Az agresszív üzemmód jelentősen befolyásolhatja más alkalmazások, például a rögzítő szoftverek teljesítményét. +Integrált grafikára nincs hatással. diff --git a/dist/languages/id.ts b/dist/languages/id.ts index 3bce2fc749..1599fddae7 100644 --- a/dist/languages/id.ts +++ b/dist/languages/id.ts @@ -783,7 +783,9 @@ Opsi ini merekompres RGBA8 ke format BC1 atau BC3, menghemat VRAM tetapi mempeng - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/it.ts b/dist/languages/it.ts index ec70f9d809..177fe92341 100644 --- a/dist/languages/it.ts +++ b/dist/languages/it.ts @@ -754,7 +754,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/ja_JP.ts b/dist/languages/ja_JP.ts index 39bd1ba0a7..cf6251b4a4 100644 --- a/dist/languages/ja_JP.ts +++ b/dist/languages/ja_JP.ts @@ -754,7 +754,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/ko_KR.ts b/dist/languages/ko_KR.ts index 4fe347f6d5..a88d5a713f 100644 --- a/dist/languages/ko_KR.ts +++ b/dist/languages/ko_KR.ts @@ -754,7 +754,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/nb.ts b/dist/languages/nb.ts index 7ee7b5878b..7e8595966e 100644 --- a/dist/languages/nb.ts +++ b/dist/languages/nb.ts @@ -754,7 +754,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/nl.ts b/dist/languages/nl.ts index 7fdba359b8..de1b7eb331 100644 --- a/dist/languages/nl.ts +++ b/dist/languages/nl.ts @@ -754,7 +754,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/pl.ts b/dist/languages/pl.ts index b60eca3648..d5f36db670 100644 --- a/dist/languages/pl.ts +++ b/dist/languages/pl.ts @@ -753,8 +753,10 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/pt_BR.ts b/dist/languages/pt_BR.ts index caf2f84078..6b4ede97eb 100644 --- a/dist/languages/pt_BR.ts +++ b/dist/languages/pt_BR.ts @@ -784,8 +784,12 @@ Esta opção recompacta o RGBA8 ou pro formato BC1 ou pro BC3, economizando VRAM - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. - Define se o emulador deve preferir conservar ou fazer o uso máximo da memória de vídeo disponível para melhorar a performance. Não tem efeito em gráficos integrados. O modo Agressivo pode impactar fortemente na performance de outras aplicações, tipo programas de gravação de tela. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. + Define se o emulador deve preferir conservar ou fazer o uso máximo da memória de vídeo disponível para melhorar a performance. +O modo Agressivo pode impactar fortemente na performance de outras aplicações, tipo programas de gravação de tela. +Não tem efeito em gráficos integrados. diff --git a/dist/languages/pt_PT.ts b/dist/languages/pt_PT.ts index 8cd779e40a..af0ef5e42c 100644 --- a/dist/languages/pt_PT.ts +++ b/dist/languages/pt_PT.ts @@ -784,8 +784,12 @@ Esta opção recompacta o RGBA8 ou pro formato BC1 ou pro BC3, economizando VRAM - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. - Define se o emulador deve preferir conservar ou fazer o uso máximo da memória de vídeo disponível para melhorar a performance. Não tem efeito em gráficos integrados. O modo Agressivo pode impactar fortemente na performance de outras aplicações, tipo programas de gravação de tela. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. + Define se o emulador deve preferir conservar ou fazer o uso máximo da memória de vídeo disponível para melhorar a performance. +O modo Agressivo pode impactar fortemente na performance de outras aplicações, tipo programas de gravação de tela. +Não tem efeito em gráficos integrados. diff --git a/dist/languages/ru_RU.ts b/dist/languages/ru_RU.ts index 924cca9909..a78a38e4a4 100644 --- a/dist/languages/ru_RU.ts +++ b/dist/languages/ru_RU.ts @@ -780,7 +780,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/sv.ts b/dist/languages/sv.ts index 26d4e8e497..69acb2b498 100644 --- a/dist/languages/sv.ts +++ b/dist/languages/sv.ts @@ -754,7 +754,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/tr_TR.ts b/dist/languages/tr_TR.ts index 3f17dd29d7..3be4bba1d2 100644 --- a/dist/languages/tr_TR.ts +++ b/dist/languages/tr_TR.ts @@ -754,7 +754,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/uk.ts b/dist/languages/uk.ts index b3b77aa3e0..d7135e7fc8 100644 --- a/dist/languages/uk.ts +++ b/dist/languages/uk.ts @@ -754,7 +754,9 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/vi.ts b/dist/languages/vi.ts index 07f153deca..a4dc7a391c 100644 --- a/dist/languages/vi.ts +++ b/dist/languages/vi.ts @@ -753,8 +753,10 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/vi_VN.ts b/dist/languages/vi_VN.ts index e619e8ad8f..f2c3125d7a 100644 --- a/dist/languages/vi_VN.ts +++ b/dist/languages/vi_VN.ts @@ -753,8 +753,10 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but - - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. diff --git a/dist/languages/zh_CN.ts b/dist/languages/zh_CN.ts index 09b8431f20..cf5616b790 100644 --- a/dist/languages/zh_CN.ts +++ b/dist/languages/zh_CN.ts @@ -783,8 +783,10 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but VRAM 使用模式: - - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. 指定模拟器使用 VRAM 的方式。此选项对核芯显卡没有影响。 保守模式:模拟器更倾向于节省 VRAM。 激进模式:最大限度利用 VRAM 来提高性能。 diff --git a/dist/languages/zh_TW.ts b/dist/languages/zh_TW.ts index 399195b394..cff1d9d8ca 100644 --- a/dist/languages/zh_TW.ts +++ b/dist/languages/zh_TW.ts @@ -783,8 +783,10 @@ This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but VRAM 使用模式: - - Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. Has no effect on integrated graphics. Aggressive mode may severely impact the performance of other applications such as recording software. + + Selects whether the emulator should prefer to conserve memory or make maximum usage of available video memory for performance. +Aggressive mode may severely impact the performance of other applications such as recording software. +Has no effect on integrated graphics. 指定模拟器倾向于节省 VRAM 或最大限度利用 VRAM 来提高性能。对核芯显卡没有影响。激进模式可能会严重影响其他应用程序(如录屏软件)的性能。 diff --git a/src/suyu/configuration/configure_graphics.cpp b/src/suyu/configuration/configure_graphics.cpp index 21fb580b14..d69c4b23b6 100644 --- a/src/suyu/configuration/configure_graphics.cpp +++ b/src/suyu/configuration/configure_graphics.cpp @@ -487,11 +487,8 @@ void ConfigureGraphics::RetranslateUI() { void ConfigureGraphics::UpdateBackgroundColorButton(QColor color) { bg_color = color; - QPixmap pixmap(ui->bg_button->size()); - pixmap.fill(bg_color); - - const QIcon color_icon(pixmap); - ui->bg_button->setIcon(color_icon); + ui->bg_button->setStyleSheet( + QStringLiteral("background-color: %1; min-width: 80px;").arg(bg_color.name())); } void ConfigureGraphics::UpdateAPILayout() { diff --git a/src/suyu/configuration/configure_graphics.ui b/src/suyu/configuration/configure_graphics.ui index d09415d702..8f4589cf8d 100644 --- a/src/suyu/configuration/configure_graphics.ui +++ b/src/suyu/configuration/configure_graphics.ui @@ -139,7 +139,7 @@ 20 - 40 + 10 diff --git a/src/suyu/configuration/configure_per_game.ui b/src/suyu/configuration/configure_per_game.ui index 712705e082..70aaa0a762 100644 --- a/src/suyu/configuration/configure_per_game.ui +++ b/src/suyu/configuration/configure_per_game.ui @@ -7,7 +7,7 @@ 0 0 900 - 607 + 650 diff --git a/src/suyu/configuration/shared_translation.cpp b/src/suyu/configuration/shared_translation.cpp index 3ff1df3549..1c93733f5a 100644 --- a/src/suyu/configuration/shared_translation.cpp +++ b/src/suyu/configuration/shared_translation.cpp @@ -171,9 +171,10 @@ std::unique_ptr InitializeTranslations(QWidget* parent) { "negatively affecting image quality.")); INSERT(Settings, vram_usage_mode, tr("VRAM Usage Mode:"), tr("Selects whether the emulator should prefer to conserve memory or make maximum usage " - "of available video memory for performance. Has no effect on integrated graphics. " + "of available video memory for performance.\n" "Aggressive mode may severely impact the performance of other applications such as " - "recording software.")); + "recording software.\n" + "Has no effect on integrated graphics.")); INSERT( Settings, vsync_mode, tr("VSync Mode:"), tr("FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen "