the problem should be in video/snes.c. and I'm fairly sure that it's some new code that screws up the compiler and probably it's just a silly mistake I've done in rewriting the routines... I'm just not sure about how to properly debug it (so far I haven't managed to trace back the issue
)