dolphin/Source
DimitriPilot3 98536df915 Make sure to reserve() exactly the right amount of elements for the std::vector before filling it with CheatSearchResult's, in order to prevent automatic re-allocations.
It turns out that this (somewhat) gets rid of memory-related exceptions which used to occur (especially) during 8-bit cheat searches.  At least this is the case with my computer that has 3GB of RAM (the issue didn't seem to be caused by 100% of RAM usage, however).

Hopefully you'll be able to perform the following steps without errors now:
1. Open any game in Dolphin;
2. Go to Tools->Cheats Manager, and open the "Cheat Search" tab;
3. Preferably set the "Data Size" to 8-bit (the smaller, the more initial search results);
4. Press the "New Scan" button;
5. Use the "Unknown" search filter (which won't narrow the results down at all);
6. Press the "Next Scan" button.

(oh, and fix a typo in a comment I introduced in r6791 :p)

Anyway, make sure to tell me any eventual errors/regressions.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7596 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-13 15:47:02 +00:00
..
Core Make sure to reserve() exactly the right amount of elements for the std::vector before filling it with CheatSearchResult's, in order to prevent automatic re-allocations. 2011-06-13 15:47:02 +00:00
DSPSpy llejit - fix for flag generation code + dspspy jit workaround 2011-04-15 13:04:20 +00:00
DSPTool Move SConscript files out from the Src subdirectories to be 2011-03-03 19:44:56 +00:00
Plugins Revert r7421 and r7422. 2011-06-11 19:37:21 +00:00
TestSuite drop vs2008 projects in favor of vs2010 2011-02-11 15:43:05 +00:00
UnitTests Move SConscript files out from the Src subdirectories to be 2011-03-03 19:44:56 +00:00
VSProps vs2010: make sure minimal rebuild is turned off 2011-03-24 04:26:21 +00:00
CMakeLists.txt Add an experimental CMake build system as a possible replacement for SCons. Only tested on Linux, should work on OS X and Windows in the future as well though. 2010-11-01 15:47:02 +00:00
Dolphin_2010.sln Fix the video software backend. (closes issue 4269) 2011-03-16 22:48:17 +00:00