mirror of
https://github.com/Maschell/controller_patcher.git
synced 2024-11-22 03:59:16 +01:00
Changes the location where the path is defined
This commit is contained in:
parent
4c496011da
commit
4e38178c16
@ -126,7 +126,7 @@ ConfigReader::~ConfigReader()
|
|||||||
}
|
}
|
||||||
std::vector<std::string> ConfigReader::ScanFolder()
|
std::vector<std::string> ConfigReader::ScanFolder()
|
||||||
{
|
{
|
||||||
std::string path = std::string(CAFE_OS_SD_PATH) + std::string(WIIU_PATH) + "/controller";
|
std::string path = CONTROLLER_PATCHER_PATH;
|
||||||
int dirhandle = 0;
|
int dirhandle = 0;
|
||||||
if(HID_DEBUG) log_printf("Opening %s\n",path.c_str());
|
if(HID_DEBUG) log_printf("Opening %s\n",path.c_str());
|
||||||
std::vector<std::string> config_files;
|
std::vector<std::string> config_files;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#include "../dynamic_libs/fs_functions.h"
|
#include "../dynamic_libs/fs_functions.h"
|
||||||
#include "cp_retain_vars.h"
|
#include "cp_retain_vars.h"
|
||||||
|
|
||||||
|
#define CONTROLLER_PATCHER_PATH "/vol/external01/wiiu/controller";
|
||||||
|
|
||||||
class ConfigReader
|
class ConfigReader
|
||||||
{
|
{
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "common/types.h"
|
#include <gctypes.h>
|
||||||
#include "common/common.h"
|
|
||||||
#include "dynamic_libs/os_functions.h"
|
#include "dynamic_libs/os_functions.h"
|
||||||
#include "dynamic_libs/syshid_functions.h"
|
#include "dynamic_libs/syshid_functions.h"
|
||||||
#include "dynamic_libs/vpad_functions.h"
|
#include "dynamic_libs/vpad_functions.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user