Lioncash
09d4871067
GCMemcard: Move memcard source files to their own directory
...
GCMemcard.h has quite a bit of different classes implemented within it
that could likely be split up into other files to make it a little
easier to read. However, they should be moved into their own folder
first so that they don't clutter up the base HW directory.
2017-03-14 21:55:25 -04:00
Anthony
a3557ed199
Merge pull request #4964 from DisorderIy/arcode-removal-fix
...
Fix remove and add buttons not disabling after removing Action Replay code
2017-03-14 11:21:39 -07:00
Markus Wick
3aa5b8fbf6
Merge pull request #5079 from JosJuice/move-loadpatches
...
Move LoadPatches calls
2017-03-14 10:44:38 +01:00
Markus Wick
884d3973e4
Merge pull request #5083 from lioncash/si
...
SI_DeviceGCController: Minor cleanup
2017-03-14 10:37:28 +01:00
Markus Wick
c30db8eddc
Merge pull request #4932 from PEmu1/toggle-fullscreen
...
Change "Fullscreen" Menu Option to "Toggle Fullscreen"
2017-03-14 10:30:34 +01:00
Markus Wick
d05f59e31d
Merge pull request #4876 from ligfx/netplay_move_semantics
...
NetPlay: use move semantics instead of unique_ptrs
2017-03-14 10:20:47 +01:00
Lioncash
46fd06b956
SI_DeviceGCController: Amend variable names
2017-03-14 05:15:48 -04:00
Markus Wick
31bb41c532
Merge pull request #4973 from z0z0z/master
...
Disable pinned memory for AMD mesa drivers
2017-03-14 10:02:05 +01:00
Lioncash
890f799fdd
SI_DeviceGCController: In-class initialize variables
2017-03-14 03:34:52 -04:00
Jules Blok
0a2b58c896
OGL: Remove support for NV_depth_buffer_float.
...
We can't clamp the depth values to the 24-bit range while this extension is active.
2017-03-14 01:02:13 +01:00
JosJuice
09682cfaa4
Move LoadPatches calls
...
LoadPatches was apparently never being called when booting
Wii discs. Maybe this will fix the recent regression with
cheat codes not getting loaded? I don't know how this
managed to work to begin with, though...
(The call was also moved for WADs, just for consistency.)
2017-03-13 22:29:55 +01:00
Markus Wick
f0c2bae778
Merge pull request #5078 from lioncash/si
...
SI_DeviceGBA: Minor cleanup
2017-03-13 21:00:36 +01:00
Markus Wick
13d23c21b7
Merge pull request #5071 from leoetlino/reorganise-es
...
IOS/ES: Split the ES code
2017-03-13 20:51:22 +01:00
Markus Wick
3df19c6643
Merge pull request #5075 from lioncash/cruft
...
DSPLLE: Remove commented out code
2017-03-13 20:47:27 +01:00
Lioncash
deda29d7ff
SI_DeviceGBA: Amend printf formatting specifier for size_t
...
%zu is the correct specifier for printing size_t.
2017-03-13 15:28:07 -04:00
Lioncash
8d2078de2d
SI_DeviceGBA: Amend variable naming
2017-03-13 15:27:36 -04:00
Léo Lam
204703ae0d
IOS/ES: Split the ES code
...
ES.cpp was becoming pretty huge. This commit splits the ES code into
several files:
* Main ES (launch, UID, current title directory and title ID, etc.)
* Device identity and encryption (ID and cert, keys, encrypt/decrypt)
* Title management (imports, exports, deletions)
* Title contents (open/close/read/seek)
* Title information (titles, stored contents, TMDs)
* Views (for tickets and TMDs)
2017-03-13 20:01:08 +01:00
Lioncash
9f40596de5
SI_DeviceGBA: Make GBASockServer's constructor explicit
...
Prevents potential implicit construction scenarios involving ints.
2017-03-13 14:53:50 -04:00
Lioncash
14f261079f
SI_DeviceGBA: Place implementations within the cpp file
...
Prevents potential recompilation of other files if these ever need to
change.
2017-03-13 14:51:18 -04:00
Lioncash
64aa7f3b8f
SI_DeviceGBA: Use std::array class members instead of C arrays
2017-03-13 14:46:35 -04:00
Lioncash
ea59d30e9f
SI_DeviceGBA: In-class initialize variables
2017-03-13 13:52:45 -04:00
Lioncash
70b1933661
SI_DeviceGBA: Store the device number as an int
...
This prevents truncation when assigning to this member in the
constructor. This isn't size-critical code, so opting for the more
straightforward assignment is fine here.
2017-03-13 13:30:02 -04:00
Lioncash
31644eaf93
DSPLLE: Remove commented out code
...
Just throwing out the trash
2017-03-13 12:36:53 -04:00
Lioncash
f183d6759a
HW/DSP: Remove prefixed underscores from parameter names
...
Avoids stepping on potentially reserved names and is more consistent
with the rest of the surrounding code.
2017-03-13 12:27:38 -04:00
Markus Wick
8035270aa8
Merge pull request #4411 from JosJuice/blob-nullptr
...
Remove Blob nullptr checks from Volume code
2017-03-13 16:35:40 +01:00
JosJuice
652b323715
Fix VolumeIsValid being referenced even though it was deleted
...
PR #3582 removed VolumeIsValid, then PR #3582 added a call
to VolumeIsValid, then both PRs were merged without either
of them being rebased on top of the other.
2017-03-13 15:37:08 +01:00
Markus Wick
7b19475911
Merge pull request #4548 from stenzek/gcc-sse
...
Support SSSE3 texture decoders and CRC32 hashing on non-native builds (gcc)
2017-03-13 14:28:01 +01:00
JosJuice
c48ee87f0a
Merge pull request #3582 from JosJuice/disc-inside-cleanup
...
DVDInterface: Cleanup for setting/getting whether a disc is inside
2017-03-13 14:26:15 +01:00
JosJuice
acec02ffc6
Remove Blob nullptr checks from Volume code
...
There's no point in creating a volume without a blob,
since essentially all the functionality of a volume
requires a blob to be used.
Also, VolumeCreator doesn't support creating volumes
without blobs (it can't even figure out the volume type
unless it gets a blob), so it's currently impossible
for a volume to be created without a blob.
2017-03-13 14:13:55 +01:00
Markus Wick
f63d40270d
Merge pull request #5056 from JosJuice/use-readswapped
...
Volume: Use ReadSwapped more
2017-03-13 10:30:55 +01:00
Matthew Parlane
1eba936749
Merge pull request #5072 from lioncash/const
...
DSPEmitter/DSPInterpreter: Remove unnecessary const specifiers from function declaration parameters
2017-03-13 14:13:53 +13:00
Lioncash
ade7718636
DSPInterpreter: Remove unnecessary const specifiers from function declaration parameters
2017-03-12 17:38:04 -04:00
Lioncash
a33cd805f9
DSPEmitter: Remove unnecessary const specifiers from function declaration parameters
...
These only matter for types being passed by value within the definition,
not the declaration.
2017-03-12 17:37:07 -04:00
Léo Lam
2111e4dd92
IOS/ES: Fix GetStoredContentsFromTMD
...
We were checking for the wrong files (title content directory instead
of checking whether the content files themselves exist)... Whoops!
2017-03-12 14:32:01 +01:00
Starsam80
0f44d22db5
Fix `ReadCertFile` by opening as binary file
2017-03-11 23:44:30 -07:00
Matthew Parlane
b1bd231421
Merge pull request #5020 from leoetlino/es-safer-import
...
IOS/ES: Implement ES_AddTitleCancel (and slightly safer import process)
2017-03-12 16:14:17 +13:00
Matthew Parlane
c62fc192ef
Merge pull request #5027 from leoetlino/ssl-check
...
IOS/SSL: Make sure we are using a correct cert/key
2017-03-12 16:13:37 +13:00
Matthew Parlane
d042121ebd
Merge pull request #5043 from lioncash/net
...
IOS/Network/IP/Top: Separate behaviors into their own functions
2017-03-12 16:12:43 +13:00
Matthew Parlane
29cf19f3d0
Merge pull request #5066 from leoetlino/personalised-tickets
...
IOS/ES: Handle personalised tickets properly
2017-03-12 16:12:21 +13:00
Lioncash
26e9c54886
DSPEmitter: Make helper functions private
...
Given none of these are used outside of the DSPEmitter class (nor does
it really make sense to allow them to be used outside of the class),
these should all be made private.
2017-03-11 20:33:07 -05:00
MerryMage
dc1a8c46e9
DSP/Jit: Load address of m_cycles_left into register
...
On some platforms, the address of m_cycles_left exceeds the maximal 32-bit
offset from RIP.
2017-03-11 22:51:41 +00:00
Léo Lam
9c31d6f5c5
IOS/ES: Handle personalised tickets properly
...
IOS unpersonalises device-specific ("personalised") tickets prior to
storing them on the NAND.
2017-03-11 21:14:26 +01:00
Mat M
71273c05a9
Merge pull request #5054 from leoetlino/es-get-contents
...
IOS/ES: Implement ES_GetStoredContents ioctlvs properly
2017-03-11 10:52:53 -05:00
Mat M
3d041fa4ea
Merge pull request #5055 from leoetlino/es-ticket-view-fix
...
IOS/ES: Fix GetViews to not check for the TMD
2017-03-11 10:50:50 -05:00
Stenzek
27d7a1646c
Merge pull request #5065 from JosJuice/character
...
Fix issue 10146 (compilation issue because of colliding defines)
2017-03-11 18:26:26 +10:00
JosJuice
40e707348c
Fix issue 10146 (compilation issue because of colliding defines)
2017-03-11 08:59:14 +01:00
Léo Lam
3cbf47d51d
IOS/ES: Fix GetViews to not check for the TMD
...
Using DiscIO's NAND content loader is the wrong way to get the ticket
for a title, because it checks whether the TMD is present and the
validity check fails if it isn't. This is not the correct behaviour:
we should just read the ticket from /ticket without caring about TMDs.
2017-03-10 22:59:34 +01:00
Léo Lam
28519328d2
IOS/ES: Implement ES_GetStoredContents ioctlvs properly
...
* IOS doesn't rely on the number of contents indicated in the TMD.
Instead, it checks whether the contents *do* exist on the NAND.
* Implement ES_GetTMDStoredContents (and the count ioctlv).
* Drop a hack in ES_GetStoredContents, which is unnecessary now that
we do it properly.
2017-03-10 22:45:08 +01:00
Léo Lam
62ea76e04c
IOS/ES: Clear /import on ES initialization
...
Something IOS does and we didn't do.
2017-03-10 22:44:26 +01:00
Léo Lam
d6499aba50
IOS/ES: Implement ES_AddTitleCancel
2017-03-10 22:44:26 +01:00