Léo Lam
dc224cba3c
IOS/ES: Partially restore hack to fake IOS titles
...
This partially restores a hack which causes ES to fake ticket views for
IOS titles.
This is necessary because we still allow users to boot games from the
game list, so, with no way of making sure the required IOSes are
installed beforehand, games may OSPanic() when they try to reload to
some IOS version and just find out that the IOS is not installed
(something which *never* happens on the real console, of course).
A warning is printed in the logs to make sure technical users know the
IOS titles are being faked. To try and keep things accurate in all
other cases, this hack is only active when it is needed (when the
current title is a disc title which was launched from the game list).
2017-03-08 23:09:10 +01:00
Matthew Parlane
cd826cee34
Merge pull request #5039 from leoetlino/es-import-hash-check
...
IOS/ES: Check the content hash during imports
2017-03-09 10:58:06 +13:00
Markus Wick
be8de62b88
Merge pull request #5041 from JosJuice/hi-2007
...
PatchEngine: Remove an unneeded comment
2017-03-08 21:23:40 +01:00
JosJuice
08954e99f5
PatchEngine: Remove an unneeded comment
2017-03-08 21:03:10 +01:00
JosJuice
a1f874a66b
ConfigManager: Remove m_strName
...
m_strName has limited usefulness, because GetInternalName()
can be inaccurate or even completely wrong. It was almost
completely unused anyway.
2017-03-08 21:01:57 +01:00
Léo Lam
daa5ff9a81
IOS/ES: Check the content hash during imports
...
This adds a hash check for imported contents. IOS does it for security;
we do it for a somewhat different reason, to catch content decryption
bugs before incorrectly decrypted contents get written to the NAND,
which can cause titles to be corrupted.
Either way, we should have been doing this check in all cases.
2017-03-08 16:32:38 +01:00
Markus Wick
489d90b6f3
Merge pull request #4999 from stenzek/renderer-statics
...
VideoCommon: Eliminate static state in Renderer
2017-03-08 11:02:20 +01:00
Markus Wick
9c1eac1f4f
Merge pull request #4944 from vladfi1/framedump
...
Framedump extensions
2017-03-08 11:01:53 +01:00
Markus Wick
a911d256a7
Merge pull request #5018 from Tilka/trunc
...
VideoCommon: remove unnecessary trunc()
2017-03-08 11:01:17 +01:00
Vlad Firoiu
096f58b172
Save new framedump options.
2017-03-08 01:38:40 -08:00
Markus Wick
7cc5604a2c
Merge pull request #5033 from vladfi1/nogui-user
...
Parse user directory on nogui CLI.
2017-03-08 10:04:12 +01:00
Markus Wick
ac914e939b
Merge pull request #5035 from lioncash/out-of-bounds
...
GCAdapter_Android: Fix an array bounds overrun in Read()
2017-03-08 10:01:34 +01:00
Florent Castelli
b69d3f13cb
common: Don't include intrin.h in a namespace
...
Fixes compilation with VS2017
2017-03-08 06:55:06 +01:00
Florent Castelli
cf68ecf066
core: Add missing include
2017-03-08 06:55:05 +01:00
Matthew Parlane
028da93d35
Merge pull request #5030 from sepalani/fix_pr_5002
...
Fix a vector assertion introduced by PR #5002
2017-03-07 23:23:11 +13:00
Matthew Parlane
cfc909f422
Merge pull request #4867 from lioncash/simplify
...
Boot_WiiWAD: Simplify state_checksum()
2017-03-07 18:27:50 +13:00
Matthew Parlane
52f22e240b
Merge pull request #5031 from lioncash/cast
...
CachedInterpreter: Get rid of an unnecessary cast
2017-03-07 18:11:00 +13:00
Matthew Parlane
4d02d38bf0
Merge pull request #5032 from lioncash/const
...
Memmap/PowerPC: Remove unnecessary const on function declaration parameters
2017-03-07 18:10:31 +13:00
Lioncash
b914edd441
GCAdapter_Android: Fix an array bounds overrun in Read()
...
s_controller_payload is 37 bytes long, but Read() would copy 0x37 (a.k.a
55) bytes, overrunning the array.
2017-03-06 23:05:17 -05:00
Lioncash
26f7f55a66
GeneralConfigPane: Fix analytics sizer's right side being misaligned by 5 units
2017-03-06 22:19:54 -05:00
Vlad Firoiu
ac3586f46c
Parse user directory on nogui CLI.
2017-03-06 12:24:38 -08:00
Lioncash
4d1a4ba759
PowerPC: Remove unnecessary const on function declaration parameters
2017-03-06 14:10:33 -05:00
Lioncash
248a04f68f
Memmap: Remove unnecessary const on function declaration parameters
...
const, when used on value type parameters in the declaration,
is superfluous. This doesn't really convey any information to take note
of when using the function. This only matters in the definition when you
want to prevent accidental modification.
e.g.
// Header
void CalculateSomething(int lhs, int rhs);
// Definition
void CalculateSomething(const int lhs, const int rhs)
{
// lhs and rhs can't accidentally be modified
}
2017-03-06 14:08:07 -05:00
Lioncash
a9c570a9f8
CachedInterpreter: Get rid of an unnecessary cast
...
This is only ever used to read a value and not modify data, so this can
just be constructed by value.
2017-03-06 13:18:46 -05:00
Matthew Parlane
7d681f9c93
Merge pull request #5016 from leoetlino/es-di-gettmd
...
IOS/ES: Implement ES_DIGetTMDView (and GetTMDViewSize)
2017-03-07 00:05:47 +13:00
Sepalani
bc1990ce5d
Fix a vector assertion introduced by PR#5002
2017-03-06 01:41:42 +00:00
Vlad Firoiu
71c0e30655
Appease linter.
2017-03-05 17:29:46 -08:00
Vlad Firoiu
fbff74c1eb
Warn on invalid video codec.
2017-03-05 17:08:59 -08:00
Vlad Firoiu
9155af5103
GetDumpPath function.
2017-03-05 17:08:59 -08:00
Vlad Firoiu
8c24387509
Use ffv1 if user requests it.
2017-03-05 17:08:59 -08:00
Matthew Parlane
f9f4381461
Merge pull request #4525 from RisingFog/gci_dtm
...
GCI Folder support for TAS Recording/Playback
2017-03-06 13:26:16 +13:00
Chris Burgener
5193813b50
GCI Folder support for TAS Recording/Playback
2017-03-05 19:12:09 -05:00
Mat M
029ff4d9e5
Merge pull request #5022 from lioncash/header
...
BTStub: Get rid of an unnecessary forward declaration in the cpp file
2017-03-05 19:03:56 -05:00
Léo Lam
dd8b0e3c3f
IOS/ES: Fix logging type for dumping unknown ioctlvs
2017-03-06 00:38:13 +01:00
Léo Lam
5049451a85
IOS/ES: Implement ES_DIGetTMDView (and GetTMDViewSize)
...
This is required for online updates to work in the system menu.
2017-03-05 22:44:58 +01:00
Lioncash
f80f875e27
BTStub: Get rid of an unnecessary forward declaration in the cpp file
...
This should be using the header file in order to find the function name.
2017-03-05 09:51:47 -05:00
Mat M
7fa14169e9
Merge pull request #5007 from lioncash/swap
...
Common: Move byte swapping utilities into their own header
2017-03-05 09:45:29 -05:00
Tillmann Karras
8a72e84ece
VideoCommon: remove unnecessary trunc()
2017-03-05 01:53:54 +00:00
Matthew Parlane
c2594695b8
Merge pull request #5001 from leoetlino/es-titles
...
IOS/ES: Fix ES_GetTitles and implement ES_GetOwnedTitles
2017-03-05 14:28:28 +13:00
Lioncash
0e5a367ca3
SysConf: const-correctness
2017-03-04 19:19:42 -05:00
Lioncash
1ebd2cd7c3
SysConf: Get rid of pointer casts
2017-03-04 19:06:22 -05:00
Léo Lam
52e8486b7c
IOS/ES: Refactor GetTitles into a utility function
2017-03-04 20:33:35 +01:00
Léo Lam
1525396ecf
IOS/ES: Properly handle missing TMD in GetStoredTMD
...
When the TMD doesn't exist on the NAND, IOS returns -106.
This commit also changes IsValid() to not check for the TMD validity,
since this is not always something we want. (IOS can have different
error codes when the TMD is missing, or even worse, simply assume
that the TMD is valid.)
2017-03-04 20:33:35 +01:00
Léo Lam
b1ffbef5ce
IOS/ES: Implement ES_GetOwnedTitles
2017-03-04 20:33:35 +01:00
Léo Lam
35995e98d7
IOS/ES: Fix GetTitles implementation
...
IOS determines installed titles by looking at /title, not uid.sys,
which is more like a history of installed titles. And it does not care
at all about the installed TMD (or even if it is present at all).
2017-03-04 20:33:34 +01:00
Markus Wick
7304cb0f8e
Merge pull request #5011 from stenzek/d3d-texture-corruption
...
D3D11: Use default usage for TextureCache entries
2017-03-04 15:55:58 +01:00
Stenzek
725d5bc3a1
D3D11: Drop unused method ReplaceRGBATexture2D
2017-03-04 22:37:10 +10:00
Stenzek
526fa9bc85
D3D11: Use D3D11_USAGE_DEFAULT for all TextureCache textures
2017-03-04 22:36:33 +10:00
Markus Wick
3c511f2a94
Merge pull request #5003 from lioncash/memory
...
UICommon: Make GetNewDisassembler() return a unique_ptr
2017-03-04 12:14:35 +01:00
Markus Wick
01143d761e
Merge pull request #5006 from lioncash/settings
...
ControllerEmu: Initialize settings class' values to default values on construction
2017-03-04 12:13:24 +01:00