mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Fix rXml limitation
(trophies)
This commit is contained in:
parent
1262263f5c
commit
2e510e5ca0
4 changed files with 39 additions and 29 deletions
|
@ -61,10 +61,9 @@ rXmlDocument::rXmlDocument() : handle()
|
|||
{
|
||||
}
|
||||
|
||||
void rXmlDocument::Load(const std::string & path)
|
||||
void rXmlDocument::Read(const std::string& data)
|
||||
{
|
||||
// TODO: Unsure of use of c_str.
|
||||
handle.load_file(path.c_str());
|
||||
handle.load_buffer(data.data(), data.size());
|
||||
}
|
||||
|
||||
std::shared_ptr<rXmlNode> rXmlDocument::GetRoot()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue