diff options
Diffstat (limited to 'src/citra/citra.cpp')
| -rw-r--r-- | src/citra/citra.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp index ca93d5b91..ce8d7dd25 100644 --- a/src/citra/citra.cpp +++ b/src/citra/citra.cpp | |||
| @@ -18,6 +18,8 @@ | |||
| 18 | #include "citra/config.h" | 18 | #include "citra/config.h" |
| 19 | #include "citra/emu_window/emu_window_glfw.h" | 19 | #include "citra/emu_window/emu_window_glfw.h" |
| 20 | 20 | ||
| 21 | #include "video_core/video_core.h" | ||
| 22 | |||
| 21 | /// Application entry point | 23 | /// Application entry point |
| 22 | int main(int argc, char **argv) { | 24 | int main(int argc, char **argv) { |
| 23 | Log::Filter log_filter(Log::Level::Debug); | 25 | Log::Filter log_filter(Log::Level::Debug); |
| @@ -34,6 +36,8 @@ int main(int argc, char **argv) { | |||
| 34 | std::string boot_filename = argv[1]; | 36 | std::string boot_filename = argv[1]; |
| 35 | EmuWindow_GLFW* emu_window = new EmuWindow_GLFW; | 37 | EmuWindow_GLFW* emu_window = new EmuWindow_GLFW; |
| 36 | 38 | ||
| 39 | VideoCore::g_hw_renderer_enabled = Settings::values.use_hw_renderer; | ||
| 40 | |||
| 37 | System::Init(emu_window); | 41 | System::Init(emu_window); |
| 38 | 42 | ||
| 39 | Loader::ResultStatus load_result = Loader::LoadFile(boot_filename); | 43 | Loader::ResultStatus load_result = Loader::LoadFile(boot_filename); |