From 626fbfddeb5f40e23ac14140e7110558add1c427 Mon Sep 17 00:00:00 2001 From: entropy Date: Sun, 29 Jan 2012 22:57:14 +0000 Subject: [PATCH] Make debug message explicit about enabling or disabling IOS reload block --- source/loader/patchcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/loader/patchcode.c b/source/loader/patchcode.c index 20d7b476..78fe05c8 100644 --- a/source/loader/patchcode.c +++ b/source/loader/patchcode.c @@ -271,7 +271,7 @@ s32 IOSReloadBlock(u8 reqios, bool enable) } 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); @@ -307,4 +307,4 @@ void PatchAspectRatio(void *addr, u32 len, u8 aspect) } addr_start += 4; } -} \ No newline at end of file +}