Give MPW more RAM

This commit is contained in:
Elliot Nunn 2019-07-11 12:58:13 +08:00
parent ef56584a54
commit f3c5967310

View File

@ -146,7 +146,7 @@ if config.passthru:
mpw = list(macresources.parse_file(vol['MPW']['MPW Shell'].rsrc))
for resource in mpw:
if resource.type == b'SIZE':
resource.data = resource.data[:2] + (0x300000).to_bytes(4, byteorder='big') * 2 + resource.data[10:]
resource.data = resource.data[:2] + (0x600000).to_bytes(4, byteorder='big') * 2 + resource.data[10:]
vol['MPW']['MPW Shell'].rsrc = macresources.make_file(mpw)
# Patch the Process Manager to shut down when the last visible app quits,