Commit Graph

8746 Commits (f646ca874d8589f4be4a7e6bcce69301e60b24f3)
 

Author SHA1 Message Date
Lioncash f646ca874d yuzu/main: Resolve precedence bug within CalculateRomFSEntrySize()
Ternary operators have a lower precedence than arithmetic operators, so
what was actually occurring here is "return (out + full) ? x : y" which most
definitely isn't intended, given we calculate out recursively above. We
were essentially doing a lot of work for nothing.
6 years ago
Lioncash cbb146069a yuzu/main: Move functions stored into static std::function instances out of OnGameListDumpRomFS()
This can cause warnings about static constructors, and is also not ideal
performance-wise due to the indirection through std::function. This also
keeps the behavior itself separate from the surrounding code, which can
make it nicer to read, due to the size of the code.
6 years ago
Lioncash 57616f9758 vfs/etc: Append std:: to size_t usages
Given we just recently had a patch backport this from citra, let's try
and keep the convention uniform.
6 years ago
Lioncash 28bef31ea8 vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile
Given these are only added to the class to allow those functions to
access the private constructor, it's a better approach to just make them
static functions in the interface, to make the dependency explicit.
6 years ago
Lioncash 14e2df5610 vfs_static: Remove template byte parameter from StaticVfsFile
This converts it into a regular constructor parameter. There's no need
to make this a template parameter on the class when it functions
perfectly well as a constructor argument.

