mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Android: Silence a few warnings
This commit is contained in:
parent
9e2b9e2471
commit
dc79755303
3 changed files with 11 additions and 10 deletions
|
@ -133,7 +133,7 @@ static inline u32 GetPixel(u32 *buffer, unsigned int x, unsigned int y) {
|
|||
return buffer[y * 192 + x];
|
||||
}
|
||||
|
||||
bool LoadBanner(std::string filename, u32 *Banner)
|
||||
static bool LoadBanner(std::string filename, u32 *Banner)
|
||||
{
|
||||
DiscIO::IVolume* pVolume = DiscIO::CreateVolumeFromFilename(filename);
|
||||
|
||||
|
@ -188,7 +188,8 @@ bool LoadBanner(std::string filename, u32 *Banner)
|
|||
|
||||
return false;
|
||||
}
|
||||
std::string GetName(std::string filename)
|
||||
|
||||
static std::string GetName(std::string filename)
|
||||
{
|
||||
if (!m_names.empty())
|
||||
return m_names[0];
|
||||
|
@ -202,7 +203,7 @@ std::string GetName(std::string filename)
|
|||
return name;
|
||||
}
|
||||
|
||||
std::string GetJString(JNIEnv *env, jstring jstr)
|
||||
static std::string GetJString(JNIEnv *env, jstring jstr)
|
||||
{
|
||||
std::string result = "";
|
||||
if (!jstr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue