mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Fix some formatting warnings.
This commit is contained in:
parent
db77dcd149
commit
be55be7dcb
@ -473,7 +473,7 @@ void Config::Save() {
|
||||
pinnedPaths->Clear();
|
||||
for (size_t i = 0; i < vPinnedPaths.size(); ++i) {
|
||||
char keyName[64];
|
||||
snprintf(keyName, sizeof(keyName), "Path%d", i);
|
||||
snprintf(keyName, sizeof(keyName), "Path%d", (int)i);
|
||||
pinnedPaths->Set(keyName, vPinnedPaths[i]);
|
||||
}
|
||||
|
||||
|
@ -1550,7 +1550,7 @@ u32 AllocMemoryBlock(const char *pname, u32 type, u32 size, u32 paramsAddr) {
|
||||
if (!block->IsValid())
|
||||
{
|
||||
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;
|
||||
}
|
||||
SceUID uid = kernelObjects.Create(block);
|
||||
|
@ -188,7 +188,7 @@ Opcode Read_Instruction(u32 address, bool resolveReplacements)
|
||||
return Opcode(op);
|
||||
}
|
||||
} else {
|
||||
ERROR_LOG(HLE, "Replacement, but no replacement op? %08x", inst);
|
||||
ERROR_LOG(HLE, "Replacement, but no replacement op? %08x", inst.encoding);
|
||||
}
|
||||
}
|
||||
return inst;
|
||||
|
Loading…
Reference in New Issue
Block a user