diff options
| author | comex <comexk@gmail.com> | 2014-08-24 16:15:58 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-08-24 16:15:58 -0400 |
| commit | a7752f49be883e37deba1f8a1667a0b1e24f89ff (patch) | |
| tree | 33859fcd7c6738a46aae486e3e5ff56bb88a0f4c /Source/Core/VideoBackends/Software/SWCommandProcessor.cpp | |
| parent | b458d1a367b358819ccad1fa0b0dcb03dbb175ce (diff) | |
| parent | cf01f47b52480a4baaa4494a6e05f000360f4f9e (diff) | |
Merge pull request #861 from comex/warnings
Fix warnings for OS X
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWCommandProcessor.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWCommandProcessor.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp b/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp index 63b85794ce..b205c112ea 100644 --- a/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp +++ b/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp @@ -60,25 +60,6 @@ void DoState(PointerWrap &p) p.DoArray(g_pVideoData,writePos); } -// does it matter that there is no synchronization between threads during writes? -static inline void WriteLow (u32& _reg, u16 lowbits) -{ - _reg = (_reg & 0xFFFF0000) | lowbits; -} -static inline void WriteHigh(u32& _reg, u16 highbits) -{ - _reg = (_reg & 0x0000FFFF) | ((u32)highbits << 16); -} - -static inline u16 ReadLow(u32 _reg) -{ - return (u16)(_reg & 0xFFFF); -} -static inline u16 ReadHigh(u32 _reg) -{ - return (u16)(_reg >> 16); -} - static void UpdateInterrupts_Wrapper(u64 userdata, int cyclesLate) { UpdateInterrupts(userdata); |
