Crashing -- Can't find problem

Discussion in 'Wii - Emulation and Homebrew' started by diego_pmc, Feb 3, 2010.

Feb 3, 2010
  1. diego_pmc
    OP

    Newcomer diego_pmc Advanced Member

    Joined:
    Sep 8, 2009
    Messages:
    52
    Country:
    United States
    I'm experiencing a very odd crash and I've absolutely no idea how to fix it, maybe someone here can help me. First of all, here's my source and my homebrew directory:
    - Source code (107 KB)
    - Homebrew directory (4.57 MB)

    Now the symptoms:
    The problems occurs ONLY if I draw an image on the screen, and only when the ProcessSection() function (game.cpp) is about to return to main(). If I do not draw an image there will be no errors. Also, if you look at the destructor for the Image class (graphics.cpp) you will see that it frees the in and out buffers of the JPEG image; commenting the destructor out does not help, which means that the crash is not caused by deleting data currently in use.
     
  2. diego_pmc
    OP

    Newcomer diego_pmc Advanced Member

    Joined:
    Sep 8, 2009
    Messages:
    52
    Country:
    United States
    Come on, there's got to be someone who knows what the problem might be caused by...
     

Share This Page