From ea4410a0c4c7f9dc43f23060b99443cc426eea50 Mon Sep 17 00:00:00 2001 From: AzureMarker Date: Sat, 22 Jan 2022 18:39:38 -0800 Subject: [PATCH] Make standard gfx calls on every frame in file-explorer --- ctru-rs/examples/file-explorer.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ctru-rs/examples/file-explorer.rs b/ctru-rs/examples/file-explorer.rs index 988283b..845e56d 100644 --- a/ctru-rs/examples/file-explorer.rs +++ b/ctru-rs/examples/file-explorer.rs @@ -62,6 +62,8 @@ impl<'a> FileExplorer<'a> { self.get_next_path(); } + self.gfx.flush_buffers(); + self.gfx.swap_buffers(); self.gfx.wait_for_vblank(); } }