I tried to track this down and thought that maybe I had an alignment issue so I put in a
Code: Select all
sprintf(xdebug_string, "%0X", (unsigned int)(&acme8pt_start) );
(this is outside the main loop and only gets called once at startup)
Then I would add more code and it would come back. For the past couple of weeks I have been in the habbit adding/removing lines of sprintf so that everything runs ok like this
Code: Select all
sprintf(xdebug_string, "%0X", (unsigned int)(&acme8pt_start) );
sprintf(xdebug_string, "%0X", (unsigned int)(&acme8pt_start) );
sprintf(xdebug_string, "%0X", (unsigned int)(&acme8pt_start) );
//sprintf(xdebug_string, "%0X", (unsigned int)(&acme8pt_start) );
For the past two days I have been trimming my vertex format down to optimize my game, but have now run into a situation where no amount of sprintf's make the flashing black screen go away.
Has anyone experienced anything like this? It seems like an alignment issue to me but I have spent the past two days making sure everything I can is aligned and I just can't get this to go away this time.
I realize it's a long shot but I am getting desperate...