From f16c114458aaad3b0885a072d703b742c32c1add Mon Sep 17 00:00:00 2001 From: "SND\\ckain_cp" Date: Fri, 7 Jun 2013 10:35:59 +0000 Subject: PSXCPU_LOG for dynarec64 (dumped only compile). Dump log only if PSXCPU_LOG defined and Config.PsxOut option is used. Minor code polishments. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85183 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfinput/xkb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/dfinput') diff --git a/plugins/dfinput/xkb.c b/plugins/dfinput/xkb.c index c10ab9c8..616e722f 100755 --- a/plugins/dfinput/xkb.c +++ b/plugins/dfinput/xkb.c @@ -149,8 +149,8 @@ void CheckKeyboard() { } } if (!found && !AnalogKeyReleased(Key)) { - for (i=0 ; i < EMU_TOTAL ; i++) { - if (Key == g.cfg.E.EmuDef[i].Mapping.Key) { + for (i=0 ; i < EMU_TOTAL ; i++) { + if (Key == g.cfg.E.EmuDef[i].Mapping.Key) { //printf("release %x and %x\n", Key, g.cfg.E.EmuDef[i].EmuKeyEvent); Key = g.cfg.E.EmuDef[i].EmuKeyEvent; //g.cfg.E.EmuDef[i].Mapping.ReleaseEventPending = 0; -- cgit v1.2.3