all repos — mgba @ 3f05b12bc11d152c51516470b763939e05a842cb

mGBA Game Boy Advance Emulator

src/platform/python/cinema/util.py (view raw)

1def dictMerge(a, b):
2    for key, value in b.items():
3        if isinstance(value, dict):
4            if key in a:
5                dictMerge(a[key], value)
6            else:
7                a[key] = dict(value)
8        else:
9            a[key] = value