Fixed mixer volume too high in REminiscence

This commit is contained in:
pelya
2010-11-11 20:44:02 +02:00
parent 004f298065
commit 11d676ddc0
39 changed files with 15271 additions and 15247 deletions

View File

@@ -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__

View File

@@ -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)
{