[Question] FSDIR_Read

Discussion in '3DS - Homebrew Development and Emulators' started by ely42, Oct 29, 2016.

  1. ely42
    OP

    ely42 Member

    Newcomer
    1
    May 28, 2016
    France
    Hello guys :) can one of you help me to understand how to sort entries read by the libctru FSDIR_Read function ?
     
  2. Omegadrien

    Omegadrien GBAtemp Advanced Maniac

    Member
    5
    Nov 4, 2015
    France
    Pokéland
    Last edited by Omegadrien, Oct 29, 2016
    ely42 likes this.
  3. ely42
    OP

    ely42 Member

    Newcomer
    1
    May 28, 2016
    France
    Omegadrien likes this.
  4. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    5
    Jul 28, 2008
    United States
    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.
     
    ely42 likes this.
  5. ely42
    OP

    ely42 Member

    Newcomer
    1
    May 28, 2016
    France
    Thanks :)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice