removed warnings

This commit is contained in:
thrust26 2020-07-31 11:20:11 +02:00
parent d43d8c6730
commit 8d3b0ec52d
3 changed files with 3 additions and 3 deletions

View File

@ -155,7 +155,7 @@ class CartridgeBUS : public Cartridge
@return The internal RAM size
*/
uInt32 internalRamSize() const override { return 8_KB; }
uInt32 internalRamSize() const override { return uInt32(myRAM.size()); }
/**
Read a byte from cart internal RAM.

View File

@ -159,7 +159,7 @@ class CartridgeCDF : public Cartridge
@return The internal RAM size
*/
uInt32 internalRamSize() const override { return 8_KB; }
uInt32 internalRamSize() const override { return uInt32(myRAM.size()); }
/**
Read a byte from cart internal RAM.

View File

@ -150,7 +150,7 @@ class CartridgeDPCPlus : public Cartridge
@return The internal RAM size
*/
uInt32 internalRamSize() const override { return 8_KB; }
uInt32 internalRamSize() const override { return uInt32(myDPCRAM.size()); }
/**
Read a byte from cart internal RAM.