mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
Fix rXml limitation
(trophies)
This commit is contained in:
parent
1262263f5c
commit
2e510e5ca0
4 changed files with 39 additions and 29 deletions
|
@ -137,12 +137,15 @@ bool TROPUSRLoader::Save(const std::string& filepath)
|
|||
|
||||
bool TROPUSRLoader::Generate(const std::string& filepath, const std::string& configpath)
|
||||
{
|
||||
const std::string& path = vfs::get(configpath);
|
||||
fs::file config(vfs::get(configpath));
|
||||
|
||||
if (!config)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// TODO: rXmlDocument can open only real file
|
||||
verify(HERE), !fs::get_virtual_device(path);
|
||||
rXmlDocument doc;
|
||||
doc.Load(path);
|
||||
doc.Read(config.to_string());
|
||||
|
||||
m_table4.clear();
|
||||
m_table6.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue