Skip to content

Commit e64f031

Browse files
Doom app: starting doom works
1 parent 9ba9bf9 commit e64f031

File tree

1 file changed

+2
-10
lines changed
  • internal_filesystem/apps/com.micropythonos.doom/assets

1 file changed

+2
-10
lines changed

internal_filesystem/apps/com.micropythonos.doom/assets/doom.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)