summaryrefslogtreecommitdiffstats
path: root/src/core/hle/result.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-11 06:57:48 +0100
committerbunnei <bunneidev@gmail.com>2015-01-11 06:57:48 +0100
commitc6906319f3a9ba1b33b8b4fec41cce8fd5a4fe7c (patch)
tree8a5260f8e44f637f90e3c84565be04e4d84cedc3 /src/core/hle/result.h
parentMerge pull request #460 from chinhodado/revert-319-travis-apt-cache (diff)
parentAdded Archive ID to fs:USER debug logs involving opening the archive. (diff)
downloadyuzu-c6906319f3a9ba1b33b8b4fec41cce8fd5a4fe7c.tar
yuzu-c6906319f3a9ba1b33b8b4fec41cce8fd5a4fe7c.tar.gz
yuzu-c6906319f3a9ba1b33b8b4fec41cce8fd5a4fe7c.tar.bz2
yuzu-c6906319f3a9ba1b33b8b4fec41cce8fd5a4fe7c.tar.lz
yuzu-c6906319f3a9ba1b33b8b4fec41cce8fd5a4fe7c.tar.xz
yuzu-c6906319f3a9ba1b33b8b4fec41cce8fd5a4fe7c.tar.zst
yuzu-c6906319f3a9ba1b33b8b4fec41cce8fd5a4fe7c.zip
Diffstat (limited to 'src/core/hle/result.h')
-rw-r--r--src/core/hle/result.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h
index 0e9c213e0..82dcf5bba 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -369,14 +369,14 @@ private:
StorageType storage;
ResultCode result_code;
-#if _DEBUG
+#ifdef _DEBUG
// The purpose of this pointer is to aid inspecting the type with a debugger, eliminating the
// need to cast `storage` to a pointer or pay attention to `result_code`.
const T* debug_ptr;
#endif
void UpdateDebugPtr() {
-#if _DEBUG
+#ifdef _DEBUG
debug_ptr = empty() ? nullptr : static_cast<const T*>(static_cast<const void*>(&storage));
#endif
}