Remove logic_hash

It is no longer used for anything.
This commit is contained in:
Kevin Cathcart
2019-07-11 17:46:57 -04:00
parent 67a5b7e105
commit aab696fa9c
4 changed files with 3 additions and 39 deletions

View File

@@ -87,14 +87,6 @@ def close_console():
except Exception:
pass
def new_logic_array():
import random
l = list(range(256))
random.SystemRandom().shuffle(l)
chunks = [l[i:i + 16] for i in range(0, len(l), 16)]
lines = [", ".join([str(j) for j in i]) for i in chunks]
print("logic_hash = ["+",\n ".join(lines)+"]")
def make_new_base2current(old_rom='Zelda no Densetsu - Kamigami no Triforce (Japan).sfc', new_rom='working.sfc'):
from collections import OrderedDict
import json