mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix some formatting warnings.
This commit is contained in:
parent
db77dcd149
commit
be55be7dcb
3 changed files with 3 additions and 3 deletions
|
@ -473,7 +473,7 @@ void Config::Save() {
|
||||||
pinnedPaths->Clear();
|
pinnedPaths->Clear();
|
||||||
for (size_t i = 0; i < vPinnedPaths.size(); ++i) {
|
for (size_t i = 0; i < vPinnedPaths.size(); ++i) {
|
||||||
char keyName[64];
|
char keyName[64];
|
||||||
snprintf(keyName, sizeof(keyName), "Path%d", i);
|
snprintf(keyName, sizeof(keyName), "Path%d", (int)i);
|
||||||
pinnedPaths->Set(keyName, vPinnedPaths[i]);
|
pinnedPaths->Set(keyName, vPinnedPaths[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1550,7 +1550,7 @@ u32 AllocMemoryBlock(const char *pname, u32 type, u32 size, u32 paramsAddr) {
|
||||||
if (!block->IsValid())
|
if (!block->IsValid())
|
||||||
{
|
{
|
||||||
delete block;
|
delete block;
|
||||||
ERROR_LOG(SCEKERNEL, "AllocMemoryBlock(%s, %i, %08x, %08x): allocation failed");
|
ERROR_LOG(SCEKERNEL, "AllocMemoryBlock(%s, %i, %08x, %08x): allocation failed", pname, type, size, paramsAddr);
|
||||||
return SCE_KERNEL_ERROR_MEMBLOCK_ALLOC_FAILED;
|
return SCE_KERNEL_ERROR_MEMBLOCK_ALLOC_FAILED;
|
||||||
}
|
}
|
||||||
SceUID uid = kernelObjects.Create(block);
|
SceUID uid = kernelObjects.Create(block);
|
||||||
|
|
|
@ -188,7 +188,7 @@ Opcode Read_Instruction(u32 address, bool resolveReplacements)
|
||||||
return Opcode(op);
|
return Opcode(op);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ERROR_LOG(HLE, "Replacement, but no replacement op? %08x", inst);
|
ERROR_LOG(HLE, "Replacement, but no replacement op? %08x", inst.encoding);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return inst;
|
return inst;
|
||||||
|
|
Loading…
Add table
Reference in a new issue