summaryrefslogtreecommitdiffstats
path: root/src/video_core/video_core.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-02-07 03:47:20 +0100
committerGitHub <noreply@github.com>2019-02-07 03:47:20 +0100
commite09f1c92fb6f0b061f875617196f2463b1937546 (patch)
treedddd4ab0851516f67c11d1121e8f233c9f0bafd3 /src/video_core/video_core.h
parentMerge pull request #2042 from ReinUsesLisp/nouveau-tex (diff)
parentcmake: Fix title bar issue (diff)
downloadyuzu-e09f1c92fb6f0b061f875617196f2463b1937546.tar
yuzu-e09f1c92fb6f0b061f875617196f2463b1937546.tar.gz
yuzu-e09f1c92fb6f0b061f875617196f2463b1937546.tar.bz2
yuzu-e09f1c92fb6f0b061f875617196f2463b1937546.tar.lz
yuzu-e09f1c92fb6f0b061f875617196f2463b1937546.tar.xz
yuzu-e09f1c92fb6f0b061f875617196f2463b1937546.tar.zst
yuzu-e09f1c92fb6f0b061f875617196f2463b1937546.zip
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);