mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 00:08:27 -05:00
loader.cpp: improved file extension checking, made Upper/LowerStr useful
Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
This commit is contained in:
@ -13,10 +13,11 @@
|
||||
#include "common/common.h"
|
||||
|
||||
/// Make a string lowercase
|
||||
void LowerStr(char* str);
|
||||
|
||||
std::string LowerStr(std::string str);
|
||||
|
||||
/// Make a string uppercase
|
||||
void UpperStr(char* str);
|
||||
std::string UpperStr(std::string str);
|
||||
|
||||
std::string StringFromFormat(const char* format, ...);
|
||||
// Cheap!
|
||||
|
Reference in New Issue
Block a user