gl_shader_disk_cache: Pass core system as argument and guard against games without title ids

This commit is contained in:
ReinUsesLisp
2019-01-15 16:28:42 -03:00
parent 2bc6a699dc
commit 7fefec585c
11 changed files with 58 additions and 18 deletions

View File

@ -11,8 +11,9 @@
namespace VideoCore {
std::unique_ptr<RendererBase> CreateRenderer(Core::Frontend::EmuWindow& emu_window) {
return std::make_unique<OpenGL::RendererOpenGL>(emu_window);
std::unique_ptr<RendererBase> CreateRenderer(Core::Frontend::EmuWindow& emu_window,
Core::System& system) {
return std::make_unique<OpenGL::RendererOpenGL>(emu_window, system);
}
u16 GetResolutionScaleFactor(const RendererBase& renderer) {