Universally use EnsureEnabled

This commit is contained in:
Adubbz
2019-08-07 18:48:31 +10:00
parent cf06cb7628
commit fac8acebba
8 changed files with 50 additions and 103 deletions

View File

@@ -59,6 +59,8 @@ namespace sts::ncm {
char root_path[FS_MAX_PATH-1];
MakeContentPathFunc make_content_path_func;
bool disabled;
protected:
Result EnsureEnabled();
public:
virtual Result GeneratePlaceHolderId(Out<PlaceHolderId> out);
virtual Result CreatePlaceHolder(PlaceHolderId placeholder_id, ContentId content_id, u64 size);