]> Chaos Git - corbenik/ctrulib.git/commit
Updated APT_CheckNew3DS to only use the APT cmds once(which also now calls aptOpenSes...
authoryellows8 <yellows8@users.noreply.github.com>
Sun, 2 Nov 2014 03:48:35 +0000 (23:48 -0400)
committeryellows8 <yellows8@users.noreply.github.com>
Sun, 2 Nov 2014 03:48:35 +0000 (23:48 -0400)
commit3135d1c344e59261e0cf0f6fb5dd5a769c0dab2a
tree70e431476bca3da4a63facc182dba4d1d8fd2dd6
parent4e90fbb905f11dc20dc271a171328491aa6edc4f
Updated APT_CheckNew3DS to only use the APT cmds once(which also now calls aptOpenSession/aptCloseSession), then store the output value in a flag which is then used for all future APT_CheckNew3DS calls. Updated HID init/shutdown code to automatically call irrst init/shutdown code when running on new3ds. Updated irrst init code to only do init when it wasn't already initialized, likewise for the irrst shutdown code.
libctru/include/3ds/services/apt.h
libctru/source/services/apt.c
libctru/source/services/hid.c
libctru/source/services/irrst.c