#32 port to amd64

open
Generic (7)
5
2006-10-17
2006-10-17
Transcendor
No

There were only two problems when compiling on linux
amd64 (source version 1.7.2):
A profiling function in /prof/prof.cpp that tried to
store a pointer address in an u32. Fixed that by using
u64 and generating the now necessary functions
profPut64 and profWrite64.
In /sdl/debugger.cpp there was quite the same problem.
but because there was no size-specific function I would
have to rewrite I simply replaced the cast to (u32) by
(unsigned size_t).
VBA works now in 64bit - I didn't test if I broke
things when trying to compile it for 32bit architectures

Discussion

  • Transcendor
    Transcendor
    2006-10-17

    Patches for /src/prof/prof.cpp and /src/sdl/debugger.cpp (vers. 1.7.2)

     
    Attachments