libretro: Refactor reading controller type
authorAdrien Plazas <kekun.plazas@laposte.net>
Fri, 29 Jul 2016 17:23:29 +0000 (19:23 +0200)
committerAdrien Plazas <kekun.plazas@laposte.net>
Fri, 29 Jul 2016 17:23:29 +0000 (19:23 +0200)
Refactor the way the controller type variables are read as we were doing
8 times almost exactly the same thing.

This makes the code more readable and maintainable.


No differences found