aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/video_core.h
diff options
context:
space:
mode:
authorReinUsesLisp <[email protected]>2019-01-15 16:28:42 -0300
committerReinUsesLisp <[email protected]>2019-02-06 22:23:40 -0300
commit7fefec585c805fa09951da11890bb90afb8a42a9 (patch)
tree739d06767d869ff1f0678aa20cb076a465521744 /src/video_core/video_core.h
parent2bc6a699dc53baf55b0ccbb40750a40036ee184f (diff)
downloadyuzu-mainline-7fefec585c805fa09951da11890bb90afb8a42a9.tar.gz
yuzu-mainline-7fefec585c805fa09951da11890bb90afb8a42a9.zip
gl_shader_disk_cache: Pass core system as argument and guard against games without title ids
Diffstat (limited to 'src/video_core/video_core.h')
-rw-r--r--src/video_core/video_core.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/video_core.h b/src/video_core/video_core.h
index 5b373bcb1..3c583f195 100644
--- a/src/video_core/video_core.h
+++ b/src/video_core/video_core.h
@@ -6,6 +6,10 @@
#include <memory>
+namespace Core {
+class System;
+}
+
namespace Core::Frontend {
class EmuWindow;
}
@@ -20,7 +24,8 @@ class RendererBase;
* @note The returned renderer instance is simply allocated. Its Init()
* function still needs to be called to fully complete its setup.
*/
-std::unique_ptr<RendererBase> CreateRenderer(Core::Frontend::EmuWindow& emu_window);
+std::unique_ptr<RendererBase> CreateRenderer(Core::Frontend::EmuWindow& emu_window,
+ Core::System& system);
u16 GetResolutionScaleFactor(const RendererBase& renderer);