void write_joyport(byte value) { var si = new StrobeInfo(latched4016, value); ControllerDeck.Strobe(si, Controller); latched4016 = value; }
void write_joyport(byte value) { var si = new StrobeInfo(latched4016, value); ControllerDeck.Strobe(si, _controller); latched4016 = value; new_strobe = (value & 1) > 0; if (current_strobe && !new_strobe) { controller_was_latched = true; alt_lag = false; } }
private void write_joyport(byte value) { //Console.WriteLine("cont " + value + " frame " + Frame); var si = new StrobeInfo(latched4016, value); ControllerDeck.Strobe(si, _controller); latched4016 = value; new_strobe = (value & 1) > 0; if (current_strobe && !new_strobe) { controller_was_latched = true; alt_lag = false; lagged = false; InputCallbacks.Call(); } current_strobe = new_strobe; }