mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-17 02:09:17 +01:00
Remove some unneeded logging
This commit is contained in:
parent
f0b78caec3
commit
75735e4e4d
@ -23,9 +23,7 @@ bool PluginContainerPersistence::savePlugin(plugin_information_t *pluginInformat
|
|||||||
// Copy data to global struct.
|
// Copy data to global struct.
|
||||||
plugin_information_single_t *plugin_data = &(pluginInformation->plugin_data[plugin_count]);
|
plugin_information_single_t *plugin_data = &(pluginInformation->plugin_data[plugin_count]);
|
||||||
|
|
||||||
DEBUG_FUNCTION_LINE("%08X", plugin_data);
|
|
||||||
// Make sure everything is reset.
|
// Make sure everything is reset.
|
||||||
//plugin_data = {};
|
|
||||||
memset((void *) plugin_data, 0, sizeof(plugin_information_single_t));
|
memset((void *) plugin_data, 0, sizeof(plugin_information_single_t));
|
||||||
|
|
||||||
const auto &pluginMetaInfo = plugin.getMetaInformation();
|
const auto &pluginMetaInfo = plugin.getMetaInformation();
|
||||||
|
@ -66,8 +66,6 @@ std::optional<PluginMetaInformation> PluginMetaInformationFactory::loadPlugin(co
|
|||||||
|
|
||||||
uint32_t sec_num = reader.sections.size();
|
uint32_t sec_num = reader.sections.size();
|
||||||
|
|
||||||
DEBUG_FUNCTION_LINE("%d number of sections", sec_num);
|
|
||||||
|
|
||||||
for (uint32_t i = 0; i < sec_num; ++i) {
|
for (uint32_t i = 0; i < sec_num; ++i) {
|
||||||
section *psec = reader.sections[i];
|
section *psec = reader.sections[i];
|
||||||
|
|
||||||
@ -101,7 +99,6 @@ std::optional<PluginMetaInformation> PluginMetaInformationFactory::loadPlugin(co
|
|||||||
std::string value(curEntry + firstFound + 1);
|
std::string value(curEntry + firstFound + 1);
|
||||||
|
|
||||||
if (key.compare("name") == 0) {
|
if (key.compare("name") == 0) {
|
||||||
DEBUG_FUNCTION_LINE("Name = %s", value.c_str());
|
|
||||||
pluginInfo.setName(value);
|
pluginInfo.setName(value);
|
||||||
} else if (key.compare("author") == 0) {
|
} else if (key.compare("author") == 0) {
|
||||||
pluginInfo.setAuthor(value);
|
pluginInfo.setAuthor(value);
|
||||||
|
Loading…
Reference in New Issue
Block a user