mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Prevent a warning when loading some utility mods.
This commit is contained in:
parent
d0a9813844
commit
cb99c9fc4a
@ -293,7 +293,11 @@ static u32 sceUtilityLoadModule(u32 module) {
|
||||
u32 allocSize = info->size;
|
||||
char name[64];
|
||||
snprintf(name, sizeof(name), "UtilityModule/%x", module);
|
||||
if (allocSize != 0) {
|
||||
currentlyLoadedModules[module] = userMemory.Alloc(allocSize, false, name);
|
||||
} else {
|
||||
currentlyLoadedModules[module] = 0;
|
||||
}
|
||||
|
||||
// TODO: Each module has its own timing, technically, but this is a low-end.
|
||||
if (module == 0x3FF)
|
||||
|
Loading…
Reference in New Issue
Block a user