Removed some logging.

This commit is contained in:
Maschell 2018-02-14 22:24:20 +01:00
parent 2816e9b2ec
commit 0fe22a57a8
2 changed files with 3 additions and 3 deletions

View File

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

View File

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