diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2022-06-27 22:18:11 +0200 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2022-06-27 22:18:11 +0200 |
| commit | ef776e728cfa67fbca38bb375152b336fa0b5200 (patch) | |
| tree | 4eea0faf910d2671446c3f1ff1b9714d23e53cb7 /examples/io/system573/main.c | |
| parent | f56ade9b10c7c2d37f1b0af9191560cd5f0295b4 (diff) | |
| download | psn00bsdk-ef776e728cfa67fbca38bb375152b336fa0b5200.tar.gz | |
Clean up io/system573 example and libpsxpress
Diffstat (limited to 'examples/io/system573/main.c')
| -rw-r--r-- | examples/io/system573/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/io/system573/main.c b/examples/io/system573/main.c index 64722d7..3404ee4 100644 --- a/examples/io/system573/main.c +++ b/examples/io/system573/main.c @@ -207,7 +207,7 @@ int main(int argc, const char* argv[]) { // Change the currently active light if the test button on the 573's // front panel is pressed. DDR non-light outputs are skipped. - if ((last_inputs & JAMMA_TEST) && !(inputs & JAMMA_TEST)) { + if (!(last_inputs & JAMMA_TEST) && (inputs & JAMMA_TEST)) { current_light++; if ( (current_light == 4) || // DDR_LIGHT_P1_MUX_DATA |
