mirror of https://github.com/stella-emu/stella.git
Fixed minor warnings from clang.
This commit is contained in:
parent
d7b4152bd9
commit
3a0cb028d3
|
@ -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));
|
||||
|
|
|
@ -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(); }
|
||||
|
||||
|
|
Loading…
Reference in New Issue