mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Revert "Merge pull request #47 from lioncash/remove-stringfromint"
Breaks Android build. This reverts commit12d026c544
, reversing changes made to6d678490f5
.
This commit is contained in:
@ -185,6 +185,13 @@ bool TryParse(const std::string &str, bool *const output)
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string StringFromInt(int value)
|
||||
{
|
||||
char temp[16];
|
||||
sprintf(temp, "%i", value);
|
||||
return temp;
|
||||
}
|
||||
|
||||
std::string StringFromBool(bool value)
|
||||
{
|
||||
return value ? "True" : "False";
|
||||
|
Reference in New Issue
Block a user