dolphin/Source/Core/DiscIO
Léo Lam 4d776ffa8f IOS/ES: Keep track of the active title properly
This changes ES to keep track of the active title properly,
just like IOS:

* It is NOT changed on resource manager open/close.
* It is reset on IOS reload.
* It is changed by ES_DIVerify and ES_Launch.

IOS stores the active title in a structure like this:

    struct ESTitleContext
    {
      Ticket* ticket;
      TMD* tmd;
      u32 active;
    };

With this commit, we also do keep the Ticket and TMD around. This
makes some of the DI ioctlvs (which return data about the current
active title) trivial to implement in the future.

This fixes the System Menu not being able to see update partitions
and also allows us to change Dolphin's active game info in the future.
2017-03-02 20:28:01 +01:00
..
Blob.cpp WbfsBlob: Only open each file once 2017-01-11 13:33:27 +01:00
Blob.h Don't create new IOFiles when creating a blob 2017-01-11 13:23:23 +01:00
CISOBlob.cpp Don't create new IOFiles when creating a blob 2017-01-11 13:23:23 +01:00
CISOBlob.h Don't create new IOFiles when creating a blob 2017-01-11 13:23:23 +01:00
CMakeLists.txt CMakeLists: Normalize whitespace 2017-03-01 14:53:23 -05:00
CompressedBlob.cpp CompressFileToBlob: add an explicit seek to make sure we're at the start 2017-01-21 21:42:58 +01:00
CompressedBlob.h Don't create new IOFiles when creating a blob 2017-01-11 13:23:23 +01:00
DiscIO.vcxproj
DiscIO.vcxproj.filters
DiscScrubber.cpp DiscScrubber: Don't take SFileInfo instances by value 2017-01-04 20:12:49 -05:00
DiscScrubber.h DiscScrubber: Make struct and variable names conformant to the coding style 2017-01-04 17:04:41 -05:00
DriveBlob.cpp
DriveBlob.h
Enums.cpp SConfig: Replace bNTSC with m_region 2017-01-02 20:57:48 +01:00
Enums.h SConfig: Replace bNTSC with m_region 2017-01-02 20:57:48 +01:00
FileBlob.cpp Don't create new IOFiles when creating a blob 2017-01-11 13:23:23 +01:00
FileBlob.h Don't create new IOFiles when creating a blob 2017-01-11 13:23:23 +01:00
FileMonitor.cpp Core: Convert State enum into an enum class 2017-02-05 08:32:23 -05:00
FileMonitor.h
Filesystem.cpp
Filesystem.h
FileSystemGCWii.cpp
FileSystemGCWii.h
NANDContentLoader.cpp Add ES::Content::IsShared to avoid hardcoding 0x8000 2017-03-01 17:36:07 +01:00
NANDContentLoader.h IOS/ES: Implement ES_Export* ioctlvs 2017-02-27 21:26:28 +01:00
TGCBlob.cpp Don't create new IOFiles when creating a blob 2017-01-11 13:23:23 +01:00
TGCBlob.h Don't create new IOFiles when creating a blob 2017-01-11 13:23:23 +01:00
Volume.cpp
Volume.h IOS/ES: Keep track of the active title properly 2017-03-02 20:28:01 +01:00
VolumeCreator.cpp
VolumeCreator.h
VolumeDirectory.cpp VolumeDirectory: Use case-insensitive comparison when sorting 2017-01-25 15:07:07 +01:00
VolumeDirectory.h
VolumeGC.cpp
VolumeGC.h Forward declare IBlobReader in Volume headers 2017-02-19 08:40:30 +01:00
VolumeWad.cpp Use ESFormats for TMDs 2017-02-26 19:46:29 +01:00
VolumeWad.h Use ESFormats for TMDs 2017-02-26 19:46:29 +01:00
VolumeWiiCrypted.cpp IOS/ES: Keep track of the active title properly 2017-03-02 20:28:01 +01:00
VolumeWiiCrypted.h IOS/ES: Keep track of the active title properly 2017-03-02 20:28:01 +01:00
WbfsBlob.cpp Fix -Wshadow warning for file_entry 2017-01-22 17:27:37 +01:00
WbfsBlob.h Fix -Wshadow warning for file_entry 2017-01-22 17:27:37 +01:00
WiiWad.cpp Use ESFormats for TMDs 2017-02-26 19:46:29 +01:00
WiiWad.h Use ESFormats for TMDs 2017-02-26 19:46:29 +01:00