aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2019-10-22Merge pull request #2991 from lioncash/npadbunnei
hid/npad: Minor cleanup
2019-10-19core: Fix clang-format errors.bunnei
2019-10-18Fix null pointer deref.Nicolae-Andrei Cociorba
2019-10-17Merge pull request #2992 from lioncash/dmntbunnei
dmnt_cheat_vm: Correct register Restore and ClearRegs behavior
2019-10-17dmnt_cheat_vm: Correct register Restore and ClearRegs behaviorLioncash
Previously these were performing the same behavior as the Save and ClearSaved opcode types.
2019-10-17Merge pull request #2989 from lioncash/apmRodrigo Locatti
service/apm/controller: Minor interface changes
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-17core/core: Resolve -Wreorder warningsLioncash
Amends the initializer lists to be ordered in the same manner that they're declared within the class.
2019-10-17core/memory/cheat_engine: Resolve -Wreorder warningsLioncash
Amends the initializer lists to be ordered in the same manner that they're declared within the class.
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-15Merge pull request #2965 from FernandoS27/fair-core-timingbunnei
Core Timing: Rework Core Timing to run all cores evenly.
2019-10-14Merge pull request #2897 from DarkLordZach/oss-ext-fonts-1bunnei
pl_u: Move open source font archives and fix NAND error
2019-10-14Merge pull request #2930 from DarkLordZach/gamecard-partitionsbunnei
file_sys: Add code to access raw gamecard partitions and lazily load them
2019-10-13card_image: Implement system update commands in XCIZach Hilman
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-13system_archive: Synthesize shared fonts system archivesZach Hilman
2019-10-13externals: Move OSS font data to file_sys in coreZach Hilman
2019-10-12nvflinger/buffer_queue: Remove use of a global system accessorLioncash
2019-10-12Core_Timing: Address Remaining feedback.Fernando Sahmkow
2019-10-11Core_Timing: Address Feedback and suppress warnings.Fernando Sahmkow
2019-10-09Core Timing: Correct Idle and remove lefting pragmaFernando Sahmkow
2019-10-09Core Timing: General corrections and added tests.Fernando Sahmkow
2019-10-09Core Timing: Rework Core Timing to run all cores evenly.Fernando Sahmkow
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/core: Remove unused headerLioncash
This isn't used anywhere in either the cpp or header file.
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-04Core: Wait for GPU to be idle before shutting down.Fernando Sahmkow
2019-10-04Nvdrv: Correct Event setup in NvdrvFernando Sahmkow
Events are supposed to be cleared on quering. This fixes that issue.