All pastes #99455 Raw Edit

Something

public text v1 · immutable
#99455 ·published 2006-07-25 10:14 UTC
rendered paste body
    def ShowRoms(self, index):
        self.ViewState = STATE_ROMS
        self.index = index
        self.lstEmu.reset()
        tmpCount = 0
        for rom in os.listdir(self.rompath[index]):
            tmpCount += 1
            self.lstEmu.addItem(xbmcgui.ListItem(rom, index, "", ""))
        self.lblCount.setLabel(str(tmpCount))