Closed FrenkelS closed 4 months ago
Hi,
No, the wipe doesn't work in Windows. The Windows version is just for testing and debugging so a few bits and peices are not implimented on Windows. On the GBA, frontbuffer is the video memory for the screen currently being displayed.
I'm working on a DOS port of GBADoom and I noticed the wipe effect didn't work in my port. I haven't tried building the Windows version, but when I look at the code I wonder if the screen melt does work in that version.
In
f_wipe.c
wipe_doMelt()
callsI_GetFrontBuffer()
to get a pointer to the screen. Ini_system_e32.cpp
it returnsfrontbuffer
, but this array is never drawn to the screen, right?In my port, in
wipe_StartScreen()
I copy the back buffer to the front buffer and inwipe_doMelt()
, in the while-loop, I explicitly draw the content of the front buffer to the screen.