This commit is contained in:
Lesserkuma
2023-01-17 10:45:22 +01:00
parent 288dbf8216
commit a6fe80a56b
5 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
"GB-CART32K-A with SST39SF020A"
],
"flash_ids":[
[ 0xBF, 0xB6, 0x01, 0xFF ]
[ 0xBF, 0xB6 ]
],
"voltage":5,
"flash_size":0x10000,

View File

@@ -3178,13 +3178,13 @@ class GbxDevice:
buffer_pos = rev_buffer_pos
bank = start_bank
sector_pos -= 1
err_text = "Write failed! Retrying from 0x{:X}...".format(rev_buffer_pos)
err_text = "Write error! Retrying from 0x{:X}...".format(rev_buffer_pos)
if not Util.DEBUG: print(err_text)
dprint(err_text, "Bank {:d} | HP: {:d}/100".format(bank, retry_hp))
pos = end_address
status = False
self.SetProgress({"action":"ERROR", "abortable":True, "pos":buffer_pos, "text":"Write failed! Retrying from 0x{:X}...".format(rev_buffer_pos)})
self.SetProgress({"action":"ERROR", "abortable":True, "pos":buffer_pos, "text":"Write error! Retrying from 0x{:X}...".format(rev_buffer_pos)})
delay = 0.5 + (100-retry_hp)/50
if self.CanPowerCycleCart():
self.CartPowerOff(0)

Binary file not shown.

Binary file not shown.

Binary file not shown.