dolphin-emulator/Source/Core
Léo Lam da5a7fcc63 IOS/ES: Fix content table handling
This is larger than I thought I would be, but unfortunately it's quite
hard to split fixes like this when the handling is wrong in tons of
different places.

The content table is limited in size. It can only hold 16 entries.
Three consequences:

* Since the table cannot grow indefinitely, instead of using a std::map
  we use a std::array as we should.

* Remove a hack where the CFD was cleared back to 0 on IPC close (wtf?)

* The CFD now doesn't keep increasing to infinity. It's unknown if this
  would fix anything at all, but some issues in the past were caused
  by CFDs being excessively large.

Other minor changes:

* Simplify save state logic.

* Keep track of the UID like ES does. Not sure how useful this is, but
  we can do this very easily so why not.

* Remove the guesswork and use the actual error codes.

* Add more error checking to make Dolphin less likely to crash.

Something that should be done in the future: deduplicate the filesystem
logic. Something that takes one line in the actual ES code takes
10+ lines in our implementation... while duplicating the FS logic...
This will likely harder to fix though, so I'm leaving that
for another time.
2017-06-27 15:37:00 +02:00
..
AudioCommon OpenALStream: remove commented-out ALC_REFRESH code 2017-06-27 00:06:14 -07:00
Common BlockingLoop: fix unhandled enum value warning 2017-06-26 23:34:33 -07:00
Core IOS/ES: Fix content table handling 2017-06-27 15:37:00 +02:00
DiscIO IOS: Use a std::array for the title key instead of vector 2017-06-27 00:01:20 +02:00
DolphinNoGUI NoGUI: Fix a missing include for Xlib 2017-06-13 11:46:13 +02:00
DolphinQt2 Merge pull request #5614 from ligfx/qtinputmappingrandomcleanups 2017-06-27 01:57:26 -07:00
DolphinWX Merge pull request #5699 from JosJuice/wx-custom-titles 2017-06-27 01:48:22 -07:00
InputCommon StringUtil: Make SplitString return by value 2017-06-11 16:48:20 +02:00
UICommon UICommon: Move TriggerSTMPowerEvent() from Wx 2017-06-26 16:28:39 +02:00
VideoBackends AbstractTexture: Add missing includes (and remove unnecessary ones) 2017-06-18 23:29:22 -04:00
VideoCommon Change "blocking" BlockingLoop::Stop to give up and die after a timeout. 2017-06-25 20:47:30 -07:00
CMakeLists.txt Moved NoGUI out of DolphinWx. 2017-03-08 01:24:18 -08:00