]> Chaos Git - corbenik/ctrulib.git/commitdiff
fix PM_LaunchFIRMSetParams and PM_LaunchTitle prototypes
authorDave Murphy <davem@devkitpro.org>
Sat, 13 Dec 2014 16:20:54 +0000 (16:20 +0000)
committerDave Murphy <davem@devkitpro.org>
Sat, 13 Dec 2014 16:20:54 +0000 (16:20 +0000)
libctru/include/3ds/services/pm.h

index cb5c948e350b1db7c8895fd23debc616a178ec18..27b827a343d7aac63cc0a1480d6bacd6492ea0f1 100644 (file)
@@ -14,7 +14,7 @@ About: Launches a title
   titleid              TitleId of title to launch
   launch_flags use if you know of any
 */
-Result PM_LaunchTitle(u8 mediatype, u64 titleid);
+Result PM_LaunchTitle(u8 mediatype, u64 titleid, u32 launch_flags);
 
 /* PM_GetTitleExheaderFlags()
 About: Writes to a buffer the launch flags (8 bytes) from a title exheader.
@@ -28,7 +28,7 @@ Result PM_GetTitleExheaderFlags(u8 mediatype, u64 titleid, u8* out);
 /* PM_SetFIRMLaunchParams()
 About: Sets the FIRM launch params from in
 
-  size                 size of FIRM launch params      
+  size                 size of FIRM launch params
   in                   ptr to location of FIRM launch params
 */
 Result PM_SetFIRMLaunchParams(u32 size, u8* in);
@@ -36,7 +36,7 @@ Result PM_SetFIRMLaunchParams(u32 size, u8* in);
 /* PM_GetFIRMLaunchParams()
 About: Sets the FIRM launch params from in
 
-  size                 size of buffer to store FIRM launch params      
+  size                 size of buffer to store FIRM launch params
   out                  ptr to location to write FIRM launch params
 */
 Result PM_GetFIRMLaunchParams(u32 size, u8* out);
@@ -45,7 +45,7 @@ Result PM_GetFIRMLaunchParams(u32 size, u8* out);
 About: Same as PM_SetFIRMLaunchParams(), but also triggers a FIRM launch
 
   firm_titleid_low     TitleID low of firm title to launch
-  size                         size of FIRM launch params      
+  size                         size of FIRM launch params
   in                           ptr to location of FIRM launch params
 */
-Result PM_LaunchFIRMSetParams(u64 firm_titleid_low, u32 size, u8* in);
\ No newline at end of file
+Result PM_LaunchFIRMSetParams(u32 firm_titleid_low, u32 size, u8* in);