mirror of
https://github.com/lesserkuma/FlashGBX.git
synced 2026-08-25 02:05:14 -05:00
3.21
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"GB-CART32K-A with SST39SF020A"
|
||||
],
|
||||
"flash_ids":[
|
||||
[ 0xBF, 0xB6, 0x01, 0xFF ]
|
||||
[ 0xBF, 0xB6 ]
|
||||
],
|
||||
"voltage":5,
|
||||
"flash_size":0x10000,
|
||||
|
||||
@@ -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.
Reference in New Issue
Block a user