Fix libretro build.

This commit is contained in:
Stephen Anthony 2021-05-03 20:59:35 -02:30
parent bc877443c1
commit 4334965b63
4 changed files with 4 additions and 3 deletions

View File

@ -803,7 +803,7 @@ void MovieCart::updateTransport()
if (temp == myDirectionValue)
myInputs.updateDirection(temp);
myDirectionValue = temp;
myDirectionValue = temp;
}
else
{

View File

@ -92,7 +92,7 @@ AbstractFSNodePtr FilesystemNodeLIBRETRO::getParent() const
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
size_t FilesystemNodeLIBRETRO::read(ByteBuffer& image) const
size_t FilesystemNodeLIBRETRO::read(ByteBuffer& image, size_t) const
{
image = make_unique<uInt8[]>(Cartridge::maxSize());

View File

@ -49,7 +49,7 @@ class FilesystemNodeLIBRETRO : public AbstractFSNode
bool getChildren(AbstractFSList& list, ListMode mode) const override;
AbstractFSNodePtr getParent() const override;
size_t read(ByteBuffer& image) const override;
size_t read(ByteBuffer& image, size_t) const override;
protected:
string _name;

View File

@ -85,6 +85,7 @@ SOURCES_CXX := \
$(CORE_DIR)/emucore/CartFC.cxx \
$(CORE_DIR)/emucore/CartFE.cxx \
$(CORE_DIR)/emucore/CartMDM.cxx \
$(CORE_DIR)/emucore/CartMVC.cxx \
$(CORE_DIR)/emucore/CartMNetwork.cxx \
$(CORE_DIR)/emucore/CartSB.cxx \
$(CORE_DIR)/emucore/CartTVBoy.cxx \