diff --git a/source/controller.hpp b/source/controller.hpp index f12645e..5498e2f 100644 --- a/source/controller.hpp +++ b/source/controller.hpp @@ -137,6 +137,10 @@ public: // Pushing input code into the port port = code; + + // Adding joypad signature + // Per https://www.nesdev.org/wiki/Standard_controller, the joypad reports 1s after the first 8 bits + port |= ~0xFF; } // If its fourscore, its like two joypads separated by a |