equal
deleted
inserted
replaced
138 begin |
138 begin |
139 PathPrefix := Strpas(path); |
139 PathPrefix := Strpas(path); |
140 |
140 |
141 uUtils.initModule(false); |
141 uUtils.initModule(false); |
142 uVariables.initModule; |
142 uVariables.initModule; |
143 uPhysFSLayer.initModule; |
143 |
|
144 PathPrefix:= PathPrefix + #0; |
|
145 UserPathPrefix:= UserPathPrefix + #0; |
|
146 uPhysFSLayer.initModule(@PathPrefix[1], @UserPathPrefix[1]); |
|
147 PathPrefix:= copy(PathPrefix, 1, length(PathPrefix) - 1); |
|
148 UserPathPrefix:= copy(UserPathPrefix, 1, length(UserPathPrefix) - 1); |
144 |
149 |
145 LoadLocale(Strpas(filename)); |
150 LoadLocale(Strpas(filename)); |
146 |
151 |
147 uPhysFSLayer.freeModule; |
152 uPhysFSLayer.freeModule; |
148 uVariables.freeModule; |
153 uVariables.freeModule; |