Changes

Jump to navigation Jump to search
→‎Cmd9: Removed some info from Cmd9 since Cmd9 is mostly the same as NotifyAppletEvent.
Line 274: Line 274:     
This is identical to [[#NotifyAppletEvent]] except for the additional struct/flag params.
 
This is identical to [[#NotifyAppletEvent]] except for the additional struct/flag params.
  −
When [[#PlayLogPolicy]] is 2 ("None") this will immediately return 0.
  −
  −
Logs a new [[#PlayEvent]] with the following data:
  −
* Clears the 0x10-bytes at +0x10.
  −
* u8 +0xF = [[#AppletEvent]].
  −
* Sets the 3 timestamps.
  −
* Converts '''titleID''' and writes it to +0x0.
  −
* u32 +0x8 = '''event_x8'''
  −
* u8 +0xC = [[Applet_Manager_services#AppletId|AppletId]], u8 +0xD = [[Filesystem_services#StorageId|StorageId]], and u8 +0xE = [[#PlayLogPolicy]].
      
After the initial logging, additional code runs with some of the above input params. This is handled the same as [[#NotifyAppletEvent]], except that when the u8 bool flag is set the input struct is used with this.
 
After the initial logging, additional code runs with some of the above input params. This is handled the same as [[#NotifyAppletEvent]], except that when the u8 bool flag is set the input struct is used with this.

Navigation menu