File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -642,14 +642,6 @@ def writeProtectCheck():
642
642
else :
643
643
prgood ("SD card is writeable!" )
644
644
645
- # Section: SD card free space
646
- # ensure 16MB free space
647
- if not fs .ensurespace (16 * 1024 * 1024 ):
648
- #prbad(f"Error 06: You need at least 16MB free space on your SD card, you have {(freeSpace / 1000000):.2f} bytes!")
649
- prbad ("Error 06: You need at least 16MB free space on your SD card!" )
650
- prinfo ("Please free up some space and try again." )
651
- exitOnEnter ()
652
-
653
645
clearScreen ()
654
646
print (f"MSET9 { VERSION } SETUP by zoogie, Aven, DannyAAM and thepikachugamer" )
655
647
print ("What is your console model and version?" )
@@ -841,6 +833,9 @@ def injection(create=True):
841
833
fs .remove (triggerFilePath )
842
834
haxState = 4
843
835
prgood ("Removed trigger file." )
836
+ if not fs .ensurespace (16 * 1024 * 1024 ): # This is a good time to actually check the space
837
+ prbad ("Error 06: You need at least 16MB free space on your SD card!" )
838
+ prinfo ("Please free up some space and try again." )
844
839
return
845
840
846
841
prinfo ("Injecting trigger file..." )
You can’t perform that action at this time.
0 commit comments