Opened 3 years ago
Closed 2 years ago
#13470 closed defect (fixed)
COMMON: Data format issues when reading and writing doubles from file streams
Reported by: | ccawley2011 | Owned by: | ccawley2011 |
---|---|---|---|
Priority: | high | Component: | Common |
Version: | Keywords: | ||
Cc: | Game: |
Description
Currently, the readDouble and writeDouble functions don't handle the following cases:
- The RISC OS port (and possibly others) use FPA word order, which means that doubles have little endian byte order and big endian word order. Some background on this can be found here: https://github.com/libsdl-org/SDL/pull/5607
- The Dreamcast and Nintendo DS ports both treat doubles as being equivalent to floats, which means that doubles are 32-bit instead of 64-bit on those platforms.
This results in broken movement in Full Pipe, and save files that are incompatible between different platforms in Versailles 1685 and Hyperspace Delivery Boy.
Change History (3)
comment:1 by , 2 years ago
Priority: | blocker → high |
---|
comment:2 by , 2 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → pending |
comment:3 by , 2 years ago
Status: | pending → closed |
---|
Note:
See TracTickets
for help on using tickets.
I think this has been fixed by #4015.