dolphin/Source
Lioncash 07d729daa2 [Android] Prevent duplicate duplicate items from being in the game list at one time.
Previously it was possible for a game with the same path and name to be in the list as another. This is annoying because duplicates ae (obviously) no different from the initial item.

This prevents duplicates from entering the list.

The way this works is:

1. We get the final list of items to add to the list.

2. Loop through it using two indices, which, for this explanation I'll call [item] and [itemAfter]

We compare path name at item with index [item] and the path name at item with index [itemAfter]
To phrase this numerically comparison works like so:

for (int i = 0; i < listSize; i++)
{
    if (i+1 < listSize)
        item[i].getPath().equals(item[i+1].getPath())
}

3. For each path comparison that is true, remove item at [indexNext].
2013-08-17 14:28:50 -04:00
..
Android [Android] Prevent duplicate duplicate items from being in the game list at one time. 2013-08-17 14:28:50 -04:00
Core NetWindow: Move "Write memcards" checkbox to be host-only 2013-08-16 21:42:38 -04:00
DSPSpy llejit - fix for flag generation code + dspspy jit workaround 2011-04-15 13:04:20 +00:00
DSPTool Buildfix for dsptool. 2013-05-21 20:30:09 -04:00
Plugins Put the shader info log at the end of the shader log file. This fixes issue 6495. 2013-08-16 21:05:35 +00:00
TestSuite clear cg from project files 2013-02-27 10:55:25 +01:00
UnitTests Adding unit test project to VS solution 2013-05-22 03:29:58 +02:00
VSProps Add UPnP support. 2013-07-09 18:08:43 -04:00
CMakeLists.txt Add the DSPTool and UnitTests to the cmake build. They are optional, and to enable them add -DDSTPTOOL and -DUNITTESTS to the cmake command line. 2011-07-18 01:47:55 +00:00
Dolphin_2010.sln Add UPnP support. 2013-07-09 18:08:43 -04:00