I'm trying to make a homebrew application but it seems to crash every time it goes into sleep mode, I guess that is because I'm making network requests using sslc so I would like to disable sleep mode altogether.
I've found the function "void aptSetSleepAllowed(bool allowed)" in libctru here:
github. com/smealum/ctrulib/blob/master/libctru/source/services/apt.c
(sorry I can't post links yet)
But it doesn't seem to be working.
Is is possible to disable sleep mode? Is it possible to turn off the screens too? If so, are there any examples?
Thanks!
I've found the function "void aptSetSleepAllowed(bool allowed)" in libctru here:
github. com/smealum/ctrulib/blob/master/libctru/source/services/apt.c
(sorry I can't post links yet)
But it doesn't seem to be working.
Is is possible to disable sleep mode? Is it possible to turn off the screens too? If so, are there any examples?
Thanks!
Last edited by Aridez,