Skip to content

Commit

Permalink
Fix libretro serialize runtime error
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Nov 11, 2024
1 parent 32957b1 commit 552f08f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions platforms/libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,17 +472,17 @@ size_t retro_serialize_size(void)
return size;
}

// TODO

// bool retro_serialize(void *data, size_t size)
// {
// return core->SaveState(reinterpret_cast<u8*>(data), size);
// }
bool retro_serialize(void *data, size_t size)
{
// TODO
return false;
}

// bool retro_unserialize(const void *data, size_t size)
// {
// return core->LoadState(reinterpret_cast<const u8*>(data), size);
// }
bool retro_unserialize(const void *data, size_t size)
{
// TODO
return false;
}

void *retro_get_memory_data(unsigned id)
{
Expand Down

0 comments on commit 552f08f

Please sign in to comment.