@@ -27,6 +27,7 @@ def reset(self):
2727 'xqemu_path' : '/path/to/xqemu' ,
2828 'mcpx_path' : '/path/to/mcpx.bin' ,
2929 'flash_path' : '/path/to/flash.bin' ,
30+ 'eeprom_path' : '/path/to/eeprom.bin' ,
3031 'hdd_path' : '/path/to/hdd.img' ,
3132 'hdd_locked' : True ,
3233 'dvd_present' : True ,
@@ -115,6 +116,8 @@ def bindDropdownWidget(widget, var):
115116 bindFilePicker (self .setMcpxPath , self .mcpxPath )
116117 bindTextWidget (self .flashPath , 'flash_path' )
117118 bindFilePicker (self .setFlashPath , self .flashPath )
119+ bindTextWidget (self .eepromPath , 'eeprom_path' )
120+ bindFilePicker (self .setEepromPath , self .eepromPath )
118121 bindTextWidget (self .hddPath , 'hdd_path' )
119122 bindFilePicker (self .setHddPath , self .hddPath )
120123 bindCheckWidget (self .hddLocked , 'hdd_locked' )
@@ -229,6 +232,9 @@ def escape_path(path):
229232 flash_path = settings .settings ['flash_path' ]
230233 check_path (flash_path )
231234 flash_path_arg = escape_path (flash_path )
235+ eeprom_path = settings .settings ['eeprom_path' ]
236+ check_path (eeprom_path )
237+ eeprom_path_arg = escape_path (eeprom_path )
232238 hdd_path = settings .settings ['hdd_path' ]
233239 check_path (hdd_path )
234240 hdd_path_arg = escape_path (hdd_path )
@@ -246,7 +252,7 @@ def escape_path(path):
246252 # Build qemu launch cmd
247253 cmd = [xqemu_path ,
248254 '-cpu' ,'pentium3' ,
249- '-machine' ,'xbox%(accel_arg)s,bootrom=%(mcpx_path_arg)s%(short_anim_arg)s' % locals (),
255+ '-machine' , 'xbox%(accel_arg)s,bootrom=%(mcpx_path_arg)s,eeprom=%(eeprom_path_arg )s%(short_anim_arg)s' % locals (),
250256 '-m' , '%(sys_memory)s' % locals (),
251257 '-bios' , '%(flash_path_arg)s' % locals (),
252258 '-drive' ,'file=%(hdd_path_arg)s,index=0,media=disk%(hdd_lock_arg)s' % locals (),
0 commit comments