mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2025-01-11 17:19:06 +01:00
Add the path to the plugins to the common/common.h
This commit is contained in:
parent
e66a61e107
commit
3e3b66b581
@ -29,6 +29,7 @@ extern "C" {
|
||||
#define DEFAULT_LANG_PATH DEFAULT_WUPSLOADER_PATH "/languages"
|
||||
#define LANGUAGE_FILE_EXT ".lang"
|
||||
|
||||
#define WUPS_PLUGIN_PATH SD_PATH WIIU_PATH "/plugins"
|
||||
#define WUPS_TEMP_PLUGIN_PATH SD_PATH WIIU_PATH "/plugins/temp"
|
||||
#define WUPS_TEMP_PLUGIN_FILE WUPS_TEMP_PLUGIN_PATH "/temp.mod"
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
****************************************************************************/
|
||||
#include "common/common.h"
|
||||
#include "ContentHome.h"
|
||||
#include "plugin/PluginLoader.h"
|
||||
#include "custom/gui/DefaultGuiSwitch.h"
|
||||
@ -89,7 +90,7 @@ ContentHome::ContentHome():ContentTemplate()
|
||||
append(&DPADButtons);
|
||||
|
||||
PluginLoader * pluginLoader = PluginLoader::getInstance();
|
||||
std::vector<PluginInformation *> pluginList = pluginLoader->getPluginInformation("sd:/wiiu/plugins/");
|
||||
std::vector<PluginInformation *> pluginList = pluginLoader->getPluginInformation(WUPS_PLUGIN_PATH);
|
||||
std::vector<PluginInformation *> pluginListLoaded = pluginLoader->getPluginsLoadedInMemory();
|
||||
|
||||
pluginsFrame.setAlignment(ALIGN_TOP_CENTER);
|
||||
|
Loading…
x
Reference in New Issue
Block a user