From 44479555584e41070e1ca51c57b42a5eec707246 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 17 Jan 2009 20:09:53 +0000 Subject: [PATCH] Fix strange usage of decrement operator. --- desmume/src/NDSSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) |