#142 If code bug fix

Latest SVN
closed-fixed
CrazyMax
None
5
2014-08-17
2012-06-23
Codr
No

The "if" codes cause DeSmuME to parse over the rest of the code if the condition isn't met, until it finds a D0 or D2. In the process, it doesn't take into consideration that E codes throw in random data that could start with D0 or D2 on a line. This causes the "if" loop to prematurely end, resulting in execution of E data that was intended to be written, not intended to be an operation line.

I've fixed this problem. I only tested it once, and think it's fine, but feel free to give it further thought.

Discussion

  • Codr

    Codr - 2012-06-23
     
  • Codr

    Codr - 2012-06-24
    • milestone: --> Latest SVN
     
  • zeromus

    zeromus - 2012-06-24
    • assigned_to: nobody --> mtabachenko
     
  • Normmatt

    Normmatt - 2014-08-17

    Fixed in [r5047].

     

    Related

    Commit: [r5047]

  • Normmatt

    Normmatt - 2014-08-17
    • status: open --> closed-fixed
     

Log in to post a comment.