How do you fix screen Tearing/Flickering with libctru console?

Discussion in '3DS - Homebrew Development and Emulators' started by AxiosAmnesia, Apr 12, 2017.

  1. AxiosAmnesia
    OP

    AxiosAmnesia Newbie

    Newcomer
    8
    3
    Apr 12, 2017
    United States
    First of all, Hello! (This is my first post)

    I've been messing around with 3ds development for about a week and there is just one thing I cannot seem to figure out. Whenever I draw to the console the screen will flicker or tear brefly, then revert to how it should be.

    Could you guys help point me in the direction of how to fix this? I've seen some suggestions on github that you need to set up double buffering, but I am unsure how to implement this.

    ATM in my main loop i'm using these three functions in this order.
    gfxFlushBuffers();
    gfxSwapBuffers();
    gspWaitForVBlank();

    Whenever I'm going to print to the console I select it with consoleSelect(PrintConsole & name), then clear it with consoleClear().


    Thanks for your time.