mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-22 04:24:44 +00:00
bad apple!!
This commit is contained in:
parent
e04b4d1f9d
commit
ae33b8ccce
1 changed files with 1 additions and 3 deletions
|
@ -45,9 +45,7 @@ public:
|
|||
int icon_size;
|
||||
|
||||
static float parseAsFloat(const std::string& str, const int& offset) {
|
||||
float num;
|
||||
std::from_chars(str.data(), str.data() + str.size() - offset, num);
|
||||
return num;
|
||||
return std::stof(str.substr(0, str.size() - offset));
|
||||
}
|
||||
|
||||
static float parseSizeMB(const std::string& size) {
|
||||
|
|
Loading…
Add table
Reference in a new issue