Difference between revisions of "FS:CheckUpdatedDat"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x088600C0] |- | 1 | u8 mediatype |- | 2-3 | u64 titleID |} =Response= {| clas...")
 
Line 34: Line 34:
 
At the start this clears the output to 0. If this is all successful, it then writes value 1 to the output.
 
At the start this clears the output to 0. If this is all successful, it then writes value 1 to the output.
  
This opens archive 0x2345678A, with the input params being used with the lowpath. Then UTF-16 lowpath "/updated.dat" is used with some FS operation with the opened archive.
+
This opens archive 0x2345678A, with the input params being used with the lowpath. Then the title savedata is mounted. Then UTF-16 lowpath "/updated.dat" is used with some FS operation with the savedata(presumably to check whether the file exists).

Revision as of 16:57, 15 September 2016

Request

Index Word Description
0 Header code [0x088600C0]
1 u8 mediatype
2-3 u64 titleID

Response

Index Word Description
0 Header code
1 Result code
2 Output bool

Description

At the start this clears the output to 0. If this is all successful, it then writes value 1 to the output.

This opens archive 0x2345678A, with the input params being used with the lowpath. Then the title savedata is mounted. Then UTF-16 lowpath "/updated.dat" is used with some FS operation with the savedata(presumably to check whether the file exists).