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

This commit is contained in:
ReinUsesLisp committed 2019-02-06 22:23:40 -03:00
1 parent f9bcb4e842
commit ea2ce59743
11 files changed
+58 -18

No files matched your search

+3 -2
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) {