Homebrew [Question] FSDIR_Read

  • Thread starter Thread starter ely42
  • Start date Start date
  • Views Views 1,119
  • Replies Replies 4

ely42

Member
Newcomer
Joined
May 28, 2016
Messages
19
Reaction score
7
Trophies
0
XP
111
Country
France
Hello guys :) can one of you help me to understand how to sort entries read by the libctru FSDIR_Read function ?
 
Last edited by RealityNinja,
  • Like
Reactions: ely42
  • Like
Reactions: RealityNinja
Thanks :) I already read both, I will study the steveice10 code more deeply. Thanks for answering mate :)
That example is probably way more than you need as it spawns a thread to read the directory. The part that directly relates to your question is - use qsort (or your own sort algorithm) to sort the results.
 
  • Like
Reactions: ely42

Site & Scene News

Popular threads in this forum