mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Symbian Installation File] Adjust parsing so options are parsed first to have their name available when used as conditions.
This commit is contained in:
@@ -132,9 +132,19 @@ public sealed partial class Symbian
|
||||
uint offset = sh.files_ptr;
|
||||
var conditionLevel = 0;
|
||||
|
||||
// Get only the options records
|
||||
do
|
||||
{
|
||||
Parse(br, ref offset, ref currentFile, sh.files, languages, ref conditionLevel);
|
||||
Parse(br, ref offset, ref currentFile, sh.files, languages, ref conditionLevel, true);
|
||||
} while(currentFile < sh.files);
|
||||
|
||||
// Get all other records
|
||||
offset = sh.files_ptr;
|
||||
currentFile = 0;
|
||||
conditionLevel = 0;
|
||||
do
|
||||
{
|
||||
Parse(br, ref offset, ref currentFile, sh.files, languages, ref conditionLevel, false);
|
||||
} while(currentFile < sh.files);
|
||||
|
||||
// Files appear on .sis in the reverse order they should be processed
|
||||
|
||||
Reference in New Issue
Block a user