aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2019-10-22Merge pull request #2991 from lioncash/npadbunnei
hid/npad: Minor cleanup
2019-10-17hid/npad: Fix incorrect connection boolean value in ↵Lioncash
ConnectAllDisconnectedControllers() We should be setting the connection state to true, otherwise we aren't actually making the controllers connected like the function name indicates.
2019-10-17hid/npad: Add missing break in default caseLioncash
While not an issue, it does prevent fallthrough from occurring if anything is ever added after this case (unlikely to occur, but this turns a trivial "should not cause issues" into a definite "won't cause issues).
2019-10-17hid/npad: Replace std::for_each with ranged for loopsLioncash
Performs the same behavior, but is built into the core language itself. No functional change.
2019-10-17hid/npad: Remove redundant non-const variant of IsControllerSupported()Lioncash
The const qualified variant can also be called in non-const contexts, so we can remove the non-const variant to eliminate a bit of code duplication.
2019-10-17hid/npad: Move function declarationsLioncash
Clearly separate these from the variable declarations to make them more visible.
2019-10-17apm/controller: Make SetPerformanceConfiguration() use an array of pairs ↵Lioncash
over a map While a map is an OK way to do lookups (and usually recommended in most cases), this is a map that lives for the entire duration of the program and only deallocates its contents when the program terminates. Given the total size of the map is quite small, we can simply use a std::array of pairs and utilize std::find_if to perform the same behavior without loss of performance. This eliminates a static constructor and places the data into the read-only segment. While we're at it, we can also handle malformed inputs instead of directly dereferencing the resulting iterator.
2019-10-17apm/controller: Make GetCurrentPerformanceMode() a const member functionLioncash
This doesn't modify instance state, so it can be made const qualified.
2019-10-16Merge pull request #2912 from FernandoS27/async-fixesbunnei
General fixes to Async GPU
2019-10-15Merge pull request #2972 from lioncash/systembunnei
{bcat, gpu, nvflinger}: Remove trivial usages of the global system accessor
2019-10-15bcat: Remove use of global system accessorsLioncash
Removes all uses of the global system accessor within the BCAT interface.
2019-10-13pl_u: Fix mismatched rebase size error in font encryptionZach Hilman
2019-10-13pl_u: Use kernel physical memoryZach Hilman
2019-10-13pl_u: Remove excess static qualifierZach Hilman
2019-10-13pl_u: Use OSS system archives if real archives don't existZach Hilman
2019-10-12nvflinger/buffer_queue: Remove use of a global system accessorLioncash
2019-10-09Merge pull request #2921 from FreddyFunk/compiler-warnings-corebunnei
Services::ES fix casting warnings
2019-10-08Merge pull request #2654 from DarkLordZach/lm-log-rewritebunnei
lm: Rewrite logger to use core reporting services
2019-10-07hid: Implement DeactivateNpadMorph
Makes use of the already existing DeactivateController function.
2019-10-06Merge pull request #2951 from lioncash/globalZach Hilman
core: Remove Core::CurrentProcess()
2019-10-06bcat/module: Silence truncation warningsLioncash
We need to perform explicit casts here, otherwise we're implicitly truncating a 64-bit type to a 32-bit one.
2019-10-06bcat: Take std::function instance by value in NullBackend's constructorLioncash
Without this, the std::move within the constructor initializer list won't be able to actually perform a move.
2019-10-06bcat: In-class initialize ProgressServiceBackend's impl memberLioncash
Allows us to remove a constructor initializer list.
2019-10-06bcat: Make ProgressServiceBackend's constructor take a std::string_viewLioncash
Given the string is appended to another, we can make it a view so a redundant full copy of the string isn't made.
2019-10-06bcat: Make ProgressServiceBackend's GetEvent() constLioncash
This member function doesn't modify internal member state, so it can be marked const.
2019-10-06boxcat: Silence an unused variable warningLioncash
On parse errors, we can log out the explanatory string indicating what the parsing error was, rather than just ignoring the variable and returning an overly broad error code.
2019-10-06core: Remove Core::CurrentProcess()Lioncash
This only encourages the use of the global system instance (which will be phased out long-term). Instead, we use the direct system function call directly to remove the appealing but discouraged short-hand.
2019-10-06hle/service: Replace global system instance calls with instance-based onesLioncash
Migrates the HLE service code off the use of directly accessing the global system instance where trivially able to do so. This removes all usages of Core::CurrentProcess from the service code, only 8 occurrences of this function exist elsewhere. There's still quite a bit of "System::GetInstance()" being used, however this was able to replace a few instances.
2019-10-04NvFlinger: Remove leftover from corrections and clang format.Fernando Sahmkow
2019-10-04Nvdrv: Correct Event setup in NvdrvFernando Sahmkow
Events are supposed to be cleared on quering. This fixes that issue.
2019-10-04NVFlinger: Reverse the change that only signaled events on buffer acquire.Fernando Sahmkow
This has been hardware tested and it seems that NVFlinger will still signal even if there are no buffers to present.
2019-10-04Nvdrv: Do framelimiting only in the CPU ThreadFernando Sahmkow
2019-10-04NvFlinger: Don't swap buffers if a frame is missing and always trigger event ↵Fernando Sahmkow
in sync gpu.
2019-10-04GPU_Async: Correct fences, display events and more.Fernando Sahmkow
This commit uses guest fences on vSync event instead of an articial fake fence we had. It also corrects to keep signaling display events while loading the game as the OS is suppose to send buffers to vSync during that time.
2019-10-04Nvdrv: Correct Async regression and avoid signaling empty buffer vsyncsFernando Sahmkow
2019-10-04audio/audout_u: Change formatting for old clang-format versionsReinUsesLisp
2019-10-04service/nvdrv: Silence -WswitchReinUsesLisp
2019-10-04service/nfp: Silence -Wunused and -WswitchReinUsesLisp
2019-10-04service/hid: Silence -Wunused and -WswitchReinUsesLisp
2019-10-04service/am: Silence -WreorderReinUsesLisp
2019-10-04service/hid: Remove unused system referenceReinUsesLisp
2019-10-04service/friend: Remove unused fieldReinUsesLisp
2019-10-04service/filesystem: Silence -Wunused-variableReinUsesLisp
2019-10-04service/bcat: Silence -Wreorder and -WunusedReinUsesLisp
2019-10-04service/audio: Silence -WunusedReinUsesLisp
2019-10-04service/apm: Silence -Wunused and -WreorderReinUsesLisp
2019-10-03Merge pull request #2539 from DarkLordZach/bcatDavid
bcat: Implement BCAT service and connect to yuzu Boxcat server
2019-10-02qt: Add service dialogZach Hilman
2019-10-01boxcat: Use updated game-asset API URL and tagsZach Hilman
2019-10-01bcat: Add FSC accessors for BCAT dataZach Hilman
Ports BCAT to use FSC interface