Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kivutar committed Aug 24, 2021
1 parent bca097e commit 8ad9611
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions menu/scene_home.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ func (s *sceneHome) segueNext() {
}

func (s *sceneHome) update(dt float32) {
// Empty state
if len(s.children) == 0 {
menu.focus--
return
}

// Right
repeatRight(dt, input.NewState[0][libretro.DeviceIDJoypadRight] == 1, func() {
if s.xptrs[s.yptr] < len(s.children[s.yptr].children)-1 {
Expand Down

0 comments on commit 8ad9611

Please sign in to comment.