示例#1
0
        private void FindMemoryStickGames(object state)
        {
            // Load the memory stick listing
            List <GameInformation> eboots = new List <GameInformation>();

            GameInformation[] ebootList = GameLoader.FindGames(_emulator.MemoryStick);
            foreach (GameInformation game in ebootList)
            {
                if (game.GameType == GameType.Eboot)
                {
                    eboots.Add(game);
                }
            }

            AddGamesDelegate del = delegate(List <GameInformation> games)
            {
                msGameListing.AddGames(games);
            };

            this.Invoke(del, eboots);
        }