From 534d4e0612d96210fe76c03c8c0a0355e0f20453 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Fri, 26 Aug 2016 10:05:03 -0500 Subject: Fix compatibility across the board Change-Id: I6376920775ddabb4d4af505fffd86e404403a64a --- minui/minui.h | 2 ++ minui/resources.cpp | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'minui') diff --git a/minui/minui.h b/minui/minui.h index 5e49100cd..dee46411e 100644 --- a/minui/minui.h +++ b/minui/minui.h @@ -108,6 +108,8 @@ int res_create_display_surface(const char* name, GRSurface** pSurface); // by row. int res_create_multi_display_surface(const char* name, int* frames, int* fps, GRSurface*** pSurface); +int res_create_multi_display_surface(const char* name, int* frames, + GRSurface*** pSurface); // Load a single alpha surface from a grayscale PNG image. int res_create_alpha_surface(const char* name, GRSurface** pSurface); diff --git a/minui/resources.cpp b/minui/resources.cpp index 40d3c2c88..34c9c82ba 100644 --- a/minui/resources.cpp +++ b/minui/resources.cpp @@ -323,6 +323,12 @@ exit: return result; } +int res_create_multi_display_surface(const char* name, int* frames, + GRSurface*** pSurface) { + int fps = 0; + return res_create_multi_display_surface(name, frames, &fps, pSurface); +} + int res_create_alpha_surface(const char* name, GRSurface** pSurface) { GRSurface* surface = NULL; int result = 0; -- cgit v1.2.3