Fix broken touch screen input

* Add touchInit() to arm7 main function. Even original NitroHax
currently does not have working touch if compiled on modern libnds.
This commit is contained in:
ApacheThunder 2024-11-23 23:51:45 -06:00
parent c9f2e88f25
commit 6281aee7cc
3 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@ arm7/build
arm9/build/
arm9/data/
arm9/source/version.h
ModCryptTest
*.cmd
*.nds
*.dsi

View File

@ -10,8 +10,8 @@ include $(DEVKITARM)/ds_rules
export TARGET := NitroHax
export TOPDIR := $(CURDIR)
export VERSION_MAJOR := 1
export VERSION_MINOR := 0
export VERSION_MAJOR := 0
export VERSION_MINOR := 98
export VERSTRING := $(VERSION_MAJOR).$(VERSION_MINOR)

View File

@ -30,10 +30,11 @@ int main(void) {
irqInit();
fifoInit();
// read User Settings from firmware
readUserSettings();
touchInit();
// Start the RTC tracking IRQ
initClockIRQ();