Lioncash
56ab608044
core/core: Remove unnecessary sm/controller include
...
The only reason this include was necessary, was because the constructor
wasn't defaulted in the cpp file and the compiler would inline it
wherever it was used. However, given Controller is forward declared, all
those inlined constructors would see an incomplete type, causing a
compilation failure. So, we just place the constructor in the cpp file,
where it can see the complete type definition, allowing us to remove
this include.
7 years ago
Lioncash
54724fe918
file_sys/nca_patch: Amend constructor initializer list order
...
Orders the elements in the initializer list in the order they're
specified in the class. This prevents compiler warnings about
initialization order.
7 years ago
Lioncash
b155b3ef81
file_sys/nca_patch: Remove unnecessary includes
...
romfs.h doesn't need to be included in the header, the only real
dependency here is common's swap.h that needs to be included.
7 years ago
Lioncash
a859a35ec8
file_sys/patch_manager: Add missing includes
...
These includes were previously being satisfied indirectly.
7 years ago
bunnei
fbaefc47a0
Merge pull request #1248 from degasus/shader_fix
...
gl_shader_gen: Initialize position.
7 years ago
fearlessTobi
742f895f8b
frontend: Set swap interval to 0
7 years ago
Markus Wick
a781042700
gl_shader_gen: Initialize position.
...
IMO the old code is fine, but nvidia raises shader compiler warnings.
Trivial fix through...
7 years ago
bunnei
77554ac773
Merge pull request #1243 from degasus/VAO_cache
...
gl_rasterizer: Implement a VAO cache.
7 years ago
bunnei
6f09c5b128
Merge pull request #1244 from FernandoS27/ipa
...
shader_decompiler: Implemented IPA Properly (Stage 1)
7 years ago
FernandoS27
e63b229f4a
Implemented IPA Properly
7 years ago
bunnei
94f193af65
Merge pull request #1242 from lioncash/file-sys
...
file_sys/submission_package: Replace includes with forward declarations where applicable
7 years ago
bunnei
a6ae765410
Merge pull request #1179 from DarkLordZach/bktr
...
file_sys: Add support for BKTR format (Game Updates)
7 years ago
bunnei
aba988f71c
Merge pull request #1245 from degasus/optimizations
...
gl_rasterizer: Skip TODO log.
7 years ago
Markus Wick
7f15306f78
gl_rasterizer: Skip TODO log.
...
This is called ~3k times per frame in SMO ingame.
My laptop spends ~3ms per frame on allocating and freeing this string.
Let's just stop printing this kind of redundant information.
7 years ago
Lioncash
6bd6beee20
file_sys/submission_package: Correct constructor initialization list order
...
Orders the elements in the sequence to match the order in which they'll
actually be initialized in.
7 years ago
Markus Wick
d3ad9469a1
gl_rasterizer: Implement a VAO cache.
...
This patch caches VAO objects instead of re-emiting all pointers per draw call.
Configuring this pointers is known as a fast task, but it yields too many GL
calls. So for better performance, just bind the VAO instead of 16 pointers.
7 years ago
Lioncash
c0b7ed8b58
file_sys/submission_package: Replace includes with forward declarations where applicable
7 years ago
bunnei
527e362a83
Merge pull request #1217 from degasus/vbo_cache2
...
renderer_opengl: Implement a buffer cache.
7 years ago
Markus Wick
50a806ea67
renderer_opengl: Implement a buffer cache.
...
The idea of this cache is to avoid redundant uploads. So we are going
to cache the uploaded buffers within the stream_buffer and just reuse
the old pointers.
The next step is to implement a VBO cache on GPU memory, but for now,
I want to check the overhead of the cache management. Fetching the
buffer over PCI-E should be quite fast.
7 years ago
bunnei
a1ef02c3e6
Merge pull request #1240 from degasus/optimizations
...
gl_shader_cache: Use an u32 for the binding point cache.
7 years ago
Zach Hilman
c913136eb2
bktr: Fix bucket overlap error
7 years ago
Zach Hilman
7d5d781b20
drd: Parse title ID from program metadata
7 years ago
Zach Hilman
23a16c1720
patch_manager: Centralize Control-type NCA parsing
7 years ago
Zach Hilman
92e26df00f
nsp: Fix error masking issue with XCI files
...
Now display correct error instead of catch-all MissingProgramNCA
7 years ago
Zach Hilman
c91b60a421
game_list: Fix version display on non-NAND titles
7 years ago
Zach Hilman
cbd517d8cc
bktr: Add logging on successful patch
7 years ago
Zach Hilman
2814ca3624
game_list: Use friendly game versions
...
Mainly, from control.nacp metadata instead of cnmt metadata
7 years ago
Zach Hilman
a6e75cd45b
bktr: Implement IVFC offset shifting
...
Fixes base game read errors
7 years ago
Zach Hilman
9664ce255d
bktr: Fix missing includes and optimize style
7 years ago
Zach Hilman
f92b3512e0
main: Make game updates installable
7 years ago
Zach Hilman
8e150c46b9
game_list: Display patch names and versions on list
7 years ago
Zach Hilman
f5e03b9173
loader: Add BKTR-specific error messages and codes
7 years ago
Zach Hilman
08fcb4694f
loader: Ignore patches on NRO and DRD
7 years ago
Zach Hilman
97bf83bc56
patch_manager: Add usages of patches to ExeFS
7 years ago
Zach Hilman
8e900a301a
file_sys: Add class to manage game patches
...
Right now only includes Updates, but should eventually contain all of the other patches we need.
7 years ago
Zach Hilman
54e7ddb93a
file_sys: Add BKTR patching mechanism
7 years ago
Zach Hilman
1efe5a76b1
content_archive: Add BKTR header parsing to NCA
7 years ago
Zach Hilman
9951f6d054
registration: Add RegisteredCacheUnion
...
Aggregates multiple caches into one interface
7 years ago
Zach Hilman
d2caf4af7d
game_list: Use RegisteredCacheUnion for installed
...
Reduces code
7 years ago
Zach Hilman
99fbcb3bf2
aes_util: Fix error involving reads of less than 0x10
...
Issues with block size are fixed by making all reads minimum length of 0x10
7 years ago
bunnei
faa9e066ab
Merge pull request #1178 from DarkLordZach/nsp
...
file_sys: Add Nintendo Submissions Package (NSP) file format
7 years ago
Markus Wick
99a71580c4
gl_shader_cache: Use an u32 for the binding point cache.
...
The std::string generation with its malloc and free requirement
was a noticeable overhead. Also switch to an ordered_map to
avoid the std::hash call. As those maps usually have a size of
two elements, the lookup time shall not matter.
7 years ago
Zach Hilman
87be4bc283
main: Only show DRD deprecation warning once
7 years ago
Zach Hilman
e973cceadd
control_metadata: Use alternate language names if AmericanEnglish isn't available
7 years ago
Zach Hilman
23d2c50479
card_image: Add program title ID getter
7 years ago
Zach Hilman
1280061725
qt: Add deprecation warnings for DRD format
7 years ago
Zach Hilman
8974771334
registration: Fix NSP installation errors
7 years ago
Zach Hilman
e4e55d064e
nsp: Comply with style and performance guidelines
7 years ago
Zach Hilman
58473309a0
qt: Add UI support for NSP files
7 years ago
Zach Hilman
f7eaea424d
registration: Add support for installing NSP files
7 years ago