#165729 - sverx - Mon Jan 05, 2009 5:37 pm
Hi!
is it normal that if you call scanKeys() function "too soon" then you get strange values? I mean, If I write:
I get
, but what is really strange is that if I do something that takes some time (don't know how long) before the scanKeys() call, where I wrote // line1, then it's 0x0000.
It happens with no$gba, going to check this on hardware too, but it's annoying.
Normal? Bug? Nightmares?
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary
Last edited by sverx on Mon Jan 05, 2009 5:42 pm; edited 1 time in total
is it normal that if you call scanKeys() function "too soon" then you get strange values? I mean, If I write:
Code: |
int main(void) {
// line1 scanKeys(); consoleDemoInit(); //setup the sub screen for printing iprintf("Keys=0x%x\n",keysDown()); . . . |
I get
Quote: |
Keys=0x1c00 |
It happens with no$gba, going to check this on hardware too, but it's annoying.
Normal? Bug? Nightmares?
_________________
libXM7|NDS programming tutorial (Italiano)|Waimanu DS / GBA|A DS Homebrewer's Diary
Last edited by sverx on Mon Jan 05, 2009 5:42 pm; edited 1 time in total