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
Lectem
ee6e88fdb5
fix comments alignment
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
Lectem
f91c51467a
move Pop methods out of class body
9 years ago
Lectem
8baae9d982
IPC helpers example
9 years ago
Lectem
8f2b642415
IPC helpers
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
MerryMage
64f98f4d0f
core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
9 years ago
mailwl
069a88dad7
Service/NWM: add nwm services
9 years ago
MerryMage
f8cf87ce34
arm_dynarmic: Provide MemoryReadCode callback
Change of interface in dynarmic 36082087de
9 years ago
bunnei
8b1e269e58
ThreadContext: Move from "core" to "arm_interface".
9 years ago
bunnei
e26fbfd1d7
core: Replace "AppCore" nomenclature with just "CPU".
9 years ago
bunnei
5ac5cbeab7
Address clang-format issues.
9 years ago
bunnei
4fc8b8229e
core: Remove HLE module, consolidate code & various cleanups.
9 years ago
bunnei
232ef55c1a
core: Consolidate core and system state, remove system module & cleanups.
9 years ago
bunnei
707cc66362
file_util: Remove unused paths.
9 years ago
bunnei
198b6c9bdd
core: Consolidate top-level system state into a singleton.
9 years ago
bunnei
81e22ae8c7
loader: Remove duplicate docstrings.
9 years ago
Lioncash
8309d0dade
citra-qt: Move graphics debugging code into its own folder
Keeps all graphics debugging stuff from cluttering up the root debugger
folder
9 years ago
Lioncash
f2c307557a
disassembler: Remove mutable specifier from breakpoints member variable
Breakpoints has been const correct with regards to what the
DisassmblerModel needs for quite a while now.
9 years ago
Lioncash
cc1f2c131b
citra-qt: Move bits of constructor behavior to named functions
Makes the initialization process a tad easier to grok,
since the constructor isn't just a glob of random unrelated behaviors.
9 years ago
Albin Bernhardsson
ddec9cb369
Use GL_TRUE when setting color_mask
9 years ago
CaptV0rt3x
393a0f99da
line fixup for travis ci
9 years ago
Vamsi Krishna
77f4743199
screen swap - Hotkey mapping
9 years ago
Vamsi Krishna
0db22eadd5
Fixed GPLv2 license text in the start.
9 years ago
Vamsi Krishna
27217c621b
Fixed game_list focusing issue.
added line render_window->setFocus();
9 years ago
bunnei
4798b1d04d
Revert "Memory: Always flush whole pages from surface cache"
9 years ago
wwylele
5728e42634
Thread: remove the thread from the thread list when exiting
9 years ago
wwylele
4c9b80cee3
Kernel: remove object's waiting thread if it is dead
9 years ago
Lioncash
38a964735f
gdbstub: const correctness changes
Also uses size_t as the length indicator type, as is common with buffers.
9 years ago
Yuri Kunde Schlesner
c135317de1
VideoCore/Shader: Extract DebugData out from UnitState
9 years ago
Yuri Kunde Schlesner
6e7e767645
Remove unnecessary cast
9 years ago