mirror of https://github.com/snes9xgit/snes9x.git
GTK: Invert invalid vram access checkbox.
This commit is contained in:
parent
5195200b78
commit
7dc9ba8215
|
@ -640,7 +640,7 @@ Snes9xPreferences::move_settings_to_dialog ()
|
|||
set_combo ("resolution_combo", config->xrr_index);
|
||||
set_combo ("scale_method_combo", config->scale_method);
|
||||
set_entry_value ("save_sram_after_sec", Settings.AutoSaveDelay);
|
||||
set_check ("block_invalid_vram_access", Settings.BlockInvalidVRAMAccessMaster);
|
||||
set_check ("allow_invalid_vram_access", !Settings.BlockInvalidVRAMAccessMaster);
|
||||
set_check ("upanddown", Settings.UpAndDown);
|
||||
set_combo ("default_esc_behavior", config->default_esc_behavior);
|
||||
set_check ("prevent_screensaver", config->prevent_screensaver);
|
||||
|
@ -741,7 +741,7 @@ Snes9xPreferences::move_settings_to_dialog ()
|
|||
#ifdef ALLOW_CPU_OVERCLOCK
|
||||
gtk_widget_show (get_widget ("cpu_overclock"));
|
||||
gtk_widget_show (get_widget ("remove_sprite_limit"));
|
||||
gtk_widget_show (get_widget ("block_invalid_vram_access"));
|
||||
gtk_widget_show (get_widget ("allow_invalid_vram_access"));
|
||||
gtk_widget_show (get_widget ("echo_buffer_hack"));
|
||||
gtk_widget_show (get_widget ("soundfilterhbox"));
|
||||
|
||||
|
@ -835,7 +835,7 @@ Snes9xPreferences::get_settings_from_dialog ()
|
|||
Settings.AutoSaveDelay = get_entry_value ("save_sram_after_sec");
|
||||
config->multithreading = get_check ("multithreading");
|
||||
config->pause_emulation_on_switch = get_check ("pause_emulation_on_switch");
|
||||
Settings.BlockInvalidVRAMAccessMaster = get_check ("block_invalid_vram_access");
|
||||
Settings.BlockInvalidVRAMAccessMaster = !get_check ("allow_invalid_vram_access");
|
||||
Settings.UpAndDown = get_check ("upanddown");
|
||||
Settings.SuperFXClockMultiplier = get_spin ("superfx_multiplier");
|
||||
config->sound_driver = get_combo ("sound_driver");
|
||||
|
|
|
@ -4707,8 +4707,8 @@
|
|||
<property name="border_width">5</property>
|
||||
<property name="spacing">5</property>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="block_invalid_vram_access">
|
||||
<property name="label" translatable="yes">Block invalid VRAM access</property>
|
||||
<object class="GtkCheckButton" id="allow_invalid_vram_access">
|
||||
<property name="label" translatable="yes">Allow invalid VRAM access</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
|
|
Loading…
Reference in New Issue