|
18 | 18 |
|
19 | 19 | WUPS_PLUGIN_NAME("Code Patch Plugin"); |
20 | 20 | WUPS_PLUGIN_DESCRIPTION("This plugin dynamically patches executables with user-specified patches."); |
21 | | -WUPS_PLUGIN_VERSION("v1.1"); |
| 21 | +WUPS_PLUGIN_VERSION("v1.2"); |
22 | 22 | WUPS_PLUGIN_AUTHOR("pineapples721"); |
23 | 23 | WUPS_PLUGIN_LICENSE("GPL"); |
24 | 24 |
|
25 | 25 | #define ENABLED_CONFIG_ID "enabled" |
26 | | -#define NOTIFICATIONS_CONFIG_ID "logging" |
| 26 | +#define NOTIFICATIONS_CONFIG_ID "notifications" |
27 | 27 | #define CODE_PATCH_PATH "fs:/vol/external01/wiiu/codepatches/" |
28 | 28 | #define FS_MAX_MOUNTPATH_SIZE 128 |
29 | 29 |
|
@@ -135,9 +135,9 @@ INITIALIZE_PLUGIN() { |
135 | 135 | DEBUG_FUNCTION_LINE("Failed to open storage %s (%d)", WUPS_GetStorageStatusStr(storageRes), storageRes); |
136 | 136 | } else { |
137 | 137 | // Try to get values from storage |
138 | | - if ((storageRes = WUPS_GetBool(nullptr, NOTIFICATIONS_CONFIG_ID, &enabled)) == WUPS_STORAGE_ERROR_NOT_FOUND) { |
| 138 | + if ((storageRes = WUPS_GetBool(nullptr, ENABLED_CONFIG_ID, &enabled)) == WUPS_STORAGE_ERROR_NOT_FOUND) { |
139 | 139 | // Add the value to the storage if it is missing |
140 | | - if (WUPS_StoreBool(nullptr, NOTIFICATIONS_CONFIG_ID, enabled) != WUPS_STORAGE_ERROR_SUCCESS) { |
| 140 | + if (WUPS_StoreBool(nullptr, ENABLED_CONFIG_ID, enabled) != WUPS_STORAGE_ERROR_SUCCESS) { |
141 | 141 | DEBUG_FUNCTION_LINE("Failed to store bool"); |
142 | 142 | } |
143 | 143 | } else if (storageRes != WUPS_STORAGE_ERROR_SUCCESS) { |
|
0 commit comments