Results 1 to 3 of 3

Thread: PersonalData struct and gbascreen in DKA r20

                  
   
  1. #1

    Default PersonalData struct and gbascreen in DKA r20

    Has anyone found a successful way to use older GBA booting codes in DKA r20 with the structure changes?


    Code:
    PersonalData->_user_data.gbascreen
    is supposed to work

    but when I use it it comes up with:
    Code:
    error: 'struct <anonymous>' has no member named 'gbascreen'
    someone said it does that when in C99 mode. Any suggestion? What are your thoughts?
    I don't go on here much anymore. Find me on GBAtemp.


  2. #2
    Dream Coder
    Join Date
    Apr 2004
    Location
    Miami, FL
    Age
    38
    Posts
    4,675
    Rep Power
    50

    Default

    That seems like the kind of error that would be given due to the fact that you're grabbing a struct out of a struct, one of which is a pointer and the other isn't. Try first extracting the inner struct to a new variable, then getting the value out of it.
    If anyone is looking to buy, sell, trade games and support a developer directly at the same time, consider joining Goozex. Enjoy!

  3. #3

    Default

    I figured out wat I did wrong... its pretty clueless of me but I didn't capitolize the 'S' in 'gbaScreen'
    I don't go on here much anymore. Find me on GBAtemp.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •