Fix legacy device in switch homebrew
Allow setting it from config.xml
This commit is contained in:
parent
cab25432c2
commit
61bd2a6e70
@ -184,9 +184,7 @@ IrrDriver::IrrDriver()
|
|||||||
p.DriverType = video::EDT_OPENGL;
|
p.DriverType = video::EDT_OPENGL;
|
||||||
p.Bits = 24U;
|
p.Bits = 24U;
|
||||||
p.WindowSize = core::dimension2d<u32>(1280,720);
|
p.WindowSize = core::dimension2d<u32>(1280,720);
|
||||||
#ifdef FORCE_LEGACY
|
p.ForceLegacyDevice = UserConfigParams::m_force_legacy_device;
|
||||||
p.ForceLegacyDevice = true;
|
|
||||||
#endif
|
|
||||||
#else
|
#else
|
||||||
p.DriverType = video::EDT_NULL;
|
p.DriverType = video::EDT_NULL;
|
||||||
p.Bits = 16U;
|
p.Bits = 16U;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user