diff --git a/libctru/include/3ds/services/gspgpu.h b/libctru/include/3ds/services/gspgpu.h index b03de3a..79d0531 100644 --- a/libctru/include/3ds/services/gspgpu.h +++ b/libctru/include/3ds/services/gspgpu.h @@ -99,7 +99,7 @@ void gspExit(void); * @param mode Mode configuration to be written to LCD register * @note The most recently presented buffer is processed and configured during the specified screen's next VBlank event. */ -void gspPresentBuffer(unsigned screen, unsigned swap, const void* fb_a, const void* fb_b, unsigned stride, u32 mode); +void gspPresentBuffer(unsigned screen, unsigned swap, const void* fb_a, const void* fb_b, u32 stride, u32 mode); /** * @brief Configures a callback to run when a GSPGPU event occurs. diff --git a/libctru/source/services/gspgpu.c b/libctru/source/services/gspgpu.c index 30dd1c4..fc50958 100644 --- a/libctru/source/services/gspgpu.c +++ b/libctru/source/services/gspgpu.c @@ -219,7 +219,7 @@ void gspExit(void) svcCloseHandle(gspGpuHandle); } -void gspPresentBuffer(unsigned screen, unsigned swap, const void* fb_a, const void* fb_b, unsigned stride, u32 mode) +void gspPresentBuffer(unsigned screen, unsigned swap, const void* fb_a, const void* fb_b, u32 stride, u32 mode) { GSPGPU_FramebufferInfo info; info.active_framebuf = swap;