- 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 down=down
left=left left=left
right=right right=right
start=e start=w
select=r select=H
[render] [render]
windowWidth=1280 windowWidth=1280

View File

@ -1400,7 +1400,7 @@ void ShowReplayOptions(void)
else if(PlayMode != 2 && PlayMode != 3) else if(PlayMode != 2 && PlayMode != 3)
UnPauseSound(); UnPauseSound();
if (!gDoOverlays && !DirectorMenuActive) if (!gDoOverlays && (!DirectorMenuActive || EditMode > 0))
return; return;
ShowReplayMenu(); ShowReplayMenu();
@ -1754,7 +1754,14 @@ void ControlReplay(void)
debounce = 1; 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; debounce = 0;
} }