From 670ef1d3422b63d490555c02bc7fc2bb3484c08c Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 7 May 2020 14:35:33 +0200 Subject: [PATCH] coreinit/debug.h: Add OSIsDebuggerInitialized, OSIsDebuggerPresent, OSIsECOBoot, OSIsECOMode (#128) - add function OSIsDebuggerInitialized - add function OSIsDebuggerPresent - add function OSIsECOBoot - add function OSIsECOMode --- include/coreinit/debug.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/coreinit/debug.h b/include/coreinit/debug.h index c335029b..808d6877 100644 --- a/include/coreinit/debug.h +++ b/include/coreinit/debug.h @@ -60,6 +60,17 @@ OSGetSymbolName(uint32_t addr, uint32_t OSGetUPID(); +BOOL +OSIsDebuggerInitialized(); + +BOOL +OSIsDebuggerPresent(); + +BOOL +OSIsECOBoot(); + +BOOL +OSIsECOMode(); BOOL DisassemblePPCOpcode(uint32_t *opcode,