def launchEmu(self):

        Logutil.log("Begin launchEmu", util.LOG_LEVEL_INFO)

        launcher.launchEmu(self.gdb, self, self.selectedGameId, self.config,
                           self.settings, self.selectedGame)
        Logutil.log("End launchEmu", util.LOG_LEVEL_INFO)
Example #2
0
	def launchGame(self, param):
		import launcher, util
		from gamedatabase import GameDataBase
		from config import Config
		
		gdb = GameDataBase(util.getAddonDataPath())
		gdb.connect()
		
		gameId = int(param.replace('launchid=', ''))
		
		config = Config(None)
		statusOk, errorMsg = config.readXml()
		
		settings = util.getSettings()
		
		gui = dummyGUI()
		
		launcher.launchEmu(gdb, gui, gameId, config, settings, None)
    def launchEmu(self):

        Logutil.log("Begin launchEmu", util.LOG_LEVEL_INFO)

        launcher.launchEmu(self.gdb, self, self.selectedGameId, self.config, self.settings, self.selectedGame)
        Logutil.log("End launchEmu", util.LOG_LEVEL_INFO)