Changes the location where the path is defined

This commit is contained in:
Maschell 2016-08-09 10:57:25 +02:00
parent 4c496011da
commit 4e38178c16
3 changed files with 3 additions and 4 deletions

View File

@ -126,7 +126,7 @@ ConfigReader::~ConfigReader()
}
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;
if(HID_DEBUG) log_printf("Opening %s\n",path.c_str());
std::vector<std::string> config_files;

View File

@ -31,7 +31,7 @@
#include "../dynamic_libs/fs_functions.h"
#include "cp_retain_vars.h"
#define CONTROLLER_PATCHER_PATH "/vol/external01/wiiu/controller";
class ConfigReader
{

View File

@ -22,8 +22,7 @@
extern "C" {
#endif
#include "common/types.h"
#include "common/common.h"
#include <gctypes.h>
#include "dynamic_libs/os_functions.h"
#include "dynamic_libs/syshid_functions.h"
#include "dynamic_libs/vpad_functions.h"