summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | scheduler: Silence sign conversion warningsGravatar Lioncash2019-10-271-5/+5
| | |
| * | scheduler: Initialize class members directly where applicableGravatar Lioncash2019-10-272-6/+4
| | | | | | | | | | | | Reduces the overall amount of code.
| * | scheduler: Amend documentation commentsGravatar Lioncash2019-10-272-75/+59
| | | | | | | | | | | | | | | Adjusts the formatting of a few of the comments an ensures they get recognized as proper Doxygen comments.
* | | Merge pull request #3007 from DarkLordZach/fsc-regressGravatar bunnei2019-10-291-0/+12
|\ \ \ | |/ / |/| | savedata_factory: Automatically create certain savedata
| * | savedata_factory: Automatically create certain savedataGravatar Zach Hilman2019-10-221-0/+12
| | | | | | | | | | | | | | | After further hardware investigation, it appears that some games, perhaps those more lazily coded, will not call EnsureSaveData, meaning that they expect the normal (current) save to be automatically made. Additionally, some games do not create a cache or temporary save before use. In these 3 specific instances, the save is created automatically for the game if it doesn't exist.
* | | Merge pull request #2971 from FernandoS27/new-scheduler-v2Gravatar David2019-10-2817-431/+1014
|\ \ \ | | | | | | | | Kernel: Implement a New Thread Scheduler V2
| * | | Kernel Thread: Cleanup THREADPROCESSORID_DONT_UPDATE.Gravatar Fernando Sahmkow2019-10-152-4/+1
| | | |
| * | | Kernel: Address Feedback 2Gravatar Fernando Sahmkow2019-10-152-9/+6
| | | |
| * | | Kernel: Clang FormatGravatar Fernando Sahmkow2019-10-152-5/+5
| | | |
| * | | Kernel: Reverse global accessor removal.Gravatar Fernando Sahmkow2019-10-154-23/+9
| | | |
| * | | Kernel: Address Feedback.Gravatar Fernando Sahmkow2019-10-156-67/+98
| | | |
| * | | Kernel Scheduler: Make sure the global scheduler shutdowns correctly.Gravatar Fernando Sahmkow2019-10-156-0/+24
| | | |
| * | | Kernel_Thread: Eliminate most global accessors.Gravatar Fernando Sahmkow2019-10-151-11/+11
| | | |
| * | | KernelSVC: Assert that condition variable address is aligned to 4 bytes.Gravatar Fernando Sahmkow2019-10-151-0/+4
| | | |
| * | | Kernel: Correct Paused schedulingGravatar Fernando Sahmkow2019-10-151-3/+1
| | | |
| * | | Kernel: Corrections to Wait Objects clearing in which a thread could still ↵Gravatar Fernando Sahmkow2019-10-153-3/+4
| | | | | | | | | | | | | | | | be signalled after a timeout or a cancel.
| * | | Kernel: Correct redundant yields to only advance time forward.Gravatar Fernando Sahmkow2019-10-151-3/+5
| | | |
| * | | Kernel: Corrections to ModifyByWaitingCountAndSignalToAddressIfEqualGravatar Fernando Sahmkow2019-10-151-5/+13
| | | |
| * | | Kernel: Correct Results in Condition Variables and MutexesGravatar Fernando Sahmkow2019-10-153-24/+17
| | | |
| * | | Kernel: Clang FormatGravatar Fernando Sahmkow2019-10-152-2/+3
| | | |
| * | | Kernel: Remove global system accessor from WaitObjectGravatar Fernando Sahmkow2019-10-154-2/+17
| | | |
| * | | Scheduler: Implement Yield Count and Core migration on Thread Preemption.Gravatar Fernando Sahmkow2019-10-152-5/+85
| | | |
| * | | Scheduler: Corrections to YieldAndBalanceLoad and Yield bombing protection.Gravatar Fernando Sahmkow2019-10-152-8/+8
| | | |
| * | | Kernel: Initial implementation of thread preemption.Gravatar Fernando Sahmkow2019-10-153-0/+30
| | | |
| * | | Scheduler: Add protections for Yield bombingGravatar Fernando Sahmkow2019-10-155-24/+31
| | | | | | | | | | | | | | | | | | | | | | | | In case of redundant yields, the scheduler will now idle the core for it's timeslice, in order to avoid continuously yielding the same thing over and over.
| * | | Kernel: Style and CorrectionsGravatar Fernando Sahmkow2019-10-1512-96/+137
| | | |
| * | | Correct PrepareRescheduleGravatar Fernando Sahmkow2019-10-156-38/+29
| | | |
| * | | Comment and reorganize the schedulerGravatar Fernando Sahmkow2019-10-152-98/+104
| | | |
| * | | Add PrepareReschedule where required.Gravatar Fernando Sahmkow2019-10-153-16/+18
| | | |
| * | | Correct compiling errors and addapt to the new interface.Gravatar Fernando Sahmkow2019-10-152-23/+14
| | | |
| * | | Correct Supervisor Calls to work with the new scheduler,Gravatar Fernando Sahmkow2019-10-151-26/+41
| | | |
| * | | Redesign CPU Cores to work with the new schedulerGravatar Fernando Sahmkow2019-10-152-13/+12
| | | |
| * | | Add interfacing to the Global SchedulerGravatar Fernando Sahmkow2019-10-154-0/+34
| | | |
| * | | Addapt thread class to the new SchedulerGravatar Fernando Sahmkow2019-10-152-60/+237
| | | |
| * | | Implement a new Core SchedulerGravatar Fernando Sahmkow2019-10-152-258/+411
| | | |
* | | | Merge pull request #2991 from lioncash/npadGravatar bunnei2019-10-222-51/+23
|\ \ \ \ | |_|/ / |/| | | hid/npad: Minor cleanup
| * | | hid/npad: Fix incorrect connection boolean value in ↵Gravatar Lioncash2019-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ConnectAllDisconnectedControllers() We should be setting the connection state to true, otherwise we aren't actually making the controllers connected like the function name indicates.
| * | | hid/npad: Add missing break in default caseGravatar Lioncash2019-10-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| * | | hid/npad: Replace std::for_each with ranged for loopsGravatar Lioncash2019-10-171-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | Performs the same behavior, but is built into the core language itself. No functional change.
| * | | hid/npad: Remove redundant non-const variant of IsControllerSupported()Gravatar Lioncash2019-10-172-34/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | hid/npad: Move function declarationsGravatar Lioncash2019-10-171-5/+6
| | | | | | | | | | | | | | | | | | | | Clearly separate these from the variable declarations to make them more visible.
* | | | core: Fix clang-format errors.Gravatar bunnei2019-10-191-9/+10
| | | |
* | | | Fix null pointer deref.Gravatar Nicolae-Andrei Cociorba2019-10-181-10/+12
| | | |
* | | | Merge pull request #2992 from lioncash/dmntGravatar bunnei2019-10-171-2/+2
|\ \ \ \ | | | | | | | | | | dmnt_cheat_vm: Correct register Restore and ClearRegs behavior
| * | | | dmnt_cheat_vm: Correct register Restore and ClearRegs behaviorGravatar Lioncash2019-10-171-2/+2
| |/ / / | | | | | | | | | | | | | | | | Previously these were performing the same behavior as the Save and ClearSaved opcode types.
* | | | Merge pull request #2989 from lioncash/apmGravatar Rodrigo Locatti2019-10-172-16/+36
|\ \ \ \ | | | | | | | | | | service/apm/controller: Minor interface changes
| * | | | apm/controller: Make SetPerformanceConfiguration() use an array of pairs ↵Gravatar Lioncash2019-10-171-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | apm/controller: Make GetCurrentPerformanceMode() a const member functionGravatar Lioncash2019-10-172-2/+2
| |/ / / | | | | | | | | | | | | This doesn't modify instance state, so it can be made const qualified.
* | | | core/core: Resolve -Wreorder warningsGravatar Lioncash2019-10-171-2/+2
| | | | | | | | | | | | | | | | | | | | Amends the initializer lists to be ordered in the same manner that they're declared within the class.
* | | | core/memory/cheat_engine: Resolve -Wreorder warningsGravatar Lioncash2019-10-171-4/+3
|/ / / | | | | | | | | | | | | Amends the initializer lists to be ordered in the same manner that they're declared within the class.