diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-06-05 14:23:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-05 14:23:11 +0200 |
| commit | 75d686e2c79e2835be67e18d4bb8528f3bce2846 (patch) | |
| tree | f8f42f79831b513161902d819a945d60368f7499 /Source/Core/DiscIO/FileSystemGCWii.h | |
| parent | e23cfc29654ece853309454a7a37306cc696af19 (diff) | |
| parent | c3fa0d6edf0ed65acdf789debed57cd4aa7955ba (diff) | |
Merge pull request #5530 from JosJuice/discio-optional
DiscIO: Use std::optional in Volume and Blob
Diffstat (limited to 'Source/Core/DiscIO/FileSystemGCWii.h')
| -rw-r--r-- | Source/Core/DiscIO/FileSystemGCWii.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/FileSystemGCWii.h b/Source/Core/DiscIO/FileSystemGCWii.h index c40e87e8c4..a7754a3c26 100644 --- a/Source/Core/DiscIO/FileSystemGCWii.h +++ b/Source/Core/DiscIO/FileSystemGCWii.h @@ -5,6 +5,7 @@ #pragma once #include <cstddef> +#include <optional> #include <string> #include <vector> @@ -31,8 +32,8 @@ public: bool ExportFile(const std::string& _rFullPath, const std::string& _rExportFilename) override; bool ExportApploader(const std::string& _rExportFolder) const override; bool ExportDOL(const std::string& _rExportFolder) const override; - u64 GetBootDOLOffset() const override; - u32 GetBootDOLSize(u64 dol_offset) const override; + std::optional<u64> GetBootDOLOffset() const override; + std::optional<u32> GetBootDOLSize(u64 dol_offset) const override; private: bool m_Initialized; |
