summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kernel/physical_core: Make use of std::unique_ptrGravatar Lioncash2020-01-302-4/+10
| | | | | | | | | | | | | | | | | | shared_ptr was used in 2d1984c20c75e03ec79eeb3806b12efa1679b977 due to a misunderstanding of how the language generates move constructors and move assignment operators. If a destructor is user-provided, then the compiler won't generate the move constructor and move assignment operators by default--they must be explicitly opted into. The reason for the compilation errors is due to the fact that the language will fall back to attempting to use the copy constructor/copy assignment operators if the respective move constructor or move assignment operator is unavailable. Given that we explicitly opt into them now, the the move constructor and move assignment operators will be generated as expected.
* core/cpu_manager: Remove unused includesGravatar Lioncash2020-01-301-2/+0
| | | | | Nothing from these headers are used within this source file, so we can remove them.
* kernel/physical_core: Remove unused kernel reference member variableGravatar Lioncash2020-01-303-11/+7
| | | | | | | This isn't used within the class, so it can be removed to simplify the overall interface. While we're in the same area, we can simplify a unique_ptr reset() call.
* Merge pull request #3353 from FernandoS27/ariesGravatar bunnei2020-01-3024-515/+541
|\ | | | | System: Refactor CPU Core management and move ARMInterface and Schedulers to Kernel
| * System: Address FeedbackGravatar Fernando Sahmkow2020-01-2711-24/+30
| |
| * System: Correct PrepareReschedule.Gravatar Fernando Sahmkow2020-01-261-1/+1
| |
| * Kernel: Remove a few global instances from the kernel.Gravatar Fernando Sahmkow2020-01-262-2/+2
| |
| * Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.Gravatar Fernando Sahmkow2020-01-2615-128/+115
| | | | | | | | This commit instends on better naming the new purpose of this classes.
| * ArmInterface: Delegate Exclusive monitor factory to exclusive monitor ↵Gravatar Fernando Sahmkow2020-01-263-16/+24
| | | | | | | | interfasce.
| * Core: Refactor CPU Management.Gravatar Fernando Sahmkow2020-01-2510-224/+168
| | | | | | | | This commit moves ARM Interface and Scheduler handling into the kernel.
| * Kernel: Implement Physical Core.Gravatar Fernando Sahmkow2020-01-242-0/+81
| |
* | Merge pull request #3151 from FearlessTobi/fix-koreanGravatar bunnei2020-01-305-27164/+880167
|\ \ | | | | | | system_archive: Fix Korean and Chinese fonts
| * | Disable clang-format for font filesGravatar FearlessTobi2020-01-243-0/+6
| | |
| * | system_archive: Fix Chinese fontGravatar FearlessTobi2020-01-192-13582/+694524
| | | | | | | | | | | | Adds the proper OSS font for the Chinese language.
| * | system_archive: Fix Korean fontGravatar FearlessTobi2020-01-192-13582/+185637
| | | | | | | | | | | | Fixes Korean fonts when using Open-source system archives.
* | | Merge pull request #3347 from ReinUsesLisp/local-memGravatar bunnei2020-01-301-30/+55
|\ \ \ | | | | | | | | shader/memory: Implement LDL.S16, LDS.S16, STL.S16 and STS.S16
| * | | shader/memory: Implement STL.S16 and STS.S16Gravatar ReinUsesLisp2020-01-251-3/+10
| | | |
| * | | shader/memory: Implement unaligned LDL.S16 and LDS.S16Gravatar ReinUsesLisp2020-01-251-5/+3
| | | |
| * | | shader/memory: Move unaligned load/store to functionsGravatar ReinUsesLisp2020-01-251-18/+27
| | | |
| * | | shader/memory: Implement LDL.S16 and LDS.S16Gravatar ReinUsesLisp2020-01-251-12/+23
| | | |
* | | | Merge pull request #3350 from ReinUsesLisp/atomGravatar bunnei2020-01-295-39/+86
|\ \ \ \ | | | | | | | | | | shader/memory: Implement ATOM.ADD
| * | | | shader/memory: Implement ATOM.ADDGravatar ReinUsesLisp2020-01-265-39/+86
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ATOM operates atomically on global memory. For now only add ATOM.ADD since that's what was found in commercial games. This asserts for ATOM.ADD.S32 (handling the others as unimplemented), although ATOM.ADD.U32 shouldn't be any different. This change forces us to change the default type on SPIR-V storage buffers from float to uint. We could also alias the buffers, but it's simpler for now to just use uint. While we are at it, abstract the code to avoid repetition.
* | | | Merge pull request #3355 from ReinUsesLisp/break-downGravatar bunnei2020-01-291-1/+1
|\ \ \ \ | | | | | | | | | | texture_cache/surface_base: Fix layered break down
| * | | | texture_cache/surface_base: Fix layered break downGravatar ReinUsesLisp2020-01-261-1/+1
| |/ / / | | | | | | | | | | | | | | | | Layered break downs was passing "layer" as a "depth" parameter. This commit addresses that.
* | | | Merge pull request #3358 from ReinUsesLisp/implicit-texture-cacheGravatar bunnei2020-01-291-3/+6
|\ \ \ \ | | | | | | | | | | gl_texture_cache: Silence implicit sign cast warnings
| * | | | gl_texture_cache: Silence implicit sign cast warningsGravatar ReinUsesLisp2020-01-271-3/+6
| | | | |
* | | | | Merge pull request #3359 from ReinUsesLisp/assert-point-sizeGravatar bunnei2020-01-281-1/+0
|\ \ \ \ \ | | | | | | | | | | | | gl_shader_decompiler: Remove UNIMPLEMENTED for gl_PointSize
| * | | | | gl_shader_decompiler: Remove UNIMPLEMENTED for gl_PointSizeGravatar ReinUsesLisp2020-01-281-1/+0
| |/ / / / | | | | | | | | | | | | | | | This was implemented by a previous commit and it's no longer required.
* | | | | Merge pull request #3354 from ReinUsesLisp/depth-stencilGravatar bunnei2020-01-281-4/+27
|\ \ \ \ \ | |/ / / / |/| | | | gl_texture_cache: Properly implement depth/stencil sampling
| * | | | gl_texture_cache: Properly implement depth/stencil samplingGravatar ReinUsesLisp2020-01-261-4/+27
| |/ / / | | | | | | | | | | | | | | | | | | | | This addresses the long standing issue of compatibility vs. core profiles on OpenGL, properly implementing depth vs. stencil sampling depending on the texture swizzle.
* / / / bsd: Stub several more functions.Gravatar bunnei2020-01-252-4/+48
|/ / / | | | | | | | | | - Required for Little Town Hero to boot further.
* | | Merge pull request #3343 from FearlessTobi/ui-tabGravatar bunnei2020-01-258-104/+76
|\ \ \ | | | | | | | | yuzu/configuration: create UI tab and move gamelist settings there
| * | | yuzu/configuration: create UI tab and move gamelist settings thereGravatar FearlessTobi2020-01-248-104/+76
| | | |
* | | | Merge pull request #3326 from FearlessTobi/port-5039Gravatar bunnei2020-01-244-36/+23
|\ \ \ \ | | | | | | | | | | Port citra-emu/citra#5039: "common/logging: don't use regex for path trimming"
| * | | | common/logging: don't use regex for path trimmingGravatar BreadFish642020-01-234-36/+23
| |/ / /
* | | | Merge pull request #3344 from ReinUsesLisp/vk-botwGravatar bunnei2020-01-243-19/+16
|\ \ \ \ | | | | | | | | | | vk_shader_decompiler: Disable default values on unwritten render targets
| * | | | vk_shader_decompiler: Disable default values on unwritten render targetsGravatar ReinUsesLisp2020-01-243-19/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some games like The Legend of Zelda: Breath of the Wild assign render targets without writing them from the fragment shader. This generates Vulkan validation errors, so silence these I previously introduced a commit to set "vec4(0, 0, 0, 1)" for these attachments. The problem is that this is not what games expect. This commit reverts that change.
* | | | | Merge pull request #3273 from FernandoS27/txd-arrayGravatar bunnei2020-01-241-5/+12
|\ \ \ \ \ | | | | | | | | | | | | Shader_IR: Implement TXD Array.
| * | | | | Shader_IR: Implement TXD Array.Gravatar Fernando Sahmkow2020-01-041-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit extends the compilation of TXD to support array samplers on TXD.
* | | | | | Merge pull request #3340 from SciresM/pmdxGravatar bunnei2020-01-242-3/+10
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | loader: provide default arguments (zero byte) to NSOs
| * | | | | loader: provide default arguments (zero byte) to NSOsGravatar Michael Scire2020-01-222-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Certain newer unity games (Terraria, Pokemon Mystery Dungeon) require that the argument region be populated. Failure to do so results in an integer underflow in argument count, and eventually an unmapped read at 0x800000000. Providing this default fixes this. Note that the behavior of official software is as yet unverified, arguments-wise.
* | | | | | Replace GetString with Get functionGravatar FearlessTobi2020-01-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This should hopefully fix compilation errors.
* | | | | | Address second part of review commentsGravatar FearlessTobi2020-01-234-14/+18
| | | | | |
* | | | | | Address review commentsGravatar FearlessTobi2020-01-234-65/+72
| | | | | |
* | | | | | Input: UDP Client to provide motion and touch controlsGravatar fearlessTobi2020-01-2313-4/+897
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An implementation of the cemuhook motion/touch protocol, this adds the ability for users to connect several different devices to citra to send direct motion and touch data to citra. Co-Authored-By: jroweboy <jroweboy@gmail.com>
* | | | | Merge pull request #3341 from bunnei/time-posix-myruleGravatar bunnei2020-01-234-1/+34
|\ \ \ \ \ | | | | | | | | | | | | service: time: Implement ToPosixTimeWithMyRule.
| * | | | | service: time: Implement ToPosixTimeWithMyRule.Gravatar bunnei2020-01-224-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | - Used by Pokemon Mystery Dungeon.
* | | | | | Merge pull request #3338 from ReinUsesLisp/no-fastmathGravatar Fernando Sahmkow2020-01-231-0/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | | gl_shader_cache: Disable fastmath on Nvidia
| * | | | | gl_shader_cache: Disable fastmath on NvidiaGravatar ReinUsesLisp2020-01-211-0/+4
| | |_|/ / | |/| | |
* | | | | Merge pull request #3324 from FearlessTobi/port-5037Gravatar bunnei2020-01-221-0/+9
|\ \ \ \ \ | |_|/ / / |/| | | | Port citra-emu/citra#5037: "CMake: Create thin archives on Linux"