]> git.zarvox.org Git - usbsnes.git/commit
Functional code for SNES port 2. master
authorDrew Fisher <drew.m.fisher@gmail.com>
Mon, 21 Jun 2010 00:49:36 +0000 (17:49 -0700)
committerDrew Fisher <drew.m.fisher@gmail.com>
Mon, 21 Jun 2010 00:49:36 +0000 (17:49 -0700)
commit49d931ef91c8c54a92610087e6701c039151afca
tree2324b0f6b9f63664d2c1c27b323ec5931bc834d4
parent22c678ba69b809e2ec8b2a8e10e54b184939a1d0
Functional code for SNES port 2.

The assembly routine doesn't work.  No idea why; I'll rework it later.
In the meantime, it's a bad idea to poll the SNES in an interrupt
routine, so the interrupt now sets readyToPollSnes every 1/60th of a
second instead, and the actual polling code has been placed in
getButtons().

This will likely all need a rework when I move to support polling two
controllers simultaneously.
main.c