[Question] FSDIR_Read

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

  1. ely42
    OP

    ely42 Member

    Newcomer
    19
    7
    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
    1,713
    530
    Nov 4, 2015
    France
    Pokéland
    Last edited by Omegadrien, Oct 29, 2016
    ely42 likes this.
  3. ely42
    OP

    ely42 Member

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

    elhobbs GBAtemp Advanced Fan

    Member
    813
    300
    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
    19
    7
    May 28, 2016
    France
    Thanks :)