]> Chaos Git - corbenik/ctrulib.git/commitdiff
Add svcBreakRO
authorTuxSH <tuxsh@sfr.fr>
Fri, 23 Dec 2016 14:18:17 +0000 (15:18 +0100)
committerTuxSH <tuxsh@sfr.fr>
Fri, 23 Dec 2016 14:30:46 +0000 (15:30 +0100)
libctru/include/3ds/svc.h

index be62cf1ffb8e4e9dc3f78567c10ec1e197a220dc..6d6e1ddd5fdb127f22375f6f930adcaf4e868b8f 100644 (file)
@@ -977,6 +977,14 @@ Result svcKernelSetState(u32 type, ...);
  */
 void svcBreak(UserBreakType breakReason);
 
+/**
+ * @brief Breaks execution (LOAD_RO and UNLOAD_RO).
+ * @param breakReason Debug reason for breaking.
+ * @param croInfo Library information.
+ * @param croInfoSize Size of the above structure.
+ */
+void svcBreakRO(UserBreakType breakReason, const void* croInfo, u32 croInfoSize) __asm__("svcBreak");
+
 /**
  * @brief Outputs a debug string.
  * @param str String to output.