hedgewars/uPhysFSLayer.pas
changeset 8714 ab201a62d115
parent 8558 e96bf10216ef
child 8800 5e837e6d8f94
child 8833 c13ebed437cb
child 8926 8fde68cfeb71
equal deleted inserted replaced
8713:5611011e40b5 8714:ab201a62d115
   141 {$ENDIF}
   141 {$ENDIF}
   142 
   142 
   143     i:= PHYSFS_init(Str2PChar(cPhysfsId));
   143     i:= PHYSFS_init(Str2PChar(cPhysfsId));
   144     AddFileLog('[PhysFS] init: ' + inttostr(i));
   144     AddFileLog('[PhysFS] init: ' + inttostr(i));
   145 
   145 
   146     i:= PHYSFS_mount(Str2PChar(PathPrefix), nil, true);
   146     i:= PHYSFS_mount(Str2PChar(PathPrefix), nil, false);
   147     AddFileLog('[PhysFS] mount ' + PathPrefix + ': ' + inttostr(i));
   147     AddFileLog('[PhysFS] mount ' + PathPrefix + ': ' + inttostr(i));
   148     i:= PHYSFS_mount(Str2PChar(UserPathPrefix + '/Data'), nil, true);
   148     i:= PHYSFS_mount(Str2PChar(UserPathPrefix + '/Data'), nil, false);
   149     AddFileLog('[PhysFS] mount ' + UserPathPrefix + '/Data: ' + inttostr(i));
   149     AddFileLog('[PhysFS] mount ' + UserPathPrefix + '/Data: ' + inttostr(i));
   150 
   150 
   151     hedgewarsMountPackages;
   151     hedgewarsMountPackages;
   152 end;
   152 end;
   153 
   153