summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-09-25yuzu/main: Resolve precedence bug within CalculateRomFSEntrySize()Lioncash
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.
2018-09-25yuzu/main: Move functions stored into static std::function instances out of ↵Lioncash
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.
2018-09-25vfs/etc: Append std:: to size_t usagesLioncash
Given we just recently had a patch backport this from citra, let's try and keep the convention uniform.
2018-09-25vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFileLioncash
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.
2018-09-25vfs_static: Remove template byte parameter from StaticVfsFileLioncash
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.
2018-09-25Merge pull request #1365 from DarkLordZach/lfsbunnei
file_sys: Add support for LayeredFS mods
2018-09-25Merge pull request #1393 from tech4me/svcbunnei
svc: Updated svc names
2018-09-23Implemented fatal:u properly (#1347)David
* 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
2018-09-23Stubbed IRS (#1349)David
* 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
2018-09-23Merge pull request #1354 from ogniK5377/ssl-versionbunnei
Corrected SSL::SetInterfaceVersion
2018-09-23fsmitm: Cleanup and modernize fsmitm portZach Hilman
2018-09-23svc: Updated svc namestech4me
2018-09-23Added glObjectLabels for renderdoc for textures and shader programs (#1384)David
* Added glObjectLabels for renderdoc for textures and shader programs * Changed hardcoded "Texture" name to reflect the texture type instead * Removed string initialize
2018-09-23Merge pull request #1387 from FearlessTobi/port-4245bunnei
Port citra-emu/citra#4245: "common/thread: remove YieldCPU()"
2018-09-23Merge pull request #1391 from ogniK5377/GetAudioRendererStatebunnei
Added audren:u#GetAudioRendererState
2018-09-23correct BC6Hgreggameplayer
2018-09-23Added audren:u#GetAudioRendererStateDavid Marcec
2018-09-22Merge pull request #1378 from lioncash/threadbunnei
process: Make a few member variables private where applicable
2018-09-22common/thread: remove YieldCPU()Weiyi Wang
simply use the standard library yield()
2018-09-22Merge pull request #1380 from lioncash/constbunnei
shader_bytecode: Make operator== and operator!= of IpaMode const qualified
2018-09-22Merge pull request #1382 from lioncash/incbunnei
gl_state: Remove unused type alias
2018-09-22Merge pull request #1376 from Subv/timestretch_tracebunnei
Logging: Change the TimeStretch::Process log from debug to trace level.
2018-09-22Merge pull request #1381 from valentinvanelslande/patch-1bunnei
yuzu_cmd: fix sd card directory set to nand directory
2018-09-21game_list: Add Qt SmoothTransformation to picture scalingZach Hilman
2018-09-21qt: Add UI elements for LayeredFS and related toolsZach Hilman
2018-09-21romfs: Implement CreateRomFSZach Hilman
2018-09-21file_sys: Port Atmosphere-NX fs_mitm implementationZach Hilman
2018-09-21filesystem: Add LayeredFS VFS directory getterZach Hilman
2018-09-21bis_factory: Add mod directory VFS getterZach Hilman
2018-09-21patch_manager: Add LayeredFS mods supportZach Hilman
2018-09-21vfs_concat: Rewrite and fix ConcatenatedVfsFileZach Hilman
2018-09-21vfs_layered: Add LayeredVfsDirectoryZach Hilman
Reads multiple dirs through as if a waterfall.
2018-09-21vfs_vector: Add VectorVfsFileZach Hilman
Maps a vector into the VFS interface.
2018-09-21vfs_static: Add StaticVfsFileZach Hilman
Always returns the template argument byte for all reads. Doesn't support writes.
2018-09-21vfs: Add and rewite VfsRawCopy functionsZach Hilman
2018-09-21vfs: Add GetEntries methodZach Hilman
Maps name string to directory or file.
2018-09-21common_paths: Add Load and Dump dirsZach Hilman
2018-09-21gl_state: Remove unused type aliasLioncash
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.
2018-09-21Update config.cppValentin Vanelslande
2018-09-21shader_bytecode: Lay out the Ipa-related enums betterLioncash
This is more consistent with the surrounding enums.
2018-09-21shader_bytecode: Make operator== and operator!= of IpaMode const qualifiedLioncash
These don't affect the state of the struct and can be const member functions.
2018-09-21Merge pull request #1379 from lioncash/bitwisebunnei
gl_stream_buffer: Fix use of bitwise OR instead of logical OR in Map()
2018-09-21gl_stream_buffer: Fix use of bitwise OR instead of logical OR in Map()Lioncash
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.
2018-09-21svc: Move most process termination code to its own function within ProcessLioncash
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.
2018-09-21thread/process: Move TLS slot marking/freeing to the process classLioncash
Allows making several members of the process class private, it also avoids going through Core::CurrentProcess() just to retrieve the owning process.
2018-09-21Added support for uncompressed NSOs (#1374)David
* Added support for uncompressed NSOs * Moved compressed section check to NsoHeader
2018-09-20Merge pull request #1337 from DarkLordZach/create-fs-cmdbunnei
yuzu-cmd: Add filesystem service initializer call
2018-09-20Merge pull request #1372 from lioncash/threadbunnei
kernel/thread: Use owner_process when setting the page table in SetupMainThread()
2018-09-20Merge pull request #1371 from lioncash/fwd-armbunnei
arm_interface: Replace kernel vm_manager include with a forward declaration
2018-09-20Merge pull request #1375 from Subv/gl_clearbunnei
RasterizerGL: Use the correct framebuffer when clearing via the CLEAR_BUFFERS register.