- Retro: Press Select to toggle overlays + hide HUD when editing camera

This commit is contained in:
Ilya Shurumov 2020-12-02 22:07:52 +06:00
parent 463200b846
commit c187a98658
2 changed files with 11 additions and 4 deletions

View File

@ -29,8 +29,8 @@ up=up
down=down
left=left
right=right
start=e
select=r
start=w
select=H
[render]
windowWidth=1280

View File

@ -1400,7 +1400,7 @@ void ShowReplayOptions(void)
else if(PlayMode != 2 && PlayMode != 3)
UnPauseSound();
if (!gDoOverlays && !DirectorMenuActive)
if (!gDoOverlays && (!DirectorMenuActive || EditMode > 0))
return;
ShowReplayMenu();
@ -1754,7 +1754,14 @@ void ControlReplay(void)
debounce = 1;
}
if ((padd & 0x8000) == 0 && (padd & 0x7040) == 0)
if ((padd & 0x100) && debounce == 0)
{
// Retro: Press Select to toggle overlays
gDoOverlays ^= 1;
debounce = 1;
}
if ((padd & 0x8000) == 0 && (padd & 0x7140) == 0)
{
debounce = 0;
}