Commit Graph

8286 Commits (78653f73398b98071fe9bb4b4a32ec68f674ccfd)
 

Author SHA1 Message Date
Zach Hilman d1a6dd61d1 xci: Ignore NCA files with updates in secure 8 years ago
Zach Hilman 4f18c17df7 content_archive: Add update title detection
This is needed because the title IDs of update NCAs will not use the update title ID. The only sure way to tell is to look for a partition with BKTR crypto.
8 years ago
David 5049ca5d8c Added GetBootMode (#1107)
* Added GetBootMode

Used by homebrew

* Added enum for GetBootMode
8 years ago
tech4me ba2972bc64 Shaders: Added decodings for IADD3 instructions 8 years ago
Zach Hilman 06487c2c8d hex_util: Replace logic_errors with LOG_CRITICAL
Makes it so malformed hex strings do not crash the entire program.
8 years ago
Zach Hilman 67fa51ea2f qt: Add filename and title id to window title while running 8 years ago
David Marcec 78b109d195 Addressed plu TTF changes 8 years ago
bunnei 0dce6d7008
Merge pull request #1160 from bunnei/surface-reserve
gl_rasterizer_cache: Several improvements
8 years ago
bunnei 3ed0115e36
Merge pull request #1153 from bunnei/stencil-clear
gl_rasterizer: Implement partial color clear, stencil clear, and stencil test.
8 years ago
Zach Hilman ccfd176382 key_manager: Eliminate indexed for loop 8 years ago
Zach Hilman 119ab308b5 key_manager: Create keys dir if it dosen't exist
On call to WriteKeyToFile, so that the autogenerated file can be written.
8 years ago
Zach Hilman a7e8d10969 file_sys: Cut down on includes and copies 8 years ago
Zach Hilman 42dc856ce1 crypto: Eliminate magic constants 8 years ago
Zach Hilman 61a5b56abd key_manager: Add support for autogenerated keys
Stored in a separate file than manual keys.
8 years ago
Zach Hilman f26fc64cb4 key_manager: Add support for KEK and SD seed derivation 8 years ago
Zach Hilman cde665c565 key_manager: Switch to boost flat_map for keys
Should make key gets marginally faster.
8 years ago
Zach Hilman 60b7a3b904 game_list: Add SD registration loading to game list 8 years ago
Zach Hilman ab44192ab0 file_sys: Implement NAX containers 8 years ago
Zach Hilman 8b52d6682a registration: Add GetEntryUnparsed methods
Returns the file before calling parser on it.
8 years ago
Zach Hilman 13524578b6 sdmc_factory: Add SDMC RegisteredCache getter 8 years ago
Zach Hilman 4112dd6b4e qt: Make default row data title name and title id
Helps with installed games by making the title not a hexadecimal id string, instead the name.
8 years ago
Zach Hilman bf33f80fae vfs: Add GetOrCreateDirectoryRelative method 8 years ago
Zach Hilman ef3768f323 filesystem: Add CreateFactories methods to fs
Allows frontend to create registration caches for use before a game has booted.
8 years ago
Zach Hilman 410062031b filesystem: Add logging to registration getters 8 years ago
Zach Hilman b247e0cab0 loader: Add new NAX-specific errors and messages 8 years ago
Zach Hilman 2164702cf7 nax: Add AppLoader_NAX and update loader to support it 8 years ago
Zach Hilman c4845df3d4 xts_encryption_layer: Implement XTSEncryptionLayer 8 years ago
Zach Hilman 10e5356e9a aes_util: Make XTSTranscode stricter about sizes
XTS with Nintendo Tweak will fail mysteriously if the sector size is not 0x4000. Upgrade the critical log to an assert to prevent undefined behavior.
8 years ago
Zach Hilman 6dd369ab88 ctr_encryption_layer: Fix bug when transcoding small data
Fixes a bug where data lengths of less than size 0x10 will fail or have misleading return values.
8 years ago
Zach Hilman a9dc5a3c10 xci: Fix error masking issue
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
8 years ago
bunnei d65f079cc1 gl_rasterizer_cache: Blit when possible on RecreateSurface. 8 years ago
bunnei fee8bdd90c gl_rasterizer_cache: Reserve surfaces that have already been created for later use. 8 years ago
bunnei fde2017a3f gl_rasterizer_cache: Remove assert for RecreateSurface type. 8 years ago
bunnei ebf5768340 gl_rasterizer_cache: Implement compressed texture copies. 8 years ago
bunnei a4ac3bed6c gl_rasterizer: Implement stencil test.
- Used by Splatoon 2.
8 years ago
bunnei da3da6be90 gl_rasterizer: Implement partial color clear and stencil clear. 8 years ago
bunnei 2a472ff54d maxwell_3d: Update to include additional stencil registers. 8 years ago
bunnei c4ed0b16b1 gl_state: Update to handle stencil front/back face separately. 8 years ago
bunnei c7f2fb2151
Merge pull request #1157 from lioncash/vec
gl_shader_gen: Use a std::vector to represent program code instead of std::array
8 years ago
bunnei 232b0d9d2a
Merge pull request #1156 from Lakumakkara/lop3
gl_shader_decompiler: Implement LOP3
8 years ago
David Marcec eccc77a8c8 Added SharedFonts loading via TTF
By having the following TTF files in your yuzu sysdata directory. You can load sharedfonts via TTF files.
FontStandard.ttf
FontChineseSimplified.ttf
FontExtendedChineseSimplified.ttf
FontChineseTraditional.ttf
FontKorean.ttf
FontNintendoExtended.ttf
FontNintendoExtended2.ttf
8 years ago
literalmente-game 74e08b4800 Swap "Plus" with "Minus" on the controller GUI (#1150)
* Swap "Plus" with "Minus" on the controller GUI

Major fix /s
8 years ago
James Rowe a1bdc597e9
Merge pull request #1159 from lioncash/fmt
externals: Update fmt to 6201052
8 years ago
bunnei c5ea6db02d
Merge pull request #1137 from lioncash/namespace
renderer_opengl: Namespace OpenGL code
8 years ago
James Rowe c7c4e6dcba
Merge pull request #1158 from lioncash/boost
externals/boost: Update to 1.68.0
8 years ago
Lioncash c5c0da41b4 externals: Update fmt to 6201052
Previously, we'd get warnings like:

"
c:\projects\yuzu\externals\fmt\include\fmt\format.h(2868): warning
C4127: conditional expression is constant
[C:\projects\yuzu\msvc_build\externals\dynarmic\src\dynarmic.vcxproj]
"

spamming the build output when compiling on Windows. This updates fmt to
include the upstreamed fix that silences this warning.
8 years ago
Lioncash f835349364 externals/boost: Update to 1.68.0
This updates the submodule to use 1.68.0. Notably, it gets rid of the
silly

"Info: Boost.Config is older than your compiler version - probably
nothing bad will happen - but you may wish to look for an update Boost
version. Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this
message."

message that spams the output of the build process on Windows.
8 years ago
Lioncash 12ba80a86c gl_shader_gen: Make ShaderSetup's constructor explicit
Prevents implicit conversions.
8 years ago
Lioncash 1fd979f50a gl_shader_gen: Use a std::vector to represent program code instead of std::array
While convenient as a std::array, it's also quite a large set of data as
well (32KB). It being an array also means data cannot be std::moved. Any
situation where the code is being set or relocated means that a full
copy of that 32KB data must be done.

If we use a std::vector we do need to allocate on the heap, however, it
does allow us to std::move the data we have within the std::vector into
another std::vector instance, eliminating the need to always copy the
program data (as std::move in this case would just transfer the pointers
and bare necessities over to the new vector instance).
8 years ago
Laku b2ca8089ce more fixes 8 years ago