mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-16 15:49:23 +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 DEFAULT_LANG_PATH DEFAULT_WUPSLOADER_PATH "/languages"
|
||||||
#define LANGUAGE_FILE_EXT ".lang"
|
#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_PATH SD_PATH WIIU_PATH "/plugins/temp"
|
||||||
#define WUPS_TEMP_PLUGIN_FILE WUPS_TEMP_PLUGIN_PATH "/temp.mod"
|
#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
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
#include "common/common.h"
|
||||||
#include "ContentHome.h"
|
#include "ContentHome.h"
|
||||||
#include "plugin/PluginLoader.h"
|
#include "plugin/PluginLoader.h"
|
||||||
#include "custom/gui/DefaultGuiSwitch.h"
|
#include "custom/gui/DefaultGuiSwitch.h"
|
||||||
@ -89,7 +90,7 @@ ContentHome::ContentHome():ContentTemplate()
|
|||||||
append(&DPADButtons);
|
append(&DPADButtons);
|
||||||
|
|
||||||
PluginLoader * pluginLoader = PluginLoader::getInstance();
|
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();
|
std::vector<PluginInformation *> pluginListLoaded = pluginLoader->getPluginsLoadedInMemory();
|
||||||
|
|
||||||
pluginsFrame.setAlignment(ALIGN_TOP_CENTER);
|
pluginsFrame.setAlignment(ALIGN_TOP_CENTER);
|
||||||
|
Loading…
Reference in New Issue
Block a user