Commit Graph

8351 Commits

Author SHA1 Message Date
Zach Hilman
8918c2e9a4 Merge branch 'nsp' into nsp-bktr-merge-fix 2018-09-01 13:21:15 -04:00
Zach Hilman
789c02563d Merge branch 'bktr' into nsp-bktr-merge-fix 2018-09-01 13:19:43 -04:00
Zach Hilman
4cf42d34fc qt: Add deprecation warnings for DRD format 2018-09-01 13:13:02 -04:00
Zach Hilman
4d16b2f1b0 registration: Fix NSP installation errors 2018-09-01 13:13:02 -04:00
Zach Hilman
c715678475 nsp: Comply with style and performance guidelines 2018-09-01 13:13:02 -04:00
Zach Hilman
2026c2494d qt: Add UI support for NSP files 2018-09-01 13:13:02 -04:00
Zach Hilman
2f38f38fc5 registration: Add support for installing NSP files 2018-09-01 13:13:02 -04:00
Zach Hilman
02725e986f loader: Add AppLoader for NSP files 2018-09-01 13:13:02 -04:00
Zach Hilman
8ad598b9b9 card_image: Parse XCI secure partition with NSP
Eliminated duplicate code and adds support for Rev1+ carts
2018-09-01 13:13:02 -04:00
Zach Hilman
f54d47985d file_sys: Add Nintendo Submission Package (NSP) 2018-09-01 13:13:02 -04:00
Zach Hilman
1bde7b0079 drd: Load title ID from program metadata
Previously only loaded from control metadata
2018-09-01 13:13:02 -04:00
Zach Hilman
0b09a2dedb loader: Add NSP file type and NSP-specific errors 2018-09-01 13:13:02 -04:00
Zach Hilman
60ef032b78 key_manager: Avoid autogeneration if key exists 2018-09-01 13:13:02 -04:00
Zach Hilman
9b27a146d1 game_list: Fix version display on non-NAND titles 2018-09-01 13:11:34 -04:00
Zach Hilman
30083a99f2 bktr: Add logging on successful patch 2018-09-01 12:35:59 -04:00
Zach Hilman
130ca2525a game_list: Use friendly game versions
Mainly, from control.nacp metadata instead of cnmt metadata
2018-09-01 12:35:59 -04:00
Zach Hilman
95575e78fa bktr: Implement IVFC offset shifting
Fixes base game read errors
2018-09-01 12:35:14 -04:00
Zach Hilman
e0b20d6b93 bktr: Fix missing includes and optimize style 2018-09-01 12:35:13 -04:00
Zach Hilman
50f0be7fe2 main: Make game updates installable 2018-09-01 12:35:12 -04:00
Zach Hilman
7fd1a1660e game_list: Display patch names and versions on list 2018-09-01 12:35:11 -04:00
Zach Hilman
a39e519996 loader: Add BKTR-specific error messages and codes 2018-09-01 12:34:07 -04:00
Zach Hilman
fb8a0ba1b6 loader: Ignore patches on NRO and DRD 2018-09-01 12:34:07 -04:00
Zach Hilman
eba7acfbe9 patch_manager: Add usages of patches to ExeFS 2018-09-01 12:34:07 -04:00
Zach Hilman
81a8595520 file_sys: Add class to manage game patches
Right now only includes Updates, but should eventually contain all of the other patches we need.
2018-09-01 12:34:07 -04:00
Zach Hilman
3dc50727f7 file_sys: Add BKTR patching mechanism 2018-09-01 12:34:07 -04:00
Zach Hilman
839fd4eb07 content_archive: Add BKTR header parsing to NCA 2018-09-01 12:34:07 -04:00
Zach Hilman
7cd862e812 registration: Add RegisteredCacheUnion
Aggregates multiple caches into one interface
2018-09-01 12:34:07 -04:00
Zach Hilman
5ec8b27f4c game_list: Use RegisteredCacheUnion for installed
Reduces code
2018-09-01 12:34:07 -04:00
Zach Hilman
44be382ed1 aes_util: Fix error involving reads of less than 0x10
Issues with block size are fixed by making all reads minimum length of 0x10
2018-09-01 12:33:20 -04:00
bunnei
c69dc5acf9 Merge pull request #1196 from FearlessTobi/ccache-consistency
.travis: Use Citras ccache for builds instead of yuzus
2018-08-31 21:50:44 -04:00
bunnei
1c05c06e04 Merge pull request #1212 from lioncash/forward-decl
core/core: Replace includes with forward declarations where applicable
2018-08-31 21:50:12 -04:00
Lioncash
4a587b81b2 core/core: Replace includes with forward declarations where applicable
The follow-up to e2457418da, which
replaces most of the includes in the core header with forward declarations.

