diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 1e11b7438..45b4528b3 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -1792,7 +1792,7 @@ void NDS_setPad(bool R,bool L,bool D,bool U,bool T,bool S,bool B,bool A,bool Y,b else { if (countLid > 0) - countLid = countLid--; + countLid--; } u16 padExt = (((u16 *)MMU.ARM7_REG)[0x136>>1] & 0x0070) |