Skip to content

Commit

Permalink
Fix input on pcsx_rearmed
Browse files Browse the repository at this point in the history
  • Loading branch information
kivutar committed Feb 10, 2019
1 parent aa1e4d2 commit 6b38277
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets
Submodule assets updated 1 files
+ icon.ico
5 changes: 2 additions & 3 deletions core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,8 @@ func LoadGame(gamePath string) error {
state.Global.CoreRunning = true
state.Global.GamePath = gamePath

for p := uint(0); p < input.MaxPlayers; p++ {
state.Global.Core.SetControllerPortDevice(p, libretro.DeviceJoypad)
}
state.Global.Core.SetControllerPortDevice(0, libretro.DeviceJoypad)
state.Global.Core.SetControllerPortDevice(1, libretro.DeviceJoypad)

log.Println("[Core]: Game loaded: " + gamePath)
savefiles.LoadSRAM()
Expand Down

0 comments on commit 6b38277

Please sign in to comment.