summaryrefslogtreecommitdiff
path: root/src/ppu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppu.cpp')
-rw-r--r--src/ppu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ppu.cpp b/src/ppu.cpp
index 19340fb..6d1af27 100644
--- a/src/ppu.cpp
+++ b/src/ppu.cpp
@@ -714,7 +714,7 @@ uint8 S9xGetCPU(uint16 Address)
}
}
return (
- (IPPU.Joypads[0]
+ (IPPU.Joypads[1]
>> (PPU.Joypad2ButtonReadPos++ ^ 15))
& 1);
}