Permalink
Browse files

Menu: config menu entry for 1chip brightness patch

  • Loading branch information...
mrehkopf committed Apr 22, 2018
1 parent a8cd32a commit 41ed0fe4a2fc1da0af19fca7b398bcceb0ea06d9
Showing with 12 additions and 0 deletions.
  1. +2 −0 snes/const.a65
  2. +1 −0 snes/memmap.i65
  3. +9 −0 snes/menudata.a65
View
@@ -209,6 +209,7 @@ mtext_ingame_enable .byt "In-game hook", 0
mtext_ingame_buttons .byt "In-game buttons", 0
mtext_ingame_holdoff .byt "Initial holdoff", 0
mtext_ingame_regionpatch .byt "Auto region patch", 0
mtext_ingame_1chipbrightpatch .byt "1CHIP brightness patch", 0
mtext_chip_cx4_speed .byt "Cx4 speed", 0
mtext_chip_msu1_volume_boost .byt "MSU-1 volume boost", 0
@@ -234,6 +235,7 @@ mdesc_ingame_enable .byt "Required for in-game buttons and 7E/7F c
mdesc_ingame_buttons .byt "Enable in-game buttons (reset, en/disable cheats", 127, 128, ")", 0
mdesc_ingame_holdoff .byt "Wait 10 seconds before enabling hook (this helps some games boot)", 0
mdesc_ingame_regionpatch .byt "Bypass simple region protection by games", 0
mdesk_ingame_1chipbrightpatch .byt "[EXPERIMENTAL] patch brightness on 1CHIP consoles to avoid certain artifacts", 0
mdesc_chip_cx4_speed .byt "Set speed of Cx4 soft core", 0
mdesc_chip_msu1_volume_boost .byt "Set volume boost for MSU1 audio", 0
mdesc_cx4_speed_fast .byt "Run as fast as possible", 0
View
@@ -97,6 +97,7 @@
#define CFG_SKIN_NAME CFG_ADDR+$001A
#define CFG_CONTROL_TYPE CFG_ADDR+$009A
#define CFG_MSU_VOLUME_BOOST CFG_ADDR+$009B
#define CFG_1CHIP_BRIGHTNESS_PATCH CFG_ADDR+$009C
#define ST_RTC_VALID ST_ADDR+$0000
#define ST_NUM_RECENT_GAMES ST_ADDR+$0001
View
@@ -281,6 +281,15 @@ menu_enttab_ingame:
.word !CFG_R213F_OVERRIDE
.byt ^CFG_R213F_OVERRIDE
.byt MTYPE_VALUE
.word !mtext_ingame_1chipbrightpatch
.byt ^mtext_ingame_1chipbrightpatch
.word !kv_onoff
.byt ^kv_onoff
.byt OPTTYPE_KVBYTE
.word !CFG_1CHIP_BRIGHTNESS_PATCH
.byt ^CFG_1CHIP_BRIGHTNESS_PATCH
.byt 0
menu_enttab_scic:

0 comments on commit 41ed0fe

Please sign in to comment.