mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
gp2x->common menu migration finished, gp2x now only uses input fwk
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@692 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
2c60056042
commit
82abf46f3d
22 changed files with 207 additions and 1765 deletions
|
@ -15,7 +15,6 @@
|
|||
#include "fonts.h"
|
||||
#include "lprintf.h"
|
||||
#include "config.h"
|
||||
#include "common.h"
|
||||
#include "plat.h"
|
||||
|
||||
#include <pico/pico_int.h>
|
||||
|
@ -631,13 +630,7 @@ int emu_ReadConfig(int game, int no_defaults)
|
|||
if (currentConfig.gamma < 10 || currentConfig.gamma > 300) currentConfig.gamma = 100;
|
||||
#endif
|
||||
if (currentConfig.volume < 0 || currentConfig.volume > 99) currentConfig.volume = 50;
|
||||
#ifdef __GP2X__
|
||||
// if volume keys are unbound, bind them to volume control
|
||||
if (!currentConfig.KeyBinds[23] && !currentConfig.KeyBinds[22]) {
|
||||
currentConfig.KeyBinds[23] = 1<<29; // vol up
|
||||
currentConfig.KeyBinds[22] = 1<<30; // vol down
|
||||
}
|
||||
#endif
|
||||
|
||||
if (ret == 0) config_slot_current = config_slot;
|
||||
return (ret == 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue