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 Add TGC disc image compatibility 2016-12-18 18:57:36 +01:00
DiscIO.vcxproj.filters Add TGC disc image compatibility 2016-12-18 18:57:36 +01:00
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 SectorReader: Fix cache line bias 2016-07-09 02:27:35 +10:00
DriveBlob.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
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 Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
FileSystemGCWii.cpp Filesystem: Return strings from GetFileName without the const qualifier 2016-09-18 12:56:25 -04:00
FileSystemGCWii.h Filesystem: Return strings from GetFileName without the const qualifier 2016-09-18 12:56:25 -04:00
Filesystem.cpp Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
Filesystem.h Filesystem: Return strings from GetFileName without the const qualifier 2016-09-18 12:56:25 -04:00
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 Move DiscIO enums to a new file 2016-07-13 17:29:27 +02:00
Volume.h IOS/ES: Keep track of the active title properly 2017-03-02 20:28:01 +01:00
VolumeCreator.cpp Added support for Wii RVT-R disc images. 2016-12-01 07:51:29 -05:00
VolumeCreator.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
VolumeDirectory.cpp VolumeDirectory: Use case-insensitive comparison when sorting 2017-01-25 15:07:07 +01:00
VolumeDirectory.h DiscIO: Add GetRegion function and Region enum 2017-01-02 20:57:11 +01:00
VolumeGC.cpp DiscIO: Add GetRegion function and Region enum 2017-01-02 20:57:11 +01:00
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