You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Until the entire game code is rewritten, the code will require 32-bit pointers as they might be casted to register values or 32-bit variables.
However, internally, the code will continue to use some native pointers, so the sizeof() structures would change on 64 bit (which is why 64 bit compilation is not supported, even with the Cpp module).
Until the entire game code is rewritten, the code will require 32-bit pointers as they might be casted to register values or 32-bit variables.
However, internally, the code will continue to use some native pointers, so the
sizeof()
structures would change on 64 bit (which is why 64 bit compilation is not supported, even with theCpp
module).Example (
lfbPtr
is native pointer):NFSIISE/src/Glide2x.h
Lines 294 to 300 in fd87de0
A possible solution is:
(or a more C++-esque solution)
For allocations, one could use the following (for Linux - Windows code would be similar):
Alternatively, there could be virtual memory to handle allocations in another address-space.
The text was updated successfully, but these errors were encountered: