Quick fix that should disable autohold while movie playback

This commit is contained in:
gocha 2009-07-19 13:07:03 +00:00
parent c24caade3e
commit 488fc951d0
1 changed files with 14 additions and 12 deletions

View File

@ -2442,6 +2442,7 @@ void NDS_setPad(bool R,bool L,bool D,bool U,bool T,bool S,bool B,bool A,bool Y,b
W=padarray[10];
E=padarray[11];
if (movieMode != MOVIEMODE_PLAY) {
if(AutoHold.Right) R=!padarray[0];
if(AutoHold.Left) L=!padarray[1];
if(AutoHold.Down) D=!padarray[2];
@ -2454,6 +2455,7 @@ void NDS_setPad(bool R,bool L,bool D,bool U,bool T,bool S,bool B,bool A,bool Y,b
if(AutoHold.X) X=!padarray[9];
if(AutoHold.L) W=!padarray[10];
if(AutoHold.R) E=!padarray[11];
}
//this macro is the opposite of what you would expect
#define FIX(b) (b?0:0x80)