mirror of
https://github.com/Maschell/controller_patcher.git
synced 2024-11-22 03:59:16 +01:00
Removed some logging.
This commit is contained in:
parent
2816e9b2ec
commit
0fe22a57a8
4
Makefile
4
Makefile
@ -1,4 +1,4 @@
|
|||||||
DO_LOGGING := 0
|
DO_LOGGING := 1
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
@ -35,7 +35,7 @@ LIB := lib
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# options for code generation
|
# options for code generation
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
CFLAGS = -g -Os -Wall -D__wiiu__ $(MACHDEP) $(INCLUDE)
|
CFLAGS = -shared -fPIC -g -O2 -Wall -D__wiiu__ $(MACHDEP) $(INCLUDE)
|
||||||
CXXFLAGS = $(CFLAGS) -D_GNU_SOURCE
|
CXXFLAGS = $(CFLAGS) -D_GNU_SOURCE
|
||||||
|
|
||||||
ifeq ($(DO_LOGGING), 1)
|
ifeq ($(DO_LOGGING), 1)
|
||||||
|
@ -562,7 +562,7 @@ std::vector<HID_Data *> ControllerPatcherHID::getHIDDataAll(){
|
|||||||
s32 res;
|
s32 res;
|
||||||
HID_Data * new_data = NULL;
|
HID_Data * new_data = NULL;
|
||||||
if((res = ControllerPatcherHID::getHIDData(cur_hidmask,pad,&new_data)) < 0){ // Checks if the pad is invalid.
|
if((res = ControllerPatcherHID::getHIDData(cur_hidmask,pad,&new_data)) < 0){ // Checks if the pad is invalid.
|
||||||
DEBUG_FUNCTION_LINE("error: Error getting the HID data from HID(%s) CHAN(). Error %d\n",StringTools::byte_to_binary(cur_hidmask),pad,res);
|
//DEBUG_FUNCTION_LINE("error: Error getting the HID data from HID(%s) CHAN(). Error %d\n",StringTools::byte_to_binary(cur_hidmask),pad,res);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if(new_data != NULL) data_list.push_back(new_data);
|
if(new_data != NULL) data_list.push_back(new_data);
|
||||||
|
Loading…
Reference in New Issue
Block a user