1,554
edits
m (update video) |
(Update on our showstopper) |
||
Line 32: | Line 32: | ||
This will let us get rid of file_open() too which is an implementation of | This will let us get rid of file_open() too which is an implementation of | ||
an ugly idea. | an ugly idea. | ||
==== Update ==== | |||
''sev:'' As a temporary solution I fixed that with such code: | |||
data_readData(game_extHandle, (char *)&game_extTable->items[i].offset, 4); | |||
game_extTable->items[i].offset = FROM_LE_32(game_extTable->items[i].offset); | |||
data_readData(game_extHandle, (char *)&game_extTable->items[i].size, 2); | |||
game_extTable->items[i].size = FROM_LE_16(game_extTable->items[i].size); | |||
which is ugly, difficult to read but feasible until proper object-oriented implementation will be done | |||
== Main and long-term goals == | == Main and long-term goals == |