diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 20:28:42 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-07 02:23:40 +0100 |
commit | 7fefec585c805fa09951da11890bb90afb8a42a9 (patch) | |
tree | 739d06767d869ff1f0678aa20cb076a465521744 /src/video_core/video_core.h | |
parent | gl_shader_disk_cache: Guard reads and writes against failure (diff) | |
download | yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.gz yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.bz2 yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.lz yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.xz yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.zst yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.zip |
Diffstat (limited to 'src/video_core/video_core.h')
-rw-r--r-- | src/video_core/video_core.h | 7 |
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); |