Fixed mixer volume too high in REminiscence
This commit is contained in:
@@ -14,16 +14,16 @@
|
||||
#define CONTENTDIR ""
|
||||
|
||||
/* Directory where game data will be stored */
|
||||
#define USERDIR "config/"
|
||||
#define USERDIR "/data/data/com.sourceforge.sc2/files/config/"
|
||||
|
||||
/* Directory where config files will be stored */
|
||||
#define CONFIGDIR USERDIR
|
||||
|
||||
/* Directory where supermelee teams will be stored */
|
||||
#define MELEEDIR "teams/"
|
||||
#define MELEEDIR "${UQM_CONFIG_DIR}/teams/"
|
||||
|
||||
/* Directory where save games will be stored */
|
||||
#define SAVEDIR "save/"
|
||||
#define SAVEDIR "${UQM_CONFIG_DIR}/save/"
|
||||
|
||||
/* Defined if words are stored with the most significant byte first */
|
||||
#ifdef __ARMEL__
|
||||
|
||||
@@ -817,10 +817,10 @@ VControl_ProcessJoyAxis (int port, int axis, int value)
|
||||
int t;
|
||||
if (!joysticks[port].stick)
|
||||
return;
|
||||
joysticks[port].axes[axis].value = value;
|
||||
#ifdef ANDROID
|
||||
value = -value; // Axes are swapped, too lazy to fix that on SDL side
|
||||
#endif
|
||||
joysticks[port].axes[axis].value = value;
|
||||
t = joysticks[port].threshold;
|
||||
if (value > t)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user