diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-17 04:39:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-17 04:39:30 +0300 |
commit | 350c0ab96146402e05a527ad08f5e0fea2c9ff6c (patch) | |
tree | 7f9d7c827c9d424a0032f1de9b02a8bd58cc21af /src/fs/virtfs/rwops.h | |
parent | e9fa8a0b173c72c5051e2c76de2639034e8c7bab (diff) | |
download | ManaVerse-350c0ab96146402e05a527ad08f5e0fea2c9ff6c.tar.gz ManaVerse-350c0ab96146402e05a527ad08f5e0fea2c9ff6c.tar.bz2 ManaVerse-350c0ab96146402e05a527ad08f5e0fea2c9ff6c.tar.xz ManaVerse-350c0ab96146402e05a527ad08f5e0fea2c9ff6c.zip |
Improve rwops creation error messages.
Diffstat (limited to 'src/fs/virtfs/rwops.h')
-rw-r--r-- | src/fs/virtfs/rwops.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/virtfs/rwops.h b/src/fs/virtfs/rwops.h index aa75b6ec3..1efd2ac1a 100644 --- a/src/fs/virtfs/rwops.h +++ b/src/fs/virtfs/rwops.h @@ -55,7 +55,8 @@ namespace VirtFs { struct File; - SDL_RWops *create_rwops(File *const file); + SDL_RWops *create_rwops(File *const file, + const std::string &restrict fname); SDL_RWops *rwopsOpenRead(const std::string &restrict fname); SDL_RWops *rwopsOpenWrite(const std::string &restrict fname) A_WARN_UNUSED; |