Trying to compile my own AtmoXL with some adjustments but i still getting this error (compiling with libnx 4.3.0 and libusbhsfs 0.2.8 as author mentioned). Tried also to add line "include <algorithm> in usbhdd.cpp and it compiles without any errors, but in app when i sellect install title from usb hdd the aplication stuck and after few seconds crash. Normal version works without any issues.
Any ideas?
Code:
usbhdd.cpp
C:/devkitPro/AtmoXL-Titel-Installer-1.7.3/source/nx/usbhdd.cpp: In function 'int nx::hdd::entry(void*)':
C:/devkitPro/AtmoXL-Titel-Installer-1.7.3/source/nx/usbhdd.cpp:119:97: error: 'min' is not a member of 'std'
119 | if(!(listed_device_count = usbHsFsListMountedDevices(g_usbDevices, std::min(g_usbDeviceCount, MAX_DEVICES))))
| ^~~
C:/devkitPro/AtmoXL-Titel-Installer-1.7.3/source/nx/usbhdd.cpp: In function 'u32 nx::hdd::count()':
C:/devkitPro/AtmoXL-Titel-Installer-1.7.3/source/nx/usbhdd.cpp:132:29: error: 'min' is not a member of 'std'
132 | return std::min(g_usbDeviceCount, MAX_DEVICES);
| ^~~
make[1]: *** [/opt/devkitpro/devkitA64/base_rules:16: usbhdd.o] Error 1
make: *** [Makefile:176: build] Error 2
Any ideas?