Previous 15994 Revisions Next

r4032 Wednesday 31st December, 2008 at 02:32:36 UTC by Firewave
[C64] Fixed swap in "CTRLSEL" port for paddle (exposed by cppcheck)
[src/mess/machine]c64.c

src/mess/machine/c64.c
r4031r4032
941941
942942   if (input_port_read(machine, "CTRLSEL") & 0x80)      /* Swap */
943943   {
944      temp = pot1; pot1 = pot2; pot2 = pot1;
945      temp = pot3; pot3 = pot4; pot4 = pot3;
944      temp = pot1; pot1 = pot2; pot2 = temp;
945      temp = pot3; pot3 = pot4; pot4 = temp;
946946   }
947947
948948   switch (cia0porta & 0xc0)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team