summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2019-11-06Merge pull request #2859 from Morph1984/hidDavid
hid: Stub SetNpadJoyAssignmentModeSingle and GetNpadHandheldActivationMode
2019-11-03common_func: Use std::array for INSERT_PADDING_* macros.bunnei
- Zero initialization here is useful for determinism.
2019-11-03core/am: Stub InitializeApplicationCopyrightFrameBuffer, ↵FearlessTobi
SetApplicationCopyrightImage and SetApplicationCopyrightVisibility These commands require Screenshots to be implemented anyway, so they are safe to stub for now.
2019-10-30Merge pull request #3038 from lioncash/docsRodrigo Locatti
kernel/scheduler: Minor changes
2019-10-29Merge pull request #3007 from DarkLordZach/fsc-regressbunnei
savedata_factory: Automatically create certain savedata
2019-10-27scheduler: Mark parameter of AskForReselectionOrMarkRedundant() as constLioncash
This is only compared against, so it can be made const.
2019-10-27scheduler: Silence sign conversion warningsLioncash
2019-10-27scheduler: Initialize class members directly where applicableLioncash
Reduces the overall amount of code.
2019-10-27scheduler: Amend documentation commentsLioncash
Adjusts the formatting of a few of the comments an ensures they get recognized as proper Doxygen comments.
2019-10-28Merge pull request #2971 from FernandoS27/new-scheduler-v2David
Kernel: Implement a New Thread Scheduler V2
2019-10-22Merge pull request #2991 from lioncash/npadbunnei
hid/npad: Minor cleanup
2019-10-22savedata_factory: Automatically create certain savedataZach Hilman
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.
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-15Kernel Thread: Cleanup THREADPROCESSORID_DONT_UPDATE.Fernando Sahmkow
2019-10-15Kernel: Address Feedback 2Fernando Sahmkow
2019-10-15Kernel: Clang FormatFernando Sahmkow
2019-10-15Kernel: Reverse global accessor removal.Fernando Sahmkow
2019-10-15Kernel: Address Feedback.Fernando Sahmkow
2019-10-15Kernel Scheduler: Make sure the global scheduler shutdowns correctly.Fernando Sahmkow
2019-10-15Kernel_Thread: Eliminate most global accessors.Fernando Sahmkow
2019-10-15KernelSVC: Assert that condition variable address is aligned to 4 bytes.Fernando Sahmkow
2019-10-15Kernel: Correct Paused schedulingFernando Sahmkow
2019-10-15Kernel: Corrections to Wait Objects clearing in which a thread could still ↵Fernando Sahmkow
be signalled after a timeout or a cancel.
2019-10-15Kernel: Correct redundant yields to only advance time forward.Fernando Sahmkow
2019-10-15Kernel: Corrections to ModifyByWaitingCountAndSignalToAddressIfEqualFernando Sahmkow
2019-10-15Kernel: Correct Results in Condition Variables and MutexesFernando Sahmkow
2019-10-15Kernel: Clang FormatFernando Sahmkow
2019-10-15Kernel: Remove global system accessor from WaitObjectFernando Sahmkow
2019-10-15Scheduler: Implement Yield Count and Core migration on Thread Preemption.Fernando Sahmkow
2019-10-15Scheduler: Corrections to YieldAndBalanceLoad and Yield bombing protection.Fernando Sahmkow
2019-10-15Kernel: Initial implementation of thread preemption.Fernando Sahmkow
2019-10-15Scheduler: Add protections for Yield bombingFernando Sahmkow
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.
2019-10-15Kernel: Style and CorrectionsFernando Sahmkow
2019-10-15Correct PrepareRescheduleFernando Sahmkow