mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-07-11 01:24:28 +02:00
missed include
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
#include "common/io_file.h"
|
#include "common/io_file.h"
|
||||||
#include "common/path_util.h"
|
#include "common/path_util.h"
|
||||||
#include "core/devtools/layer.h"
|
#include "core/devtools/layer.h"
|
||||||
|
#include "core/emulator_settings.h"
|
||||||
#include "core/emulator_state.h"
|
#include "core/emulator_state.h"
|
||||||
#include "input/controller.h"
|
#include "input/controller.h"
|
||||||
#include "input/input_mouse.h"
|
#include "input/input_mouse.h"
|
||||||
|
|||||||
+3
-2
@@ -24,6 +24,7 @@
|
|||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#include "SDL3/SDL_metal.h"
|
#include "SDL3/SDL_metal.h"
|
||||||
#endif
|
#endif
|
||||||
|
#include <core/emulator_settings.h>
|
||||||
|
|
||||||
namespace Input {
|
namespace Input {
|
||||||
|
|
||||||
@@ -323,9 +324,9 @@ WindowSDL::WindowSDL(s32 width_, s32 height_, Input::GameController* controller_
|
|||||||
}
|
}
|
||||||
if (!error) {
|
if (!error) {
|
||||||
SDL_SetWindowFullscreenMode(
|
SDL_SetWindowFullscreenMode(
|
||||||
window, Config::getFullscreenMode() == "Fullscreen" ? displayMode : NULL);
|
window, EmulatorSettings.GetFullScreenMode() == "Fullscreen" ? displayMode : NULL);
|
||||||
}
|
}
|
||||||
SDL_SetWindowFullscreen(window, Config::getIsFullscreen());
|
SDL_SetWindowFullscreen(window, EmulatorSettings.IsFullScreen());
|
||||||
SDL_SyncWindow(window);
|
SDL_SyncWindow(window);
|
||||||
|
|
||||||
SDL_InitSubSystem(SDL_INIT_GAMEPAD);
|
SDL_InitSubSystem(SDL_INIT_GAMEPAD);
|
||||||
|
|||||||
Reference in New Issue
Block a user