Memory: move GetFCRAMOffset into MemorySystem

This commit is contained in:
Weiyi Wang 2018-11-20 22:52:44 -05:00
parent 8118be6615
commit b199b7ada9
3 changed files with 5 additions and 6 deletions

View file

@ -251,11 +251,10 @@ enum class FlushMode {
*/
void RasterizerFlushVirtualRegion(VAddr start, u32 size, FlushMode mode);
/// Gets offset in FCRAM from a pointer inside FCRAM range
u32 GetFCRAMOffset(u8* pointer);
class MemorySystem {
public:
/// Gets offset in FCRAM from a pointer inside FCRAM range
u32 GetFCRAMOffset(u8* pointer);
};
} // namespace Memory