diff --git a/Makefile b/Makefile index bc829b2..9c9b2db 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -DO_LOGGING := 0 +DO_LOGGING := 1 #--------------------------------------------------------------------------------- .SUFFIXES: @@ -35,7 +35,7 @@ LIB := lib #--------------------------------------------------------------------------------- # 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 ifeq ($(DO_LOGGING), 1) diff --git a/source/patcher/ControllerPatcherHID.cpp b/source/patcher/ControllerPatcherHID.cpp index 0dd0802..6f5e5f9 100644 --- a/source/patcher/ControllerPatcherHID.cpp +++ b/source/patcher/ControllerPatcherHID.cpp @@ -562,7 +562,7 @@ std::vector ControllerPatcherHID::getHIDDataAll(){ s32 res; HID_Data * new_data = NULL; 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; } if(new_data != NULL) data_list.push_back(new_data);