#168539 - sverx - Mon May 04, 2009 12:14 pm
Hi! I've got that simple piece of code that doesn't work as expected both with no$gba and a real NDS Lite... it swaps screens only if I press the X button, nothing happens if I use the LEFT or RIGHT keys instead.
I'm using the latest devkit and libnds, AFAIK...
Any ideas? I've been searching the forum for this with no luck...
Thanks!
?
I'm using the latest devkit and libnds, AFAIK...
Code: |
if (keysHeld() & (KEY_LEFT|KEY_RIGHT|KEY_X)) {
lcdMainOnBottom(); } else { lcdMainOnTop(); } |
Any ideas? I've been searching the forum for this with no luck...
Thanks!
?