dolphin/Source/Core
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
..
AudioCommon C++ conformance fixes (MSVC /permissive-) 2017-02-15 20:37:04 -08:00
Common CMakeLists: Normalize whitespace 2017-03-01 14:53:23 -05:00
Core IOS/ES: Keep track of the active title properly 2017-03-02 20:28:01 +01:00
DiscIO IOS/ES: Keep track of the active title properly 2017-03-02 20:28:01 +01:00
DolphinQt2 CMakeLists: Normalize whitespace 2017-03-01 14:53:23 -05:00
DolphinWX Merge pull request #4995 from lioncash/normalize 2017-03-02 11:51:06 +01:00
InputCommon Merge pull request #4995 from lioncash/normalize 2017-03-02 11:51:06 +01:00
UICommon CMakeLists: Normalize whitespace 2017-03-01 14:53:23 -05:00
VideoBackends Merge pull request #4993 from ligfx/fixsonicadventure2 2017-03-02 21:30:10 +10:00
VideoCommon Merge pull request #4995 from lioncash/normalize 2017-03-02 11:51:06 +01:00
CMakeLists.txt CMakeLists: Normalize whitespace 2017-03-01 14:53:23 -05:00