GTK+: Show block invalid vram box if dangerous hacks enabled.

This commit is contained in:
Brandon Wright 2019-01-08 15:48:36 -06:00
parent 56af48c042
commit 2c1753474c

View File

@ -727,6 +727,7 @@ Snes9xPreferences::move_settings_to_dialog ()
#ifdef ALLOW_CPU_OVERCLOCK #ifdef ALLOW_CPU_OVERCLOCK
gtk_widget_show (get_widget ("cpu_overclock")); gtk_widget_show (get_widget ("cpu_overclock"));
gtk_widget_show (get_widget ("remove_sprite_limit")); gtk_widget_show (get_widget ("remove_sprite_limit"));
gtk_widget_show (get_widget ("block_invalid_vram_access"));
set_check ("cpu_overclock", Settings.OneClockCycle != 6); set_check ("cpu_overclock", Settings.OneClockCycle != 6);
set_check ("remove_sprite_limit", Settings.MaxSpriteTilesPerLine != 34); set_check ("remove_sprite_limit", Settings.MaxSpriteTilesPerLine != 34);