diff --git a/src/python/roms/__init__.py b/src/python/roms/__init__.py index dbcce644d..683aaf73b 100644 --- a/src/python/roms/__init__.py +++ b/src/python/roms/__init__.py @@ -11,7 +11,7 @@ import requests -@functools.cache +@functools.lru_cache(maxsize=1) def _get_all_rom_hashes() -> dict[str, str]: # this is a map of {rom.bin : md5 checksum} with open(Path(__file__).parent / "md5.json") as f: