• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

help with AGBprint functions

  • 19
    Posts
    6
    Years
    from \include\config.h
    Code:
    #define NDEBUG
    
    // To enable print debugging, comment out "#define NDEBUG". This allows
    // the various AGBPrint functions to be used. (See include/gba/isagbprint.h).
    // Some emulators support a debug console window: uncomment NoCashGBAPrint()
    // and NoCashGBAPrintf() in libisagbprn.c to use no$gba's own proprietary
    // printing system. Use NoCashGBAPrint() and NoCashGBAPrintf() like you
    // would normally use AGBPrint() and AGBPrintf().
    
    // NOTE: Don't try to enable assert right now as many pointers
    // still exist in defines and WILL likely result in a broken ROM.

    Can you enable the other AGBPrint functions without enabling AGBAssert? also, what does assert do? it looks like error handling in it's function definition, but when I see it used in the code it's handling memory (I think).

    the files involved to my knowledge are: \include\config.h & \include\gba\isagbprint.h & \src\libisagbprn.c
    the files where I saw AGBAssert used for memory used is as AGB_ASSERT. if you need to find the calls you can do a ctrl&shift&F (notepad++)

    I'd been banging my head on this for at least 7 hrs yesterday. please help.
     
    Back
    Top