On a 64-bit MSVC compile, most N64 games (e.g. Mario 64) crash immediately.

The crash appears to be in video_filter16, at the following line:
pix = vbuff[leftup ^ WORD_ADDR_XOR];

leftup is 0xfffffebe. WORD_ADDR_XOR is a macro so I can't easily debug what it's returning but maybe it's wrong on 64-bit?

EDIT: Hmm no, seems to be the same as on 32-bit, I guess leftup or vbuff is wrong somehow....

Last edited by Justin; 11/15/09 07:37 PM.