summaryrefslogtreecommitdiff
path: root/Source/Android/jni/MainAndroid.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-03-10 22:41:49 +0100
committerJosJuice <josjuice@gmail.com>2018-05-20 15:34:03 +0200
commitcc42b4354d38055629ba3eeac92fa57582a26de0 (patch)
tree94bd53000fce61c0dd39c7aad891021ca075c864 /Source/Android/jni/MainAndroid.cpp
parent86c676ab0483dc53b3b08cb327816388d278a600 (diff)
Reimplement custom PNG banners in game list
Fixes https://bugs.dolphin-emu.org/issues/10938 and makes PNG banners available in DolphinQt2 for the first time.
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
-rw-r--r--Source/Android/jni/MainAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp
index eca343be85..47a653d927 100644
--- a/Source/Android/jni/MainAndroid.cpp
+++ b/Source/Android/jni/MainAndroid.cpp
@@ -193,7 +193,7 @@ static bool LoadBanner(std::string filename, u32* Banner)
if (pVolume != nullptr)
{
- int Width, Height;
+ u32 Width, Height;
std::vector<u32> BannerVec = pVolume->GetBanner(&Width, &Height);
// This code (along with above inlines) is moved from
// elsewhere. Someone who knows anything about Android