aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cart_Reader/SNES.ino
diff options
context:
space:
mode:
authorVincent Pelletier <[email protected]>2022-11-01 07:43:42 +0000
committerVincent Pelletier <[email protected]>2022-11-01 07:53:35 +0000
commitc82815f0d5d0e4f87e5fd4835ababe1912409a43 (patch)
tree20b3f4bb39b166e3068fca820bffc38a006edda8 /Cart_Reader/SNES.ino
parentcc17c70e304fb106b0399b333f86fcc68d70dc32 (diff)
downloadcartreader-c82815f0d5d0e4f87e5fd4835ababe1912409a43.tar.gz
cartreader-c82815f0d5d0e4f87e5fd4835ababe1912409a43.zip
SFM.ino, SNES.ino: Rework compiler warnings resolution
I am not sure why I changed some variables from 16 bit types to 8 bit types when the warnings being resolved were only about signedness. Fixes: a555f21 ("All: Resolve all compiler and linker warnings")
Diffstat (limited to 'Cart_Reader/SNES.ino')
-rw-r--r--Cart_Reader/SNES.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cart_Reader/SNES.ino b/Cart_Reader/SNES.ino
index a9e5ec7..6927bb8 100644
--- a/Cart_Reader/SNES.ino
+++ b/Cart_Reader/SNES.ino
@@ -1344,7 +1344,7 @@ void readROM_SNES() {
controlIn_SNES();
byte initialSOMap = readBank_SNES(0, 18439);
- for (byte currMemmap = 0; currMemmap < (numBanks / 16); currMemmap++) {
+ for (word currMemmap = 0; currMemmap < (numBanks / 16); currMemmap++) {
dataOut();
controlOut_SNES();