From c3fa0d6edf0ed65acdf789debed57cd4aa7955ba Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 4 Jun 2017 10:33:14 +0200 Subject: DiscIO: Use std::optional in Volume and Blob --- Source/Core/DiscIO/Filesystem.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Core/DiscIO/Filesystem.h') diff --git a/Source/Core/DiscIO/Filesystem.h b/Source/Core/DiscIO/Filesystem.h index 71b19e6005..bb41fce990 100644 --- a/Source/Core/DiscIO/Filesystem.h +++ b/Source/Core/DiscIO/Filesystem.h @@ -5,6 +5,7 @@ #pragma once #include +#include #include #include @@ -46,8 +47,8 @@ public: virtual bool ExportApploader(const std::string& _rExportFolder) const = 0; virtual bool ExportDOL(const std::string& _rExportFolder) const = 0; virtual std::string GetFileName(u64 _Address) = 0; - virtual u64 GetBootDOLOffset() const = 0; - virtual u32 GetBootDOLSize(u64 dol_offset) const = 0; + virtual std::optional GetBootDOLOffset() const = 0; + virtual std::optional GetBootDOLSize(u64 dol_offset) const = 0; virtual const Partition GetPartition() const { return m_partition; } protected: -- cgit v1.2.3