#53213 - jandujar - Tue Sep 06, 2005 8:25 pm
Hello,
I have a little problem. Here is my peace of code:
This make my game hangs.
This code hangs too:
But I can write characters or strings without any problem.
What i'm doing wrong?
Another question I have is to know which are the rang of values of the function:
touchPosition tp;
tp=touchReadXY();
tp.x between ...... min and max
tp.y between ..... min and max
tp.px ""
tp.py ""
_________________
http://jandujar.homelinux.com
http://www.dsrobot.com
I have a little problem. Here is my peace of code:
Code: |
consoleInitDefault((u16*)SCREEN_BASE_BLOCK_SUB(31), (u16*)CHAR_BASE_BLOCK_SUB(0), 16); int integer=9; consolePrintf("Integer %d\n",&integer); |
This make my game hangs.
This code hangs too:
Code: |
consolePrintf("Integer %d\n",integer); |
But I can write characters or strings without any problem.
What i'm doing wrong?
Another question I have is to know which are the rang of values of the function:
touchPosition tp;
tp=touchReadXY();
tp.x between ...... min and max
tp.y between ..... min and max
tp.px ""
tp.py ""
_________________
http://jandujar.homelinux.com
http://www.dsrobot.com