gspPresentBuffer: stride is u32

This commit is contained in:
fincs 2020-06-13 21:57:09 +02:00
parent 6ef91576ae
commit 09d629aa85
No known key found for this signature in database
GPG Key ID: 62C7609ADA219C60
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ void gspExit(void);
* @param mode Mode configuration to be written to LCD register * @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. * @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. * @brief Configures a callback to run when a GSPGPU event occurs.

View File

@ -219,7 +219,7 @@ void gspExit(void)
svcCloseHandle(gspGpuHandle); 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; GSPGPU_FramebufferInfo info;
info.active_framebuf = swap; info.active_framebuf = swap;