mirror of https://github.com/stella-emu/stella.git
Merge branch 'master' into feature/filesystem
This commit is contained in:
commit
a10e9edc01
|
@ -137,6 +137,12 @@ class CartridgeMDM : public CartridgeEnhanced
|
||||||
bool poke(uInt16 address, uInt8 value) override;
|
bool poke(uInt16 address, uInt8 value) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
/**
|
||||||
|
Checks if startup bank randomization is enabled. For this scheme,
|
||||||
|
randomization is not supported (see above).
|
||||||
|
*/
|
||||||
|
bool randomStartBank() const override { return false; }
|
||||||
|
|
||||||
bool checkSwitchBank(uInt16 address, uInt8) override;
|
bool checkSwitchBank(uInt16 address, uInt8) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -188,7 +188,7 @@ bool RomImageWidget::changeImage(int direction)
|
||||||
#ifdef IMAGE_SUPPORT
|
#ifdef IMAGE_SUPPORT
|
||||||
if(direction == -1 && myImageIdx)
|
if(direction == -1 && myImageIdx)
|
||||||
return loadImage(myImageList[--myImageIdx].getPath());
|
return loadImage(myImageList[--myImageIdx].getPath());
|
||||||
else if(direction == 1 && myImageIdx < myImageList.size() - 1)
|
else if(direction == 1 && myImageIdx + 1 < myImageList.size())
|
||||||
return loadImage(myImageList[++myImageIdx].getPath());
|
return loadImage(myImageList[++myImageIdx].getPath());
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue