Hello!
Here's what I found...
The dtor of the ez_ilda class...
Code:
//############################################################################
ez_ilda::~ez_ilda()
{
delete wave_offsets;
bmp_free (&bmp);
bmp_free (&background);
ez_ilda_pointer = NULL;
SDL_FreeSurface (screen); // <--- this right here!
SDL_Quit ();
}
Also, I am still having weird problems with crashing durring wave file input. It says:
The instruction at 0xblahblahblah referenced memory at "0x00000002". The memory could not be written.
"0x00000002" is stdout, is it not?
Other than that, I think I got the sample shifting stuff working!!!!
James.