setsys_settings_items: Simplify buffer management in LoadConfiguration()
We can use a std::string here instead of setting up a scope guard and
manual allocations. We also don't need to care about null-termination,
as c_str() will automatically ensure this is done when passing it into
ini_parse_string().
1 parent 50e307b commit 452c61db7a2ab4df5894b46fee3d7534e8b3db1e
@Lioncash Lioncash authored on 4 Jun 2019
Showing 1 changed file
View
stratosphere/ams_mitm/source/set_mitm/setsys_settings_items.cpp