Skip to content

Commit

Permalink
fixed Windows not detecting drives properly, also readded GO support
Browse files Browse the repository at this point in the history
  • Loading branch information
krazynez committed Apr 15, 2024
1 parent ad5056a commit 6bb1c9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contrib/PC/MagicMemoryCreator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
possible_drive.append('disk'+str(drive.Index))
deviceID[f'disk{str(drive.Index)}'] = drive.DeviceID
for part in psutil.disk_partitions():
if 'removable' in psutil.disk_partitions():
if 'removable' in part.opts:
windows_disk_letter[f'disk{str(drive.Index)}'] = part.mountpoint.split(':')[0]


Expand Down Expand Up @@ -136,8 +136,6 @@ def run() -> None:

# Download 6.61 OFW
if go:
print('wft no get out of here?')
sys.exit(1)
resp = requests.get('http://du01.psp.update.playstation.org/update/psp/image2/us/2014_1212_fd0f7d0798b4f6e6d32ef95836740527/EBOOT.PBP', verify=False)
with open('661_GO.PBP', 'wb') as f:
f.write(resp.content)
Expand Down

0 comments on commit 6bb1c9c

Please sign in to comment.