Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions MarathonRecomp/patches/player_patches.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,8 @@ bool ControllableSpinkick()
{
return Config::ControllableSpinkick;
}

bool DisablePushState()
{
return Config::DisablePushState;
}
1 change: 1 addition & 0 deletions MarathonRecomp/user/config_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ CONFIG_DEFINE_ENUM_LOCALISED("Video", EUIAlignmentMode, UIAlignmentMode, EUIAlig
CONFIG_DEFINE_HIDDEN("Codes", bool, DisableDWMRoundedCorners, false);
CONFIG_DEFINE_HIDDEN("Codes", bool, DisableTitleInputDelay, false);
CONFIG_DEFINE_HIDDEN("Codes", bool, DisableKingdomValleyMist, false);
CONFIG_DEFINE_HIDDEN("Codes", bool, DisablePushState, false);
CONFIG_DEFINE_HIDDEN("Codes", bool, HUDToggleKey, false);
CONFIG_DEFINE_HIDDEN("Codes", bool, SkipIntroLogos, false);
CONFIG_DEFINE_HIDDEN("Codes", bool, FixPowerUpJingleDuration, false);
Expand Down
5 changes: 5 additions & 0 deletions MarathonRecompLib/config/Marathon.toml
Original file line number Diff line number Diff line change
Expand Up @@ -337,3 +337,8 @@ jump_address = 0x8258E308
name = "NOP"
address = 0x8258E600
jump_address = 0x8258E604

[[midasm_hook]]
name = "DisablePushState"
address = 0x821A03F0
jump_address_on_true = 0x821A03FC
Loading