summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-01-22Removed unused and outdated external qhexeditKloen
2017-01-22citra-qt: Removed unused and unimplemented ramview files.Kloen
2017-01-20HID: reset acceleroeter and gyroscope index in Initwwylele
2017-01-19loader: Add support for 3DSX special relocation types, fixes ↵Thomas Farr
citra-emu/citra#2449 As per devkitPro/3dstools@47bea18
2017-01-16CoreTiming: use named constant for ARM11 clock ratewwylele
2017-01-16HID: manages updating itself using correct tickswwylele
2017-01-14GSP::WriteHWRegsWithMask: fix register maskmailwl
2017-01-13Merge pull request #2423 from Kloen/floats-should-be-floatbunnei
SDL2: Config, fix double to float warning
2017-01-12Merge pull request #2424 from Kloen/qt-ui-warnings-reallybunnei
Qt: Fix UI related warnings and bonus ui file format
2017-01-12Merge pull request #2425 from Subv/cleanup_todosbunnei
Implement some TODOs in the code.
2017-01-12Merge pull request #2308 from mailwl/ac-ibunnei
Service/AC: add ac:i service
2017-01-11Threads: Check the process' resource limit for the max allowed priority when ↵Subv
creating a thread and remove the priority clamping code.
2017-01-11Thread: Added priority range checking to svcSetThreadPriority and removed ↵Subv
priority clamping code from Thread::SetPriority.
2017-01-11Y2R: Use the proper error code when GetStandardCoefficient receives an ↵Subv
invalid value.
2017-01-11QT: Fix ui file formatKloen
2017-01-11QT: Fix some UI related warningsKloen
2017-01-11SDL2: Config.cpp fix double to float warningKloen
2017-01-10Merge pull request #2397 from Subv/pulsebunnei
Kernel: Implemented Pulse event and timers.
2017-01-08Merge pull request #2384 from bunnei/internal-res-optionbunnei
config: Add option for specifying screen resolution scale factor.
2017-01-07Merge pull request #1951 from wwylele/motion-sensorbunnei
Emulate motion sensor in frontend
2017-01-07config: Add option for specifying screen resolution scale factor.bunnei
2017-01-06Merge pull request #2410 from Subv/sleepthreadbunnei
Don't yield execution in SleepThread(0) if there are no available threads to run
2017-01-06Merge pull request #2396 from Subv/sema_acquirebunnei
Kernel/Semaphore: Fixed a regression in semaphore waits.
2017-01-06Kernel: Fix SharedMemory objects always returning error when addr = 0 (#2404)Hyper
Closes #2400
2017-01-06Merge pull request #2408 from Subv/priority_boostingbunnei
Kernel: Removed the priority boost code for starved threads.
2017-01-05Kernel: Don't attempt to yield execution in SleepThread(0) if there are no ↵Subv
available threads to run. With this we avoid an useless temporary deschedule of the current thread.
2017-01-05Kernel: Remove some unused functions.Subv
2017-01-05Kernel: Removed the priority boost code for starved threads.Subv
After hwtesting and reverse engineering the kernel, it was found that the CTROS scheduler performs no priority boosting for threads like this, although some other forms of scheduling priority-starved threads might take place. For example, it was found that hardware interrupts might cause low-priority threads to run if the CPU is preempted in the middle of an SVC handler that deschedules the current (high priority) thread before scheduling it again.
2017-01-05Kernel: Implemented Pulse event and timers.Subv
Closes #1904
2017-01-05Kernel/Semaphore: Fixed a regression in semaphore waits.Subv
The regression was caused by a missing check in #2260. The new behavior is consistent with the real kernel.
2017-01-05Merge pull request #2393 from Subv/synchSebastian Valle
Kernel: Mutex priority inheritance and synchronization improvements.
2017-01-05Kernel: Add some asserts to enforce the invariants in the scheduler.Subv
2017-01-05Kernel: Remove a thread from all of its waiting objects' waiting_threads ↵Subv
list when it is awoken. This fixes a potential bug where threads would not get removed from said list if they awoke after waiting with WaitSynchronizationN with wait_all = false
2017-01-05Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all ↵Subv
the objects that a thread is waiting on.
2017-01-04Kernel: Use different thread statuses when a thread calls ↵Subv
WaitSynchronization1 and WaitSynchronizationN with wait_all = true. This commit removes the overly general THREADSTATUS_WAIT_SYNCH and replaces it with two more granular statuses: THREADSTATUS_WAIT_SYNCH_ANY when a thread waits on objects via WaitSynchronization1 or WaitSynchronizationN with wait_all = false. THREADSTATUS_WAIT_SYNCH_ALL when a thread waits on objects via WaitSynchronizationN with wait_all = true.
2017-01-04Kernel/Mutex: Propagate thread priority changes to other threads inheriting ↵Subv
the priority via mutexes
2017-01-04Kernel/Mutex: Update a mutex priority when a thread stops waiting on it.Subv
2017-01-04Kernel/Mutex: Implemented priority inheritance.Subv
The implementation is based on reverse engineering of the 3DS's kernel. A mutex holder's priority will be temporarily boosted to the best priority among any threads that want to acquire any of its held mutexes. When the holder releases the mutex, it's priority will be boosted to the best priority among the threads that want to acquire any of its remaining held mutexes.
2017-01-04Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.Subv
This will be useful when implementing mutex priority inheritance.
2017-01-04Kernel/Synch: Do not attempt a reschedule on every syscall.Subv
Not all syscalls should cause reschedules, this commit attempts to remedy that, however, it still does not cover all cases.
2017-01-04Fix some warnings (#2399)Jonathan Hao
2017-01-03Merge pull request #2382 from mailwl/nfcYuri Kunde Schlesner
Service/NFC: stub GetTagInRangeEvent
2016-12-30Merge pull request #2386 from bunnei/fix-bg-colorSebastian Valle
config: SDL: Move background color setting to correct section.
2016-12-30Service/NFC: stub GetTagInRangeEventmailwl
Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge
2016-12-30Service/AC: add ac:i servicemailwl
2016-12-30config: SDL: Move background color setting to correct section.bunnei
2016-12-29Merge pull request #2240 from wwylele/auto-regionbunnei
Config: auto-select region and language
2016-12-29Frontend: make motion sensor interfaced thread-safewwylele
2016-12-29Merge pull request #2367 from JayFoxRox/lighting-lut-quickfixbunnei
Lighting LUT Quickfix
2016-12-27Core: remove unused hle.cppwwylele