This also reduces the amount of code bloat produced by the compiler, as
it doesn't need to generate the same code for multiple different
instantiations of the same class type, but with a different fill value.
6 years ago
bunnei 7b81e1e525
Merge pull request #1365 from DarkLordZach/lfs
file_sys: Add support for LayeredFS mods
6 years ago
bunnei b67c1fdf38
Merge pull request #1393 from tech4me/svc
svc: Updated svc names
6 years ago
David 367c52ff0d Implemented fatal:u properly (#1347)
* Implemented fatal:u properly

fatal:u now is properly implemented with all the ipc cmds. Error reports/Crash reports are also now implemented for fatal:u. Crash reports save to yuzu/logs/crash_reports/
The register dump is currently known as sysmodules send all zeros. If there are any non zero values for the "registers" or the unknown values, let me know!

* Fatal:U fixups

* Made fatal:u execution break more clear

* Fatal fixups
6 years ago
David 2513e086ab Stubbed IRS (#1349)
* Stubbed IRS

Currently we have no ideal way of implementing IRS. For the time being we should have the functions stubbed until we come up with a way to emulate IRS properly.

* Added IRS to logging backend

* Forward declared shared memory for irs
6 years ago
bunnei f2c1fd08f9
Merge pull request #1354 from ogniK5377/ssl-version
Corrected SSL::SetInterfaceVersion
6 years ago
Zach Hilman b3c2ec362b fsmitm: Cleanup and modernize fsmitm port 6 years ago
tech4me d42424ace0 svc: Updated svc names 6 years ago
David 9f3fc067bf Added glObjectLabels for renderdoc for textures and shader programs (#1384)
* Added glObjectLabels for renderdoc for textures and shader programs

* Changed hardcoded "Texture" name to reflect the texture type instead

* Removed string initialize
6 years ago
bunnei 6b05f71b67
Merge pull request #1387 from FearlessTobi/port-4245
Port citra-emu/citra#4245: "common/thread: remove YieldCPU()"
6 years ago
bunnei 5d9f001bb5
Merge pull request #1385 from FearlessTobi/port-4214
Port citra-emu/citra#4214: "Set citra-qt project as default StartUp Project in Visual Studio"
6 years ago
bunnei d373a65d26
Merge pull request #1391 from ogniK5377/GetAudioRendererState
Added audren:u#GetAudioRendererState
6 years ago
bunnei c6f5c7d291
Merge pull request #1392 from greggameplayer/correct-BC6H
Correction of the ComponentType of BC6H_UF16 & BC6H_SF16
6 years ago
greggameplayer b91e2d55f3 correct BC6H 6 years ago
David Marcec c461188f51 Added audren:u#GetAudioRendererState 6 years ago
bunnei 93fea4e179
Merge pull request #1378 from lioncash/thread
process: Make a few member variables private where applicable
6 years ago
Weiyi Wang e0ce07aa7d common/thread: remove YieldCPU()
simply use the standard library yield()
6 years ago
James Rowe 5659d5d258
Merge pull request #1386 from jroweboy/oops
Build: Reintroduce Appveyor deploy
6 years ago
James Rowe b23b30f9ef Build: Reintroduce Appveyor deploy
This was erroneously removed when we added travis mingw builds. We still
want to push MSVC builds to github for the time being
6 years ago
fearlessTobi f90b75cc4c Port citra-emu/citra#4214: "Set citra-qt project as default StartUp Project in Visual Studio" 6 years ago
bunnei fb9f273e90
Merge pull request #1380 from lioncash/const
shader_bytecode: Make operator== and operator!= of IpaMode const qualified
6 years ago
bunnei 73eea61614
Merge pull request #1382 from lioncash/inc
gl_state: Remove unused type alias
6 years ago
bunnei 0246db9ea2
Merge pull request #1376 from Subv/timestretch_trace
Logging: Change the TimeStretch::Process log from debug to trace level.
6 years ago
bunnei 2d5f51bb9b
Merge pull request #1381 from valentinvanelslande/patch-1
yuzu_cmd: fix sd card directory set to nand directory
6 years ago
James Rowe 37bb2c45ee
Merge pull request #1383 from DarkLordZach/game-list-interpolation
game_list: Add Qt SmoothTransformation to picture scaling
6 years ago
Zach Hilman 4f183123f5 game_list: Add Qt SmoothTransformation to picture scaling 6 years ago
Zach Hilman ba0873d33c qt: Add UI elements for LayeredFS and related tools 6 years ago
Zach Hilman 050547b801 romfs: Implement CreateRomFS 6 years ago
Zach Hilman 6eada3c57d file_sys: Port Atmosphere-NX fs_mitm implementation 6 years ago
Zach Hilman 940a711caf filesystem: Add LayeredFS VFS directory getter 6 years ago
Zach Hilman 50a470eab8 bis_factory: Add mod directory VFS getter 6 years ago
Zach Hilman 16188acb50 patch_manager: Add LayeredFS mods support 6 years ago
Zach Hilman 44fdac334c vfs_concat: Rewrite and fix ConcatenatedVfsFile 6 years ago
Zach Hilman 3e5c3d0f16 vfs_layered: Add LayeredVfsDirectory
Reads multiple dirs through as if a waterfall.
6 years ago
Zach Hilman b52343a428 vfs_vector: Add VectorVfsFile
Maps a vector into the VFS interface.
6 years ago
Zach Hilman c65d4d119f vfs_static: Add StaticVfsFile
Always returns the template argument byte for all reads. Doesn't support writes.
6 years ago
Zach Hilman f68e324672 vfs: Add and rewite VfsRawCopy functions 6 years ago
Zach Hilman d6cbb3a3e0 vfs: Add GetEntries method
Maps name string to directory or file.
6 years ago
Zach Hilman bd8db3f7f8 common_paths: Add Load and Dump dirs 6 years ago
Lioncash 90746c33c7 gl_state: Remove unused type alias
This isn't used anywhere within the header, so we can remove it, along
with the include that was previously necessary. This also uncovers an
indirect include in the cpp file for the assertion macros.
6 years ago
Valentin Vanelslande 19d9b0778a
Update config.cpp 6 years ago
Lioncash a8f5fd787f shader_bytecode: Lay out the Ipa-related enums better
This is more consistent with the surrounding enums.
6 years ago
Lioncash 272517cf7e shader_bytecode: Make operator== and operator!= of IpaMode const qualified
These don't affect the state of the struct and can be const member
functions.
6 years ago
bunnei 4f186de069
Merge pull request #1379 from lioncash/bitwise
gl_stream_buffer: Fix use of bitwise OR instead of logical OR in Map()
6 years ago
Lioncash ba02dd9ebc gl_stream_buffer: Fix use of bitwise OR instead of logical OR in Map()
This was very likely intended to be a logical OR based off the
conditioning and testing of inversion in one case.

Even if this was intentional, this is the kind of non-obvious thing one
should be clarifying with a comment.
6 years ago
Lioncash 48b2eda492 svc: Move most process termination code to its own function within Process
Reduces the use of Process class members externally and keeps most code
related to tearing down a process with the rest of the process code.
6 years ago