summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-05-14 23:01:34 -0500
committerGitHub <noreply@github.com>2025-05-14 23:01:34 -0500
commitc211efd84a5ec159e6cf82498cf01c0ac05b94c0 (patch)
tree60cd40886d179f861e1f9747239bc65299970241
parent5a355083b497273b558cd9a66ba582802d7f2856 (diff)
parentc32ca0696ed292a8f7880b8568f8d0c5b3473c83 (diff)
Merge pull request #13603 from tygyh/FifoPlayer-Make-functions-static
FifoPlayer: Make functions static
-rw-r--r--Source/Core/Core/FifoPlayer/FifoDataFile.cpp2
-rw-r--r--Source/Core/Core/FifoPlayer/FifoDataFile.h4
-rw-r--r--Source/Core/Core/FifoPlayer/FifoPlayer.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/Core/FifoPlayer/FifoDataFile.cpp b/Source/Core/Core/FifoPlayer/FifoDataFile.cpp
index c19a07f6e1..0bc85ba516 100644
--- a/Source/Core/Core/FifoPlayer/FifoDataFile.cpp
+++ b/Source/Core/Core/FifoPlayer/FifoDataFile.cpp
@@ -79,7 +79,7 @@ FifoDataFile::FifoDataFile() = default;
FifoDataFile::~FifoDataFile() = default;
-bool FifoDataFile::ShouldGenerateFakeVIUpdates() const
+bool FifoDataFile::ShouldGenerateFakeVIUpdates()
{
return true;
}
diff --git a/Source/Core/Core/FifoPlayer/FifoDataFile.h b/Source/Core/Core/FifoPlayer/FifoDataFile.h
index 64167a75b6..dc4f7915da 100644
--- a/Source/Core/Core/FifoPlayer/FifoDataFile.h
+++ b/Source/Core/Core/FifoPlayer/FifoDataFile.h
@@ -62,7 +62,7 @@ public:
void SetIsWii(bool isWii);
bool GetIsWii() const;
bool HasBrokenEFBCopies() const;
- bool ShouldGenerateFakeVIUpdates() const;
+ static bool ShouldGenerateFakeVIUpdates();
u32* GetBPMem() { return m_BPMem.data(); }
u32* GetCPMem() { return m_CPMem.data(); }
@@ -85,7 +85,7 @@ private:
FLAG_IS_WII = 1
};
- void PadFile(size_t numBytes, File::IOFile& file);
+ static void PadFile(size_t numBytes, File::IOFile& file);
void SetFlag(u32 flag, bool set);
bool GetFlag(u32 flag) const;
diff --git a/Source/Core/Core/FifoPlayer/FifoPlayer.h b/Source/Core/Core/FifoPlayer/FifoPlayer.h
index 62ba207e64..9f8cd9aca7 100644
--- a/Source/Core/Core/FifoPlayer/FifoPlayer.h
+++ b/Source/Core/Core/FifoPlayer/FifoPlayer.h
@@ -173,8 +173,8 @@ private:
void LoadXFReg(u16 reg, u32 value);
void LoadXFMem16(u16 address, const u32* data);
- bool ShouldLoadBP(u8 address);
- bool ShouldLoadXF(u8 address);
+ static bool ShouldLoadBP(u8 address);
+ static bool ShouldLoadXF(u8 address);
bool IsIdleSet() const;
bool IsHighWatermarkSet() const;