aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-25fsmitm_romfsbuild: Remove unnecessary constructors and initializers for ↵Lioncash
RomFSBuildFileContext and RomFSBuildDirectoryContext There's no need to duplicate in-class initializers with a constructor initializer list. std::strings also initialize to empty by default.
2018-09-25fsmitm_romfsbuild: Remove unnecessary loops in Build()Lioncash
The std::vector instances are already initially allocated with all entries having these values, there's no need to loop through and fill them with it again when they aren't modified.
2018-09-25fsmitm_romfsbuild: Make auto variable into a std::size_t variable within Build()Lioncash
auto x = 0; auto-deduces x to be an int. This is undesirable when working with unsigned values. It also causes sign conversion warnings. Instead, we can make it a proper unsigned value with the correct width that the following expressions operate on.
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-25service: Add missing headers inclusions where applicableLioncash
Gets rid of a few indirect inclusions.
2018-09-25Merge pull request #1365 from DarkLordZach/lfsbunnei
file_sys: Add support for LayeredFS mods
2018-09-25core_cpu: Make arm_interface instances a std::unique_ptrLioncash
This is only exposed by reference, so we can just make it a unique pointer to get rid of the need to also use reference counting for the pointer.
2018-09-25kernel/scheduler: Take ARM_Interface instance by reference in the constructorLioncash
It doesn't make sense to allow a scheduler to be constructed around a null pointer.
2018-09-25travis: Make macOS builds utilize Xcode 10Lioncash
Keeps the used toolchain up to date and finally allows the use of <optional> and <variant> standard library headers within the codebase.
2018-09-25CMake: Remove superfluous CMAKE_RUNTIME_OUTPUT_DIRECTORY assignmentspycrab
2018-09-25Merge pull request #1393 from tech4me/svcbunnei
svc: Updated svc names
2018-09-24memory: Dehardcode the use of fixed memory range constantsLioncash
The locations of these can actually vary depending on the address space layout, so we shouldn't be using these when determining where to map memory or be using them as offsets for calculations. This keeps all the memory ranges flexible and malleable based off of the virtual memory manager instance state.
2018-09-24svc: Report correct memory-related values within some of the cases in ↵Lioncash
svcGetInfo() Previously, these were reporting hardcoded values, but given the regions can change depending on the requested address spaces, these need to report the values that the memory manager contains.
2018-09-24memory: Dehardcode the use of a 36-bit address spaceLioncash
Given games can also request a 32-bit or 39-bit address space, we shouldn't be hardcoding the address space range as 36-bit.
2018-09-24process/vm_manager: Amend API to allow reading parameters from NPDM metadataLioncash
Rather than hard-code the address range to be 36-bit, we can derive the parameters from supplied NPDM metadata if the supplied exectuable supports it. This is the bare minimum necessary for this to be possible. The following commits will rework the memory code further to adjust to this.
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-23stream: Preserve enum class type in GetState()Lioncash
Preserves the meaning/type-safetiness of the stream state instead of making it an opaque u32. This makes it usable for other things outside of the service HLE context.
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 #1385 from FearlessTobi/port-4214bunnei
Port citra-emu/citra#4214: "Set citra-qt project as default StartUp Project in Visual Studio"
2018-09-23Merge pull request #1391 from ogniK5377/GetAudioRendererStatebunnei
Added audren:u#GetAudioRendererState
2018-09-23Merge pull request #1392 from greggameplayer/correct-BC6Hbunnei
Correction of the ComponentType of BC6H_UF16 & BC6H_SF16
2018-09-23correct BC6Hgreggameplayer
2018-09-23Added audren:u#GetAudioRendererStateDavid Marcec
2018-09-22FPCR register was uninitialized at start upPhilippe Babin
2018-09-22Merge pull request #1378 from lioncash/threadbunnei
process: Make a few member variables private where applicable
2018-09-22Meta: Add gitattributes fileJames Rowe
Github Linguist will read this file when calculating language stats for the repository. We can use this to exclude any vendored dependencies in externals and dist. Also makes all h files be considered cpp
2018-09-22common/thread: remove YieldCPU()Weiyi Wang
simply use the standard library yield()
2018-09-22Merge pull request #1386 from jroweboy/oopsJames Rowe
Build: Reintroduce Appveyor deploy
2018-09-22Build: Reintroduce Appveyor deployJames Rowe
This was erroneously removed when we added travis mingw builds. We still want to push MSVC builds to github for the time being
2018-09-22Port citra-emu/citra#4214: "Set citra-qt project as default StartUp Project ↵fearlessTobi
in Visual Studio"
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-21Merge pull request #1383 from DarkLordZach/game-list-interpolationJames Rowe
game_list: Add Qt SmoothTransformation to picture scaling
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