mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
Make sure some things are logged (#5515)
* sdl_impl.cpp: actually log the sdl error * Log cpu slider and vsync
This commit is contained in:
parent
a26b466ac8
commit
ff9c3b0531
@ -77,6 +77,7 @@ void LogSettings() {
|
|||||||
|
|
||||||
LOG_INFO(Config, "Citra Configuration:");
|
LOG_INFO(Config, "Citra Configuration:");
|
||||||
log_setting("Core_UseCpuJit", values.use_cpu_jit);
|
log_setting("Core_UseCpuJit", values.use_cpu_jit);
|
||||||
|
log_setting("Core_CPUClockPercentage", values.cpu_clock_percentage);
|
||||||
log_setting("Renderer_UseGLES", values.use_gles);
|
log_setting("Renderer_UseGLES", values.use_gles);
|
||||||
log_setting("Renderer_UseHwRenderer", values.use_hw_renderer);
|
log_setting("Renderer_UseHwRenderer", values.use_hw_renderer);
|
||||||
log_setting("Renderer_UseHwShader", values.use_hw_shader);
|
log_setting("Renderer_UseHwShader", values.use_hw_shader);
|
||||||
@ -87,6 +88,7 @@ void LogSettings() {
|
|||||||
log_setting("Renderer_FrameLimit", values.frame_limit);
|
log_setting("Renderer_FrameLimit", values.frame_limit);
|
||||||
log_setting("Renderer_UseFrameLimitAlternate", values.use_frame_limit_alternate);
|
log_setting("Renderer_UseFrameLimitAlternate", values.use_frame_limit_alternate);
|
||||||
log_setting("Renderer_FrameLimitAlternate", values.frame_limit_alternate);
|
log_setting("Renderer_FrameLimitAlternate", values.frame_limit_alternate);
|
||||||
|
log_setting("Renderer_VSyncNew", values.use_vsync_new);
|
||||||
log_setting("Renderer_PostProcessingShader", values.pp_shader_name);
|
log_setting("Renderer_PostProcessingShader", values.pp_shader_name);
|
||||||
log_setting("Renderer_FilterMode", values.filter_mode);
|
log_setting("Renderer_FilterMode", values.filter_mode);
|
||||||
log_setting("Renderer_TextureFilterName", values.texture_filter_name);
|
log_setting("Renderer_TextureFilterName", values.texture_filter_name);
|
||||||
|
@ -470,7 +470,7 @@ SDLState::SDLState() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1") == SDL_FALSE) {
|
if (SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1") == SDL_FALSE) {
|
||||||
LOG_ERROR(Input, "Failed to set Hint for background events", SDL_GetError());
|
LOG_ERROR(Input, "Failed to set Hint for background events: {}", SDL_GetError());
|
||||||
}
|
}
|
||||||
// these hints are only defined on sdl2.0.9 or higher
|
// these hints are only defined on sdl2.0.9 or higher
|
||||||
#if SDL_VERSION_ATLEAST(2, 0, 9)
|
#if SDL_VERSION_ATLEAST(2, 0, 9)
|
||||||
|
Loading…
Reference in New Issue
Block a user