File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
internal_filesystem/apps/com.micropythonos.doom/assets Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ class Doom(Activity):
77 retrogodir = "/retro-go"
88 configdir = retrogodir + "/config"
99 bootfile = configdir + "/boot.json"
10- # partition_label = "prboom-go"
11- partition_label = "retro-core"
10+ partition_label = "prboom-go"
11+ # partition_label = "retro-core"
1212 # Widgets:
1313 status_label = None
1414
@@ -42,20 +42,12 @@ def start_wad(self, wadfile):
4242 import json
4343 # Would be better to only write this if it differs from what's already there:
4444 fd = open (self .bootfile , 'w' )
45- '''
4645 bootconfig = {
4746 "BootName" : "doom" ,
4847 "BootArgs" : f"/sd{ wadfile } " ,
4948 "BootSlot" : - 1 ,
5049 "BootFlags" : 0
5150 }
52- '''
53- bootconfig = {
54- "BootName" : "nes" ,
55- "BootArgs" : "/sd/roms/nes/homebrew/Yun.zip" ,
56- "BootSlot" : - 1 ,
57- "BootFlags" : 0
58- }
5951 json .dump (bootconfig , fd )
6052 fd .close ()
6153 except Exception as e :
You can’t perform that action at this time.
0 commit comments