FlashGBX 4.3__py3-none-any.whl → 4.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
FlashGBX/Flashcart.py CHANGED
@@ -284,10 +284,11 @@ class Flashcart:
284
284
  pos += size
285
285
  else:
286
286
  while pos < rom_size:
287
+ dprint("Adding extra sector:", pos, regions)
287
288
  offsets.append([ pos, regions ])
288
289
  pos += regions
289
290
  return offsets
290
-
291
+
291
292
  def GetSectorMap(self):
292
293
  if self.SECTOR_MAP is not None:
293
294
  return self.SECTOR_MAP
FlashGBX/GBMemory.py CHANGED
@@ -299,7 +299,9 @@ class GBMemoryMap:
299
299
  elif mbc in (0x19, 0x1A, 0x1B, 0x1C, 0x1E, 0x105): # MBC5
300
300
  mbc_type = 5
301
301
  else:
302
- mbc_type = False
302
+ #mbc_type = False
303
+ print("NOTE: The ROM is using a mapper type that may be incompatible with GB-Memory Cartridges. (0x{:02X})".format(mbc))
304
+ mbc_type = 5
303
305
  return mbc_type
304
306
 
305
307
  def GetBlockSizeBackup(self, b_size=None):