Service/FS: Mark FileBackend's Write as non-const

This commit is contained in:
shinyquagsire23
2017-10-25 17:55:11 -06:00
parent ca2b6c6c8e
commit 714206e4ce
9 changed files with 9 additions and 12 deletions

View File

@ -51,8 +51,7 @@ public:
return MakeResult<size_t>(data->size());
}
ResultVal<size_t> Write(u64 offset, size_t length, bool flush,
const u8* buffer) const override {
ResultVal<size_t> Write(u64 offset, size_t length, bool flush, const u8* buffer) override {
LOG_ERROR(Service_FS, "The file is read-only!");
return ERROR_UNSUPPORTED_OPEN_FLAGS;
}