Skip to content

Commit

Permalink
Merge pull request #1274 from bslenul/lr-invalid-values
Browse files Browse the repository at this point in the history
[Libretro] Remove some "Invalid value" errors
  • Loading branch information
flyinghead authored Oct 31, 2023
2 parents 923dcf1 + 66faf0d commit 5cfd3f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions core/cfg/option.h
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,11 @@ extern Option<bool> VmuSound;

class RendererOption : public Option<RenderType> {
public:
#ifdef LIBRETRO
RendererOption() : Option<RenderType>("",
#else
RendererOption() : Option<RenderType>("pvr.rend",
#endif
#if defined(USE_DX11)
RenderType::DirectX11
#elif defined(USE_DX9)
Expand Down
2 changes: 1 addition & 1 deletion shell/libretro/option.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Option<int> ScreenStretching("", 100);
Option<bool> Fog(CORE_OPTION_NAME "_fog", true);
Option<bool> FloatVMUs("");
Option<bool> Rotate90("");
Option<bool> PerStripSorting("rend.PerStripSorting");
Option<bool> PerStripSorting("");
Option<bool> DelayFrameSwapping(CORE_OPTION_NAME "_delay_frame_swapping");
Option<bool> WidescreenGameHacks(CORE_OPTION_NAME "_widescreen_cheats");
std::array<Option<int>, 4> CrosshairColor {
Expand Down

0 comments on commit 5cfd3f0

Please sign in to comment.