mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-03-06 21:00:31 +01:00
FUCK THAT SHIT
This commit is contained in:
parent
97a00e3137
commit
dc10df0796
1 changed files with 2 additions and 1 deletions
|
@ -632,7 +632,8 @@ void Table::SetString(const std::string& path, const std::string& val)
|
||||||
void Table::SetDouble(const std::string& path, double val)
|
void Table::SetDouble(const std::string& path, double val)
|
||||||
{
|
{
|
||||||
toml::value& tval = ResolvePath(path);
|
toml::value& tval = ResolvePath(path);
|
||||||
tval = toml::value(val, {.prec=10});
|
toml::floating_format_info info = {.prec=10};
|
||||||
|
tval = toml::value(val, info);
|
||||||
}
|
}
|
||||||
|
|
||||||
toml::value& Table::ResolvePath(const std::string& path)
|
toml::value& Table::ResolvePath(const std::string& path)
|
||||||
|
|
Loading…
Add table
Reference in a new issue