This commit is contained in:
Maschell 2016-04-25 21:16:04 +02:00
commit 0979a03933

View File

@ -19,6 +19,7 @@ void init_config_controller(){
InitOSFunctionPointers(); InitOSFunctionPointers();
InitSysHIDFunctionPointers(); InitSysHIDFunctionPointers();
InitVPadFunctionPointers(); InitVPadFunctionPointers();
if(!config_done){ if(!config_done){
config_done = 1; config_done = 1;
memset(config_controller,CONTROLLER_PATCHER_INVALIDVALUE,sizeof(config_controller)); // Init / Invalid everything memset(config_controller,CONTROLLER_PATCHER_INVALIDVALUE,sizeof(config_controller)); // Init / Invalid everything
@ -262,7 +263,6 @@ void init_config_controller(){
}else{ }else{
log_print("Config already done!\n"); log_print("Config already done!\n");
} }
if(!gHIDSetupDone){ if(!gHIDSetupDone){
HIDSetup(); HIDSetup();
gHIDSetupDone = 1; gHIDSetupDone = 1;