Make debug message explicit about enabling or disabling IOS reload block

This commit is contained in:
entropy 2012-01-29 22:57:14 +00:00
parent 9daaa1365c
commit 626fbfddeb

View File

@ -271,7 +271,7 @@ s32 IOSReloadBlock(u8 reqios, bool enable)
} }
s32 r = IOS_Ioctlv(ESHandle, 0xA0, 2, 0, vector); s32 r = IOS_Ioctlv(ESHandle, 0xA0, 2, 0, vector);
gprintf("Enable/Disable Block IOS Reload for cIOS%uv%u %s\n", IOS_GetVersion(), IOS_GetRevision() % 100, r < 0 ? "FAILED!" : "SUCCEEDED!"); gprintf("%s Block IOS Reload for cIOS%uv%u %s\n", (enable ? "Enable" : "Disable"), IOS_GetVersion(), IOS_GetRevision() % 100, r < 0 ? "FAILED!" : "SUCCEEDED!");
IOS_Close(ESHandle); IOS_Close(ESHandle);
@ -307,4 +307,4 @@ void PatchAspectRatio(void *addr, u32 len, u8 aspect)
} }
addr_start += 4; addr_start += 4;
} }
} }