Ported to new libctru