mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
ResourcePack: Avoid crashes on invalid packs during Init().
This commit is contained in:
parent
107a928452
commit
efbf5a450b
2 changed files with 32 additions and 23 deletions
|
@ -12,7 +12,7 @@ namespace ResourcePack
|
|||
{
|
||||
bool Init();
|
||||
|
||||
bool Add(const std::string& path, int offset = -1);
|
||||
ResourcePack* Add(const std::string& path, int offset = -1);
|
||||
bool Remove(ResourcePack& pack);
|
||||
void SetInstalled(const ResourcePack& pack, bool installed);
|
||||
bool IsInstalled(const ResourcePack& pack);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue