From a2b5316b61cd4d2f25623faf62cab8f78158e844 Mon Sep 17 00:00:00 2001 From: mtabachenko Date: Wed, 19 Nov 2008 07:56:57 +0000 Subject: [PATCH] core: - fixed broken input (typo fix); --- desmume/src/NDSSystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 8a396cf3d..e493e2663 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -1652,8 +1652,8 @@ void NDS_setPad(bool R,bool L,bool D,bool U,bool T,bool S,bool B,bool A,bool Y,b ((l) >> 2) | ((u) >> 1) | ((d)) | - ((r) << 1) | - ((l) << 2)) ; + ((e) << 1) | + ((w) << 2)) ; ((u16 *)ARM9Mem.ARM9_REG)[0x130>>1] = (u16)pad; ((u16 *)MMU.ARM7_REG)[0x130>>1] = (u16)pad;