Added rewind to turbo mute

This commit is contained in:
AlexApps99 2020-06-21 21:46:27 +12:00
parent cb562b2e4c
commit 4f3e6681ef
8 changed files with 30 additions and 28 deletions

View File

@ -1296,12 +1296,14 @@ msgstr "Silenciar la salida de sonido"
msgid "Disables output of sound" msgid "Disables output of sound"
msgstr "Desactivar la salida de sonido" msgstr "Desactivar la salida de sonido"
#: src/snes9x.ui:4200 #: src/snes9x.ui:4206
msgid "Mute sound when using turbo" #, fuzzy
msgid "Mute sound when using turbo or rewind"
msgstr "Silenciar el sonido cuando se esté en turbo" msgstr "Silenciar el sonido cuando se esté en turbo"
#: src/snes9x.ui:4204 #: src/snes9x.ui:4210
msgid "Disables output of sound when using turbo" #, fuzzy
msgid "Disables output of sound when using turbo or rewind"
msgstr "Deshabilitar la salida de sonido cuando se esté en turbo" msgstr "Deshabilitar la salida de sonido cuando se esté en turbo"
#: src/snes9x.ui:4227 #: src/snes9x.ui:4227

View File

@ -1277,14 +1277,14 @@ msgstr "Sourdine"
msgid "Disables output of sound" msgid "Disables output of sound"
msgstr "Désactiver la sortie audio" msgstr "Désactiver la sortie audio"
#: src/snes9x.ui:4200 #: src/snes9x.ui:4206
#, fuzzy #, fuzzy
msgid "Mute sound when using turbo" msgid "Mute sound when using turbo or rewind"
msgstr "Sourdine" msgstr "Sourdine"
#: src/snes9x.ui:4204 #: src/snes9x.ui:4210
#, fuzzy #, fuzzy
msgid "Disables output of sound when using turbo" msgid "Disables output of sound when using turbo or rewind"
msgstr "Désactiver la sortie audio" msgstr "Désactiver la sortie audio"
#: src/snes9x.ui:4227 #: src/snes9x.ui:4227

View File

@ -1253,14 +1253,14 @@ msgstr "サウンドをミュートする"
msgid "Disables output of sound" msgid "Disables output of sound"
msgstr "音声出力を無効にします" msgstr "音声出力を無効にします"
#: src/snes9x.ui:4200 #: src/snes9x.ui:4206
#, fuzzy #, fuzzy
msgid "Mute sound when using turbo" msgid "Mute sound when using turbo or rewind"
msgstr "サウンドをミュートする" msgstr "サウンドをミュートする"
#: src/snes9x.ui:4204 #: src/snes9x.ui:4210
#, fuzzy #, fuzzy
msgid "Disables output of sound when using turbo" msgid "Disables output of sound when using turbo or rewind"
msgstr "音声出力を無効にします" msgstr "音声出力を無効にします"
#: src/snes9x.ui:4227 #: src/snes9x.ui:4227

View File

@ -1305,14 +1305,14 @@ msgstr "Saída de áudio muda"
msgid "Disables output of sound" msgid "Disables output of sound"
msgstr "Desativar saída de áudio." msgstr "Desativar saída de áudio."
#: src/snes9x.ui:4200 #: src/snes9x.ui:4206
#, fuzzy #, fuzzy
msgid "Mute sound when using turbo" msgid "Mute sound when using turbo or rewind"
msgstr "Saída de áudio muda" msgstr "Saída de áudio muda"
#: src/snes9x.ui:4204 #: src/snes9x.ui:4210
#, fuzzy #, fuzzy
msgid "Disables output of sound when using turbo" msgid "Disables output of sound when using turbo or rewind"
msgstr "Desativar saída de áudio." msgstr "Desativar saída de áudio."
#: src/snes9x.ui:4227 #: src/snes9x.ui:4227

View File

@ -1287,14 +1287,14 @@ msgstr "Отключить звук"
msgid "Disables output of sound" msgid "Disables output of sound"
msgstr "Запрещает вывод звука" msgstr "Запрещает вывод звука"
#: src/snes9x.ui:4200 #: src/snes9x.ui:4206
#, fuzzy #, fuzzy
msgid "Mute sound when using turbo" msgid "Mute sound when using turbo or rewind"
msgstr "Отключить звук" msgstr "Отключить звук"
#: src/snes9x.ui:4204 #: src/snes9x.ui:4210
#, fuzzy #, fuzzy
msgid "Disables output of sound when using turbo" msgid "Disables output of sound when using turbo or rewind"
msgstr "Запрещает вывод звука" msgstr "Запрещает вывод звука"
#: src/snes9x.ui:4227 #: src/snes9x.ui:4227

View File

@ -1269,14 +1269,14 @@ msgstr "Priguši izvor zvuka"
msgid "Disables output of sound" msgid "Disables output of sound"
msgstr "Isključuje izvor zvuka" msgstr "Isključuje izvor zvuka"
#: src/snes9x.ui:4200 #: src/snes9x.ui:4206
#, fuzzy #, fuzzy
msgid "Mute sound when using turbo" msgid "Mute sound when using turbo or rewind"
msgstr "Priguši izvor zvuka" msgstr "Priguši izvor zvuka"
#: src/snes9x.ui:4204 #: src/snes9x.ui:4210
#, fuzzy #, fuzzy
msgid "Disables output of sound when using turbo" msgid "Disables output of sound when using turbo or rewind"
msgstr "Isključuje izvor zvuka" msgstr "Isključuje izvor zvuka"
#: src/snes9x.ui:4227 #: src/snes9x.ui:4227

View File

@ -360,14 +360,14 @@ gboolean S9xIdleFunc (gpointer data)
static int muted_from_turbo = false; static int muted_from_turbo = false;
static int mute_saved_state = false; static int mute_saved_state = false;
if (Settings.TurboMode && !muted_from_turbo && gui_config->mute_sound_turbo) if ((Settings.TurboMode || Settings.Rewinding) && !muted_from_turbo && gui_config->mute_sound_turbo)
{ {
muted_from_turbo = true; muted_from_turbo = true;
mute_saved_state = Settings.Mute; mute_saved_state = Settings.Mute;
S9xSetSoundMute (true); S9xSetSoundMute (true);
} }
if (!Settings.TurboMode && muted_from_turbo) if (!(Settings.TurboMode || Settings.Rewinding) && muted_from_turbo)
{ {
muted_from_turbo = false; muted_from_turbo = false;
Settings.Mute = mute_saved_state; Settings.Mute = mute_saved_state;

View File

@ -4203,11 +4203,11 @@
</child> </child>
<child> <child>
<object class="GtkCheckButton" id="mute_sound_turbo_check"> <object class="GtkCheckButton" id="mute_sound_turbo_check">
<property name="label" translatable="yes">Mute sound when using turbo</property> <property name="label" translatable="yes">Mute sound when using turbo or rewind</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">False</property> <property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Disables output of sound when using turbo</property> <property name="tooltip_text" translatable="yes">Disables output of sound when using turbo or rewind</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
</object> </object>