mirror of https://github.com/PCSX2/pcsx2.git
lilypad: fix compilation on ICC
This commit is contained in:
parent
55bc7a678a
commit
d714a2a393
|
@ -22,7 +22,9 @@
|
||||||
#include "stdint.h"
|
#include "stdint.h"
|
||||||
typedef uint32_t DWORD;
|
typedef uint32_t DWORD;
|
||||||
typedef uint16_t USHORT;
|
typedef uint16_t USHORT;
|
||||||
|
#ifndef __INTEL_COMPILER
|
||||||
typedef int64_t __int64;
|
typedef int64_t __int64;
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAX_PATH (256) // random value
|
#define MAX_PATH (256) // random value
|
||||||
|
|
||||||
|
|
|
@ -367,7 +367,7 @@ int LoadSettings(int force, wchar_t *file) {
|
||||||
w++;
|
w++;
|
||||||
}
|
}
|
||||||
string[w] = 0;
|
string[w] = 0;
|
||||||
int len = sscanf(string, " %i , %i , %i , %i , %i , %i , %i", &uid, &port, &command, &sensitivity, &turbo, &slot, &deadZone);
|
int len = sscanf(string, " %u , %i , %i , %i , %i , %i , %i", &uid, &port, &command, &sensitivity, &turbo, &slot, &deadZone);
|
||||||
if (len >= 5 && type) {
|
if (len >= 5 && type) {
|
||||||
VirtualControl *c = dev->GetVirtualControl(uid);
|
VirtualControl *c = dev->GetVirtualControl(uid);
|
||||||
if (!c) c = dev->AddVirtualControl(uid, -1);
|
if (!c) c = dev->AddVirtualControl(uid, -1);
|
||||||
|
|
Loading…
Reference in New Issue