mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Prevent a warning when loading some utility mods.
This commit is contained in:
parent
d0a9813844
commit
cb99c9fc4a
1 changed files with 5 additions and 1 deletions
|
@ -293,7 +293,11 @@ static u32 sceUtilityLoadModule(u32 module) {
|
|||
u32 allocSize = info->size;
|
||||
char name[64];
|
||||
snprintf(name, sizeof(name), "UtilityModule/%x", module);
|
||||
currentlyLoadedModules[module] = userMemory.Alloc(allocSize, false, name);
|
||||
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…
Add table
Reference in a new issue