aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2020-04-17dynarmic: Enable strict alignment checks.bunnei
- Also add a missing include.
2020-04-17core: memory: Move to Core::Memory namespace.bunnei
- helpful to disambiguate Kernel::Memory namespace.
2020-04-17core: kernel: Add svc_types header to include SVC-specific types.bunnei
2020-04-17core: kernel: Move SVC to its own namesapce.bunnei
2020-04-17kernel: resource_limit: Improvements to implementation.bunnei
2020-04-17loader: nso: Fix loading of static objects to be properly sized and aligned.bunnei
2020-04-17process: SetupMainThread: Zero out argument on process start.bunnei
2020-04-17arm_interface: Ensure ThreadContext is zero'd out.bunnei
2020-04-16General: Resolve warnings related to missing declarationsLioncash
2020-04-17gdbstub: Fix some gdbstub jankinessMerryMage
1. Ensure that register information available to gdbstub is most up-to-date. 2. There's no reason to check for current_thread == thread when emitting a trap. Doing this results in random hangs whenever a step happens upon a thread switch.
2020-04-16Merge pull request #3671 from lioncash/switchbunnei
kernel/thread: Resolve -Wswitch warnings
2020-04-16key_manager: Resolve missing field initializer warningLioncash
2020-04-16time_zone_manager: Resolve sign conversion warningsLioncash
ttis and ats will never exceed the length of INT32_MAX in our case, so this is safe.
2020-04-16hle_ipc: Remove std::size_t casts where applicableLioncash
These were added in the change that enabled -Wextra on linux builds so as not to introduce interface changes in the same change as a build-system flag addition. Now that the flags are enabled, we can freely change the interface to make these unnecessary.
2020-04-16Merge pull request #3673 from lioncash/extrabunnei
CMakeLists: Specify -Wextra on linux builds
2020-04-16externals: Move LibreSSL linking to httplib.Markus Wick
Neither core nor web_services use OpenSSL nor LibreSSL. However they need to link them as it's a requirement of httplib. So let's declare this within httplib instead of core and web_services.
2020-04-16Merge pull request #3659 from bunnei/time-calc-standard-userRodrigo Locatti
service: time: Implement CalculateStandardUserSystemClockDifferenceByUser.
2020-04-15CMakeLists: Specify -Wextra on linux buildsLioncash
Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well.
2020-04-15CMakeLists: Make -Wreorder a compile-time errorLioncash
This can result in silent logic bugs within code, and given the amount of times these kind of warnings are caused, they should be flagged at compile-time so no new code is submitted with them.
2020-04-15kernel/thread: Resolve -Wswitch warningsLioncash
2020-04-14service: time: Implement CalculateStandardUserSystemClockDifferenceByUser.bunnei
- Used by Animal Crossing: New Horizons.
2020-04-14Merge pull request #3660 from bunnei/friend-blocked-usersZach Hilman
service: friend: Stub IFriendService::GetBlockedUserListIds.
2020-04-14file_sys: patch_manager: Return early when there are no layers to apply.bunnei
2020-04-14service: friend: Stub IFriendService::GetBlockedUserListIds.bunnei
- This is safe to stub, as there should be no adverse consequences from reporting no blocked users.
2020-04-12Merge pull request #3606 from ReinUsesLisp/nvflingerbunnei
service/vi: Partially implement BufferQueue disconnect
2020-04-11Merge pull request #3635 from FernandoS27/buffer-freeRodrigo Locatti
Buffer queue: Correct behavior of free buffer.
2020-04-10Merge pull request #3594 from ReinUsesLisp/vk-instancebunnei
yuzu: Drop SDL2 and Qt frontend Vulkan requirements
2020-04-10Buffer queue: Correct behavior of free buffer.Fernando Sahmkow
This corrects the behavior of free buffer after witnessing it in an unrelated hardware test. I haven't found any games affected by it but in name of better accuracy we'll correct such behavior.
2020-04-10service/vi: Partially implement BufferQueue disconnectReinUsesLisp
2020-04-09Merge pull request #3610 from FernandoS27/gpu-cachesRodrigo Locatti
Refactor all the GPU Caches to use VAddr for cache addressing
2020-04-08Memory: Address Feedback.Fernando Sahmkow
2020-04-07yuzu: Drop SDL2 and Qt frontend Vulkan requirementsReinUsesLisp
Create Vulkan instances and surfaces from the Vulkan backend.
2020-04-07file_sys: fix LayeredFS error when loading some games made with… (#3602)enler
* fix LayeredFS error when loading some games made with the Unity
2020-04-06Buffer Cache: Use vAddr instead of physical memory.Fernando Sahmkow
2020-04-06GPU: Setup Flush/Invalidate to use VAddr instead of CacheAddrFernando Sahmkow
2020-04-03Merge pull request #3563 from bunnei/fix-ldr-memstateFernando Sahmkow
services: ldr: Fix MemoryState for read/write regions of NROs.
2020-04-02Merge pull request #3552 from jroweboy/single-contextRodrigo Locatti
Refactor Context management (Fixes renderdoc on opengl issues)
2020-03-31capsrv: Split Capture services into individual files and stub ↵Morph
GetAlbumContentsFileListForApplication (#3571) * Organize capture services into individual files * Stub GetAlbumContentsFileListForApplication * Address feedback
2020-03-29Merge pull request #3568 from bunnei/time-calcspanbunnei
services: time: Implement CalculateSpanBetween.
2020-03-28Merge pull request #3562 from perillamint/vrsvcbunnei
am: Implement VR related APIs
2020-03-27services: hid: Stub InitializeSevenSixAxisSensor.bunnei
- Used by Super Smash Bros. Ultimate v7.0.0.
2020-03-27services: time: Implement CalculateSpanBetween.bunnei
- Used by Super Smash Bros. Ultimate.
2020-03-27am: Implement VR related APIsperillamint
Implement (and stub) VR related APIs in AM sysmodule. This fixes issue #2938
2020-03-26services: ldr: Fix MemoryState for read/write regions of NROs.bunnei
- Fixes #3541, used by Final Fantasy VIII Remastered.
2020-03-25Address review and fix broken yuzu-tester buildJames Rowe
2020-03-24Frontend/GPU: Refactor context managementJames Rowe
Changes the GraphicsContext to be managed by the GPU core. This eliminates the need for the frontends to fool around with tricky MakeCurrent/DoneCurrent calls that are dependent on the settings (such as async gpu option). This also refactors out the need to use QWidget::fromWindowContainer as that caused issues with focus and input handling. Now we use a regular QWidget and just access the native windowHandle() directly. Another change is removing the debug tool setting in FrameMailbox. Instead of trying to block the frontend until a new frame is ready, the core will now take over presentation and draw directly to the window if the renderer detects that its hooked by NSight or RenderDoc Lastly, since it was in the way, I removed ScopeAcquireWindowContext and replaced it with a simple subclass in GraphicsContext that achieves the same result
2020-03-24Merge pull request #3524 from FearlessTobi/port-5106bunnei
Port citra-emu/citra#5106: "gdbstub: Ensure gdbstub doesn't drop packets crucial to initialization"
2020-03-23sm/controller: Increase PointerBufferSizeFearlessTobi
This increases the PointerBufferSize as a lager one is required by some services. This change is still not hw-accurate, but it is proven to work in Ryujinx. Instead of using a hardcoded size, we should figure out the specific values for each service in the future. Some of them can be taken from Atmosphere: https://github.com/Atmosphere-NX/Atmosphere/search?q=PointerBufferSize.
2020-03-22Merge pull request #3477 from FearlessTobi/webapplet-shitbunnei
core/web_browser: Allow WebApplet to exit gracefully when an error occurs
2020-03-22core/web_browser: Allow WebApplet to exit gracefully when an error occursFearlessTobi
Currently, yuzu just freezes when an error occurs while Initializing the WebApplet. From a user perspective, this obviously isn't great as the game just softlocks. With this change, yuzu will call the Finalize method, so to the game it seems like as the user just exited the WebApplet normally. This works around https://github.com/yuzu-emu/yuzu/issues/2852.