dolphin/Source/Core
Scott Mansell 8b4734133e IPC_HLE: Don't open/close file for every single file operation.
On the first boot of Pokemon Snap it copies a 144KB file to the Wii's
NAND, but it only copies 32 bytes per IPC write call.

This was causing dolphin to open and close the same file over 4000
times. This wouldn't usually be a huge issue, except some operating
systems (namely Windows) allow 3rd party programs (namely antivirus
software) to hook all accesses to the filesystem.

This causes the antivirus software to scan the same file for viruses
4000+ times, which is kind of slow.

This fix reduces the initial boot time of pokemon snap from 3+ min
to just a few seconds. Could also improve other games which write
things to NAND.

Will break a few things, see the next commit for an improved fix.
2015-06-24 19:23:10 +12:00
..
AudioCommon Options: merge SCoreStartupParameter into SConfig 2015-06-12 19:07:45 +02:00
Common Hash: Remove the HashFNV prototype 2015-06-20 21:23:25 -04:00
Core IPC_HLE: Don't open/close file for every single file operation. 2015-06-24 19:23:10 +12:00
DiscIO Merge pull request #2620 from JosJuice/more-decodestring 2015-06-18 14:57:10 +02:00
DolphinQt Cache games without banners 2015-06-14 12:23:48 +02:00
DolphinWX Merge pull request #2639 from rukai/master 2015-06-21 17:10:07 -04:00
InputCommon Fix misc. clang warnings - mostly complaints about inconsistent use of override. 2015-06-21 15:42:49 -04:00
UICommon Options: merge SCoreStartupParameter into SConfig 2015-06-12 19:07:45 +02:00
VideoBackends Fix FreeBSD build 2015-06-13 21:52:47 -07:00
VideoCommon [AArch64] Fix a couple of bugs in the vertex loader 2015-06-20 21:12:31 -05:00
CMakeLists.txt Merge pull request #1085 from waddlesplash/refactoring 2014-10-05 21:25:44 -04:00