Fixed minor warnings from clang.

This commit is contained in:
Stephen Anthony 2019-09-15 19:24:28 -02:30
parent d7b4152bd9
commit 3a0cb028d3
2 changed files with 3 additions and 3 deletions

View File

@ -30,9 +30,9 @@ Cartridge::Cartridge(const Settings& settings, const string& md5)
: mySettings(settings),
myBankChanged(true),
myCodeAccessBase(nullptr),
myRamWriteAccess(0),
myStartBank(0),
myBankLocked(false),
myRamWriteAccess(0)
myBankLocked(false)
{
auto to_uInt32 = [](const string& s, uInt32 pos) {
return uInt32(std::stoul(s.substr(pos, 8), nullptr, 16));

View File

@ -161,7 +161,7 @@ class Cartridge : public Device
/**
Get the current bank for the provided address.
@param address The address to get the bank for
@param addr The address to get the bank for
*/
virtual uInt16 getBank(uInt16 addr) const { return getBank(); }