summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-08-29 13:07:01 -0400
committerGitHub <noreply@github.com>2019-08-29 13:07:01 -0400
commite4246158393fc011b16a4c1ef023c167cde9d4f8 (patch)
tree461f4e0a45a1d44bc2f81a3ef7f35cb10cece680 /src/video_core/gpu.h
parentf8cc5668f80d0c63f5ce850286760807462e1d72 (diff)
parent83ec2091c1836bf32e9070d0ddf2a53288871d69 (diff)
Merge pull request #2783 from FernandoS27/new-buffer-cache
Implement a New LLE Buffer Cache
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 11857ff99..0baf2177c 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -19,6 +19,10 @@ inline CacheAddr ToCacheAddr(const void* host_ptr) {
return reinterpret_cast<CacheAddr>(host_ptr);
}
+inline u8* FromCacheAddr(CacheAddr cache_addr) {
+ return reinterpret_cast<u8*>(cache_addr);
+}
+
namespace Core {
class System;
}