This makes it so that if any of the headers the core header was
previously including change, then no one will need to rebuild the bulk
of the core, due to core.h being quite a prevalent inclusion.

This should make turnaround for changes much faster for developers.
2018-08-31 16:30:14 -04:00
fearlessTobi
dc3cc0002c travis: use Citras ccache 2018-08-31 20:13:26 +02:00
bunnei
42588493d5 Merge pull request #1205 from bunnei/improve-rasterizer-cache-2
Various fixes and improvements to rasterizer cache 2: Electric Boogaloo
2018-08-31 13:24:21 -04:00
bunnei
7f7eb29323 gl_rasterizer_cache: Use accurate framebuffer setting for accurate copies. 2018-08-31 13:07:28 -04:00
bunnei
123c065086 gl_rasterizer_cache: Also use reserve cache for RecreateSurface. 2018-08-31 13:07:28 -04:00
bunnei
9bc71fcc5f rasterizer_cache: Use boost::interval_map for a more accurate cache. 2018-08-31 13:07:28 -04:00
bunnei
d647d9550c gl_renderer: Cache textures, framebuffers, and shaders based on CPU address. 2018-08-31 13:07:27 -04:00
bunnei
16d65182f9 gl_rasterizer: Fix issues with the rasterizer cache.
- Use a single cached page map.
- Fix calculation of ending page.
2018-08-31 13:07:27 -04:00
greggameplayer
06578e89b2 Implement BC6H_UF16 & BC6H_SF16 (#1092)
* Implement BC6H_UF16 & BC6H_SF16
Require by ARMS

* correct coding style

* correct coding style part 2
2018-08-31 12:11:19 -04:00
bunnei
f08d24e9c0 Merge pull request #1204 from lioncash/pimpl
core: Make the main System class use the PImpl idiom
2018-08-31 11:31:20 -04:00
bunnei
6683bf50b5 Merge pull request #1207 from degasus/hotfix
Report correct shader size.
2018-08-31 11:21:15 -04:00
bunnei
e205e74e1f Merge pull request #1208 from Hexagon12/pred-comp-14
Add predicate comparison 14 (GreaterEqualWithNan)
2018-08-31 11:20:47 -04:00
Lioncash
e2457418da core: Make the main System class use the PImpl idiom
core.h is kind of a massive header in terms what it includes within
itself. It includes VFS utilities, kernel headers, file_sys header,
ARM-related headers, etc. This means that changing anything in the
headers included by core.h essentially requires you to rebuild almost
all of core.

Instead, we can modify the System class to use the PImpl idiom, which
allows us to move all of those headers to the cpp file and forward
declare the bulk of the types that would otherwise be included, reducing
compile times. This change specifically only performs the PImpl portion.
2018-08-31 07:16:57 -04:00
Markus Wick
5be8b7a362 Report correct shader size.
Seems like this was an oversee in regards to 1fd979f50a
It changed GLShader::ProgramCode to a std::vector, so sizeof is wrong.
2018-08-31 09:56:37 +02:00
Hexagon12
d626bc8c62 Added predicate comparison GreaterEqualWithNan 2018-08-31 10:40:18 +03:00
bunnei
26aaa86ece Merge pull request #1195 from FearlessTobi/port-gamelist-compat
yuzu: Show game compatibility in the game list (PR ported from Citra)
2018-08-30 21:34:43 -04:00
Laku
915ab81ec2 gl_shader_decompiler: Implement POPC (#1203)
* Implement POPC

* implement invert
2018-08-30 21:32:58 -04:00
bunnei
d6accf96ff Merge pull request #1200 from bunnei/improve-ipa
gl_shader_decompiler: Improve IPA for Pass mode with Position attribute.
2018-08-30 10:31:26 -04:00
bunnei
5094dfa081 Merge pull request #1198 from lioncash/kernel
kernel: Eliminate kernel global state
2018-08-30 10:02:50 -04:00