aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/plugins.c
diff options
context:
space:
mode:
authoralexis-puska2016-07-02 16:39:51 +0200
committeralexis-puska2016-07-02 16:39:51 +0200
commitb1fa817721fc53af709d68258bcbc976559fa17f (patch)
tree46f1069ed82d00dee4f926feb4d3cdf0ce720d56 /libpcsxcore/plugins.c
parentef29671582c0ce9236a8ea96c5c07f04da8dab85 (diff)
downloadpcsx_rearmed-b1fa817721fc53af709d68258bcbc976559fa17f.tar.gz
pcsx_rearmed-b1fa817721fc53af709d68258bcbc976559fa17f.tar.bz2
pcsx_rearmed-b1fa817721fc53af709d68258bcbc976559fa17f.zip
fix compilation error
Diffstat (limited to 'libpcsxcore/plugins.c')
-rw-r--r--libpcsxcore/plugins.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c
index 74b1925..6f5852b 100644
--- a/libpcsxcore/plugins.c
+++ b/libpcsxcore/plugins.c
@@ -505,7 +505,7 @@ void initBufForRequest(int padIndex, char value){
//case CMD_READ_DATA_AND_VIBRATE :
// break;
case CMD_CONFIG_MODE :
- if(pad[padIndex].configMode == TRUE){
+ if(pad[padIndex].configMode == 1){
buf[0] = 0xF3;
buf[1] = 0x53;
}
@@ -558,9 +558,9 @@ void reqIndex2Treatment(int padIndex, char value){
case CMD_CONFIG_MODE :
//0x43
if(value == 0){
- pad[padIndex].configMode = FALSE;
+ pad[padIndex].configMode = 0;
}else{
- pad->configMode = TRUE;
+ pad->configMode = 1;
}
break;
case CMD_SET_MODE_AND_LOCK :