Page 1 of 1

Which version supports touchscreen in emulators?

Posted: Wed Jan 05, 2011 7:02 pm
by Oranj
I want to use an emulator for debugging but with latest libnds touchscreen doesn't work on any!
But there was a version of libnds that didn't have this problem since there are homebrews that work properly in emlators.
Emulators I tried: iDeaS, DeSmuME.
NO$GBA works but it doesn't support FAT which I also need.
By doesn't work I mean touchRead(&touchXY) returns zeroes.

Re: Which version supports touchscreen in emulators?

Posted: Thu Jan 06, 2011 5:55 am
by WinterMute
The most recent release announcements for libnds include a link to a working DeSmuME build. http://devkitpro.org/viewtopic.php?f=13&t=2389

This is an emulator problem, not a libnds problem. Please report the issue to the emulator authors and do not attempt to use old versions of libnds to avoid emulator bugs.

If you're using FAT to load files you could consider using nitroFS via libfilesystem instead. The latest builds work just fine with DeSmuME.

Re: Which version supports touchscreen in emulators?

Posted: Thu Jan 06, 2011 6:02 pm
by PypeBros
Iirc, this problem was due to an incomplete support of FIFO in the older versions of desmume and an increased use of FIFO in later versions of libnds. Correct ?

Re: Which version supports touchscreen in emulators?

Posted: Thu Jan 06, 2011 6:46 pm
by WinterMute
Not paticularly no, it was incomplete emulation of FIFO related interrupts. You're about 2 or 3 years behind the times :p

Re: Which version supports touchscreen in emulators?

Posted: Thu Jan 06, 2011 10:04 pm
by Oranj
Problem solved, works fine in latest desmume svn3904