Yuri Kunde Schlesner
34d581f2dc
VideoCore/Shader: Extract input vertex loading code into function
9 years ago
Kloen
5cc94c17f6
video_core: fix shader.cpp signed / unsigned warning
9 years ago
Kloen
753fea5d65
video_core: gl_rasterizer float to int warning
9 years ago
Kloen
b6063d9a93
video_core: fix gl_rasterizer warning on MSVC
9 years ago
Kloen
095f7c83fc
core: fix mic_u warnings on MSVC
9 years ago
Kloen
abc5c134a3
Removed unused and outdated external qhexedit
9 years ago
Kloen
380c165339
citra-qt: Removed unused and unimplemented ramview files.
9 years ago
wwylele
2c7676d371
HID: reset acceleroeter and gyroscope index in Init
9 years ago
Thomas Farr
bb1f277db1
loader: Add support for 3DSX special relocation types, fixes citra-emu/citra#2449
As per devkitPro/3dstools@47bea18
9 years ago
wwylele
47960b0659
CoreTiming: use named constant for ARM11 clock rate
9 years ago
wwylele
3c333c53f1
HID: manages updating itself using correct ticks
9 years ago
mailwl
efe7e245b2
Service/NFC: stub some functions
Tested on: Mini-Mario & Friends - amiibo Challenge
9 years ago
mailwl
b458d7447c
GSP::WriteHWRegsWithMask: fix register mask
9 years ago
Subv
1ddff14511
Threads: Check the process' resource limit for the max allowed priority when creating a thread and remove the priority clamping code.
9 years ago
Subv
f2f2572fed
Thread: Added priority range checking to svcSetThreadPriority and removed priority clamping code from Thread::SetPriority.
9 years ago
Subv
5ddc2e09b1
Y2R: Use the proper error code when GetStandardCoefficient receives an invalid value.
9 years ago
Kloen
8d48798f1c
QT: Fix ui file format
9 years ago
Kloen
551fe3dd69
QT: Fix some UI related warnings
9 years ago
Kloen
a851aa4cf1
SDL2: Config.cpp fix double to float warning
9 years ago
bunnei
22ad9094e6
config: Add option for specifying screen resolution scale factor.
9 years ago
Hyper
f0199a17f6
Kernel: Fix SharedMemory objects always returning error when addr = 0 ( #2404 )
Closes #2400
9 years ago
Subv
fc2266130b
Kernel: Don't attempt to yield execution in SleepThread(0) if there are no available threads to run.
With this we avoid an useless temporary deschedule of the current thread.
9 years ago
Subv
5e2a8ebabf
Kernel: Remove some unused functions.
9 years ago
Subv
933df2606a
Kernel: Removed the priority boost code for starved threads.
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.
9 years ago
Subv
e52ca85711
Kernel: Implemented Pulse event and timers.
Closes #1904
9 years ago
Subv
4251eb26ec
Kernel/Semaphore: Fixed a regression in semaphore waits.
The regression was caused by a missing check in #2260 .
The new behavior is consistent with the real kernel.
9 years ago
Subv
dda4ec93be
Kernel: Add some asserts to enforce the invariants in the scheduler.
9 years ago
Subv
7f1dca8cd2
Kernel: Remove a thread from all of its waiting objects' waiting_threads 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
9 years ago
Subv
fd95b6ee26
Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all the objects that a thread is waiting on.
9 years ago
Subv
cef5f45de2
Kernel: Use different thread statuses when a thread calls 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.
9 years ago
Subv
d3ff5b91e1
Kernel/Mutex: Propagate thread priority changes to other threads inheriting the priority via mutexes
9 years ago
Subv
b6a0355568
Kernel/Mutex: Update a mutex priority when a thread stops waiting on it.
9 years ago
Subv
7abf185390
Kernel/Mutex: Implemented priority inheritance.
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.
9 years ago
Subv
e6a7723f2f
Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.
This will be useful when implementing mutex priority inheritance.
9 years ago
Subv
38a90882a4
Kernel/Synch: Do not attempt a reschedule on every syscall.
Not all syscalls should cause reschedules, this commit attempts to remedy that, however, it still does not cover all cases.
9 years ago
Jonathan Hao
c18cb1b192
Fix some warnings ( #2399 )
9 years ago
mailwl
f2985f7080
Service/NFC: stub GetTagInRangeEvent
Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge
9 years ago
mailwl
c6f4b93f2e
Service/AC: add ac:i service
9 years ago
bunnei
02b4b2ed6e
config: SDL: Move background color setting to correct section.
9 years ago
wwylele
d7d40b3c56
Frontend: make motion sensor interfaced thread-safe
9 years ago
wwylele
f927beb5e2
Core: remove unused hle.cpp
9 years ago
wwylele
bcf9d20d57
Frontend: emulate motion sensor
9 years ago
wwylele
6479f63091
Common: add Quaternion
9 years ago
wwylele
2e6d8e1321
vector math: add implementation of Length and Normalize
9 years ago
wwylele
55f5d0f777
MathUtil: add PI constant
9 years ago
wwylele
2a069e76a5
Common::Event: add WaitUntil
9 years ago
Jannik Vogel
6ed4206f87
Minor cleanup in GLSL code
9 years ago
Jannik Vogel
88f409aec9
Offset lighting LUT samples correctly
9 years ago
wwylele
fe2ed4bf72
Core: reset cpu_core in Shutdown to make IsPoweredOn work properly
9 years ago
wwylele
488b7a4041
file_util: fix missing sysdata path
9 years ago