Unverified Commit ba019393 authored by Ignacio Sanchez Gines's avatar Ignacio Sanchez Gines
Browse files

Fix libretro GCW Zero build

parent fa1e2dd7
Pipeline #41026 passed with stages
in 12 minutes and 55 seconds
......@@ -54,7 +54,7 @@ GearsystemCore::GearsystemCore()
InitPointer(m_pBootromMemoryRule);
m_bPaused = true;
m_pixelFormat = GS_PIXEL_RGB888;
m_GlassesConfig = GlassesConfig::GlassesBothEyes;
m_GlassesConfig = GearsystemCore::GlassesBothEyes;
}
GearsystemCore::~GearsystemCore()
......@@ -913,18 +913,18 @@ void GearsystemCore::Reset()
void GearsystemCore::RenderFrameBuffer(u8* finalFrameBuffer)
{
int size = GS_RESOLUTION_MAX_WIDTH * GS_RESOLUTION_MAX_HEIGHT;
if (m_GlassesConfig != GlassesConfig::GlassesBothEyes)
if (m_GlassesConfig != GearsystemCore::GlassesBothEyes)
{
bool left = IsSetBit(m_pInput->GetGlassesRegistry(), 0);
if ((m_GlassesConfig == GlassesConfig::GlassesLeftEye) && !left)
if ((m_GlassesConfig == GearsystemCore::GlassesLeftEye) && !left)
return;
else if ((m_GlassesConfig == GlassesConfig::GlassesRightEye) && left)
else if ((m_GlassesConfig == GearsystemCore::GlassesRightEye) && left)
return;
}
int size = GS_RESOLUTION_MAX_WIDTH * GS_RESOLUTION_MAX_HEIGHT;
switch (m_pixelFormat)
{
case GS_PIXEL_RGB555:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment