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

Fix build for GCW Zero libretro core

parent b1dd6065
Pipeline #40945 failed with stages
in 2 minutes and 22 seconds
......@@ -495,7 +495,7 @@ void GearsystemCore::LoadRam(const char* szPath, bool fullPath)
void GearsystemCore::SaveState(int index)
{
if (m_pMemory->GetCurrentSlot() == Memory::MediaSlots::BiosSlot)
if (m_pMemory->GetCurrentSlot() == Memory::BiosSlot)
{
Log("Save states disabled when running BIOS");
return;
......@@ -510,7 +510,7 @@ void GearsystemCore::SaveState(int index)
void GearsystemCore::SaveState(const char* szPath, int index)
{
if (m_pMemory->GetCurrentSlot() == Memory::MediaSlots::BiosSlot)
if (m_pMemory->GetCurrentSlot() == Memory::BiosSlot)
{
Log("Save states disabled when running BIOS");
return;
......@@ -565,7 +565,7 @@ void GearsystemCore::SaveState(const char* szPath, int index)
bool GearsystemCore::SaveState(u8* buffer, size_t& size)
{
if (m_pMemory->GetCurrentSlot() == Memory::MediaSlots::BiosSlot)
if (m_pMemory->GetCurrentSlot() == Memory::BiosSlot)
{
Log("Save states disabled when running BIOS");
return false;
......@@ -599,7 +599,7 @@ bool GearsystemCore::SaveState(u8* buffer, size_t& size)
bool GearsystemCore::SaveState(std::ostream& stream, size_t& size)
{
if (m_pMemory->GetCurrentSlot() == Memory::MediaSlots::BiosSlot)
if (m_pMemory->GetCurrentSlot() == Memory::BiosSlot)
{
Log("Save states disabled when running BIOS");
return false;
......@@ -640,7 +640,7 @@ bool GearsystemCore::SaveState(std::ostream& stream, size_t& size)
void GearsystemCore::LoadState(int index)
{
if (m_pMemory->GetCurrentSlot() == Memory::MediaSlots::BiosSlot)
if (m_pMemory->GetCurrentSlot() == Memory::BiosSlot)
{
Log("Save states disabled when running BIOS");
return;
......@@ -655,7 +655,7 @@ void GearsystemCore::LoadState(int index)
void GearsystemCore::LoadState(const char* szPath, int index)
{
if (m_pMemory->GetCurrentSlot() == Memory::MediaSlots::BiosSlot)
if (m_pMemory->GetCurrentSlot() == Memory::BiosSlot)
{
Log("Save states disabled when running BIOS");
return;
......@@ -716,7 +716,7 @@ void GearsystemCore::LoadState(const char* szPath, int index)
bool GearsystemCore::LoadState(const u8* buffer, size_t size)
{
if (m_pMemory->GetCurrentSlot() == Memory::MediaSlots::BiosSlot)
if (m_pMemory->GetCurrentSlot() == Memory::BiosSlot)
{
Log("Save states disabled when running BIOS");
return false;
......@@ -742,7 +742,7 @@ bool GearsystemCore::LoadState(const u8* buffer, size_t size)
bool GearsystemCore::LoadState(std::istream& stream)
{
if (m_pMemory->GetCurrentSlot() == Memory::MediaSlots::BiosSlot)
if (m_pMemory->GetCurrentSlot() == Memory::BiosSlot)
{
Log("Save states disabled when running BIOS");
return false;
......
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