mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-11 20:43:50 -06:00
fix: regenerate the launcher list after main
Main changed install.py without the launcher index, so --add-app refused every launcher and nine tests failed on main itself. The demo script added a list without a type, and an archive-size test still built the data-tree refs without the needed flag the builder reads.
This commit is contained in:
1 parent
cfc950b834
commit
966ab201ea
3 files changed
+11
-10
No files matched your search
@@ -89,7 +89,8 @@ VIDEO_FPS = 25
|
||||
def game_bytes(name: str) -> bytes:
|
||||
"""Bytes of a game no catalog names, the same on every run."""
|
||||
seed = hashlib.sha256(name.encode("utf-8")).digest()
|
||||
blocks, counter = [], 0
|
||||
blocks: list[bytes] = []
|
||||
counter = 0
|
||||
while len(blocks) * 32 < GAME_BYTES:
|
||||
blocks.append(hashlib.sha256(seed + counter.to_bytes(4, "big")).digest())
|
||||
counter += 1
|
||||
|
||||
Reference in new issue
Block a user