Tuesday, October 27, 2009

mod_time in (will crash) and mod_proc thoughts

Spent a bit of time today getting mod_time to work with Bennu.
This module makes use of SDL for the ftime function, therefore I've had to make bgdi link to it.
bgdi will crash if you try to use it as it is (get_timer and time should work fine, though) because I SDL must be running for this function to work, and I don't yet initialize it, but that shouldn't be too hard to do.

Also, spent a few minutes looking at mod_proc. It defines a few LOCALs and GLOBALs, so I have to find the place where they belong to.

Stay tuned for more updates.

PS: re-reading this, get_timer will also crash, as it also uses SDL. Initializing SDL isn't hard to do, at all, so these crashes should be easy to fix.

No comments: