dolphin/Source/Core/Common/Src
comex 04c41c1d38 Fix loading DLC using IOCTL_ES_OPENTITLECONTENT & /dev/es state save.
(Intertwined enough that's it's easier to do in one patch.)

(1) /dev/es did not support state save, which could cause crashes and
    incorrect behavior after loading.

(2) NANDContentLoader tried to read all of a title's contents into
    memory when it was first opened.  Two issues:

- If any contents were missing, it bailed out.  However, with DLC,
  only some of the contents may be downloaded, as determined by the
  permission bits in the ticket.  Instead, return an appropriate error
  when a content is accessed that doesn't exist on the filesystem
  (don't bother checking the permission bits though).

- Everything was loaded into memory - even if it consisted of 3 GB of
  songs, which caused Dolphin to lag out for quite a while (and would
  fail on 32-bit).  Instead, open content on demand.
2013-08-31 01:38:52 -04:00
..
Crypto More cleaning. 2013-08-28 01:07:43 +12:00
ArmCPUDetect.cpp Free two memory leaks in ArmCPUDetect.cpp 2013-08-06 18:17:54 -04:00
ArmEmitter.cpp [ARM] Fix the VMOV encoding to encode the destination VFP register correctly. 2013-08-30 05:13:43 -05:00
ArmEmitter.h [ARM] Add ASR/ASRS and UMULLS emitters. 2013-08-19 06:26:34 +00:00
Atomic.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Atomic_GCC.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Atomic_Win32.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
BreakPoints.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
BreakPoints.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
CDUtils.cpp Fix "Common" to build with "Unicode" project setting. 2013-02-27 19:19:38 -06:00
CDUtils.h Switches to GCC's internal swaps for swap32 and swap64 in OSX. Changes CDIO from using char*** to std::vector<std::string>, which fixes a memory leak I was noticing and also makes it look cleaner. This is not tested much in Windows/Linux, please see if it compiles and doesn't fail out in some mysterious way 2010-02-16 08:46:21 +00:00
ChunkFile.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
ColorUtil.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
ColorUtil.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Common.h Make NonCopyable use rvalue references. 2013-08-31 01:38:49 -04:00
CommonFuncs.h [Android] Undefine the swaps in Android completely, not just on ARM Android. 2013-07-11 08:58:10 -05:00
CommonPaths.h Merge branch 'master' into wii-network 2013-08-26 00:50:57 +00:00
CommonTypes.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
ConsoleListener.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
ConsoleListener.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
CPUDetect.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
DebugInterface.h Function definition was not updated. 2012-12-24 00:00:25 +13:00
ExtendedTrace.cpp Fix a stack corruption in ExtendedTrace. 2013-08-08 20:29:20 +02:00
ExtendedTrace.h Clean up more space/tab mismatches in AudioCommon, Common, and VideoCommon. 2013-03-19 21:51:12 -04:00
FifoQueue.h Make FifoQueue take advantage of rvalue references to avoid std::vector copies. 2013-04-04 19:34:50 -05:00
FileSearch.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
FileSearch.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
FileUtil.cpp Merge branch 'master' into wii-network 2013-08-26 00:50:57 +00:00
FileUtil.h Fix loading DLC using IOCTL_ES_OPENTITLECONTENT & /dev/es state save. 2013-08-31 01:38:52 -04:00
FixedSizeQueue.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
FPURoundMode.h Clean up more space/tab mismatches in AudioCommon, Common, and VideoCommon. 2013-03-19 21:51:12 -04:00
GenericFPURoundMode.cpp ARM Support without GLSL 2013-02-26 13:49:00 -06:00
Hash.cpp Fix a bunch of random typos in comments and logging. 2013-04-19 09:21:45 -04:00
Hash.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
IniFile.cpp IniFile: Don't parse comments after the [Section] brackets 2013-08-11 11:32:10 -04:00
IniFile.h IniFile: Don't parse comments after the [Section] brackets 2013-08-11 11:32:10 -04:00
LinearDiskCache.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Log.h Merge branch 'master' into wii-network 2013-04-24 00:48:00 +12:00
LogManager.cpp Merge branch 'master' into wii-network 2013-04-24 00:48:00 +12:00
LogManager.h Replace OpenSSL with PolarSSL 2013-08-15 20:47:47 +12:00
MathUtil.cpp Revert "Added optimizations to ClassifyFloat/Double functions in Mathutil.cpp and to PPCCache.cpp" 2013-06-22 12:25:03 +02:00
MathUtil.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
MemArena.cpp [Android] Fix Android 4.3 from crashing on my devices. This was annoying to find. 2013-08-21 00:12:53 -05:00
MemArena.h Fix a bunch of random typos in comments and logging. 2013-04-19 09:21:45 -04:00
MemoryUtil.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
MemoryUtil.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Misc.cpp Android Clang doesn't support TLS, so do the same thing as OSX. 2013-04-18 22:52:53 -05:00
MsgHandler.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
MsgHandler.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
NandPaths.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
NandPaths.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
SDCardUtil.cpp Hopefully fix all filename handling to support Unicode. 2013-02-27 20:03:06 -06:00
SDCardUtil.h Update the license file text (change SVN to Git) in all projects except Core since I was told a merge was happening soon. So for the sake of the merge going smoothly, I'll fix that when I remove the tab/space mismatches from the Core project. 2013-04-15 16:28:55 -04:00
SettingsHandler.cpp Fix headings and more. 2013-08-28 00:57:08 +12:00
SettingsHandler.h Fix headings and more. 2013-08-28 00:57:08 +12:00
stdafx.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
stdafx.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
StdConditionVariable.h [Android] Android NDK now supports full implementations of std::mutex, std::thread, and std::conditional_variable so there is no need to have our own implementations there now. 2013-08-29 22:29:33 -05:00
StdMutex.h [Android] Android NDK now supports full implementations of std::mutex, std::thread, and std::conditional_variable so there is no need to have our own implementations there now. 2013-08-29 22:29:33 -05:00
StdThread.h [Android] Android NDK now supports full implementations of std::mutex, std::thread, and std::conditional_variable so there is no need to have our own implementations there now. 2013-08-29 22:29:33 -05:00
StringUtil.cpp [Android] Add in a static libiconv library so non English games don't crash Dolphin Mobile. 2013-08-29 04:43:31 -05:00
StringUtil.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
SymbolDB.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
SymbolDB.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
SysConf.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
SysConf.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Thread.cpp Use pthread_setname_np. 2013-08-29 16:30:32 -04:00
Thread.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Thunk.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Timer.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Timer.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
Version.cpp [Android] Add an about screen that shows build revision. 2013-06-22 22:54:36 -05:00
x64ABI.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
x64ABI.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
x64Analyzer.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
x64Analyzer.h New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
x64CPUDetect.cpp Fix the fix to AVX support detection 2013-08-22 01:08:14 +02:00
x64Emitter.cpp Merge branch 'dspjit' 2013-04-21 12:29:18 +02:00
x64Emitter.h Fix a bunch of random typos in comments and logging. 2013-04-19 09:21:45 -04:00
x64FPURoundMode.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00
x64Thunk.cpp New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects. 2013-04-17 23:09:55 -04:00