From ffade65c55ed848854901305de1e3160bce35398 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 18 Mar 2018 16:37:07 -0400 Subject: [PATCH] DataReader: Remove __forceinline from trivial functions --- Source/Core/VideoCommon/DataReader.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Core/VideoCommon/DataReader.h b/Source/Core/VideoCommon/DataReader.h index 5b53a03bed..709f5f6012 100644 --- a/Source/Core/VideoCommon/DataReader.h +++ b/Source/Core/VideoCommon/DataReader.h @@ -13,16 +13,16 @@ class DataReader { public: - __forceinline DataReader() = default; - __forceinline DataReader(u8* src, u8* end_) : buffer(src), end(end_) {} - __forceinline u8* GetPointer() { return buffer; } - __forceinline u8* operator=(u8* src) + DataReader() = default; + DataReader(u8* src, u8* end_) : buffer(src), end(end_) {} + u8* GetPointer() { return buffer; } + u8* operator=(u8* src) { buffer = src; return src; } - __forceinline size_t size() const { return end - buffer; } + size_t size() const { return end - buffer; } template __forceinline T Peek(int offset = 0) const { @@ -54,7 +54,7 @@ public: } template - __forceinline void Skip(size_t data = 1) + void Skip(size_t data = 1) { buffer += sizeof(T) * data; }