mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2026-10-01 05:16:39 -05:00
[Loader] Added serveral minor clean ups.
This commit is contained in:
@@ -42,12 +42,12 @@ std::vector<PluginInformation *> PluginLoader::getPluginInformation(const char *
|
||||
DIR *dfd = NULL;
|
||||
|
||||
if(path == NULL) {
|
||||
DEBUG_FUNCTION_LINE("Path was NULL");
|
||||
DEBUG_FUNCTION_LINE("Path was NULL\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
if ((dfd = opendir(path)) == NULL) {
|
||||
DEBUG_FUNCTION_LINE("Couldn't open dir %s",path);
|
||||
DEBUG_FUNCTION_LINE("Couldn't open dir %s\n",path);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ class PluginLoader {
|
||||
public:
|
||||
static PluginLoader *getInstance() {
|
||||
if(!instance) {
|
||||
instance = new PluginLoader((void*)getApplicationEndAddr(),(void *)PLUGIN_LOCATION_END_ADDRESS);
|
||||
instance = new PluginLoader((void*)getApplicationEndAddr(),(void *)PLUGIN_LOCATION_END_ADDRESS);
|
||||
}
|
||||
return instance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user