PSFLoader improved, saving implemented

This commit is contained in:
Nekotekina 2015-04-16 19:19:41 +03:00
parent b2111b3c3d
commit 94cbfd6a5c
2 changed files with 119 additions and 35 deletions

View file

@ -38,8 +38,6 @@ struct PSFEntry
class PSFLoader
{
bool m_loaded = false;
PSFHeader m_header = {};
std::vector<PSFEntry> m_entries;
public:
@ -58,7 +56,7 @@ public:
operator bool() const
{
return m_loaded;
return !m_entries.empty();
}
const PSFEntry* SearchEntry(const std::string& key) const;