Subv
90570c153b
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
a1718862e3
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
1df720ed08
Fix some warnings ( #2399 )
9 years ago
Lectem
aff0ef44d2
fix comments alignment
9 years ago
mailwl
45b03ee367
Service/NFC: stub GetTagInRangeEvent
Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge
9 years ago
mailwl
d5ca5dd75e
Service/AC: add ac:i service
9 years ago
wwylele
128190f242
Frontend: make motion sensor interfaced thread-safe
9 years ago
wwylele
bf96d8c561
Core: remove unused hle.cpp
9 years ago
Lectem
a7eeff24f0
move Pop methods out of class body
9 years ago
Lectem
c5bfad527e
IPC helpers example
9 years ago
Lectem
09e966a107
IPC helpers
9 years ago
wwylele
e844f294a1
Frontend: emulate motion sensor
9 years ago
wwylele
0372b0ea28
Core: reset cpu_core in Shutdown to make IsPoweredOn work properly
9 years ago
MerryMage
4aaaea9758
core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
9 years ago
mailwl
3a05b161bc
Service/NWM: add nwm services
9 years ago
MerryMage
608278503c
arm_dynarmic: Provide MemoryReadCode callback
Change of interface in dynarmic 36082087de
9 years ago
bunnei
d445aad022
ThreadContext: Move from "core" to "arm_interface".
9 years ago
bunnei
8cfd0762fd
core: Replace "AppCore" nomenclature with just "CPU".
9 years ago
bunnei
1fd7cfb69e
Address clang-format issues.
9 years ago
bunnei
5d22844f3e
core: Remove HLE module, consolidate code & various cleanups.
9 years ago
bunnei
d504f6cf08
core: Consolidate core and system state, remove system module & cleanups.
9 years ago
bunnei
98bf7cc82f
core: Consolidate top-level system state into a singleton.
9 years ago
bunnei
fdcff791c3
loader: Remove duplicate docstrings.
9 years ago
bunnei
1224db246e
Revert "Memory: Always flush whole pages from surface cache"
9 years ago
wwylele
c62bc4e616
Thread: remove the thread from the thread list when exiting
9 years ago
wwylele
ea4217939a
Kernel: remove object's waiting thread if it is dead
9 years ago
Lioncash
cae211f90c
gdbstub: const correctness changes
Also uses size_t as the length indicator type, as is common with buffers.
9 years ago
wwylele
267f26d7df
FS: fix debug build from #2249
9 years ago
Lioncash
bec7bc3ec9
gdbstub: Remove global variable from public interface
Currently, this is only ever queried, so adding a function to check if the
server is enabled is more sensible.
If directly modifying this externally is ever desirable, it should be done
by adding a function to the interface, rather than exposing implementation
details directly.
9 years ago
Lioncash
7c1a069ab6
hid: Get rid of a double -> float truncation warning
float literals need to have the 'f' prefix.
9 years ago
Lioncash
cb4293adf1
core: Add missing #pragma once directives where applicable
9 years ago
Lioncash
8e6bf2478f
act: Fix docstring typo
These aren't the AM services.
9 years ago
MerryMage
af97174940
loader: Implement ReadProgramId
9 years ago
MerryMage
6e2d70a777
archive_source_sd_savedata: Add static method to get a specific save data path
9 years ago
Yuri Kunde Schlesner
415064165a
Memory: Always flush whole pages from surface cache
This prevents individual writes touching a cached page, but which don't
overlap the surface, from constantly hitting the surface cache lookup.
9 years ago
mailwl
c7a28acce4
Service/CECD: Add cecd:ndm service
9 years ago
Subv
3e80a1a1c1
Fixed the codestyle to match our clang-format rules.
9 years ago
Subv
00decc1180
Fixed the codestyle to match our clang-format rules.
9 years ago
mailwl
11e9681df2
Service/ACT: move ACT services to folder
9 years ago
JamePeng
7af1081bb0
Minor amendment of GSP_GPU::ImportDisplayCaptureInfo code
9 years ago
mailwl
a88468d683
csnd:SND reformat source code
9 years ago
mailwl
e3828ed7fa
APT::GetStartupArgument: force clear startup argument
9 years ago
Emmanuel Gil Peyrot
01e0d578d3
Core: Add a forgotten #include <cstring> for memcpy.
9 years ago
Lioncash
b0ebdfae34
Add all services to the Service namespace
Previously there was a split where some of the services were in the
Service namespace and others were not.
9 years ago
Subv
7066deff78
Properly remove a thread from its wait_objects' waitlist when it is awoken by a timeout.
9 years ago
Subv
6df6ad46c4
Moved the HLE command buffer translation task to ServerSession instead of the HLE handler superclass.
9 years ago
Subv
79f53e6daa
Kernel/IPC: Small codestyle cleanup
9 years ago
Subv
d4815e828d
WaitSynch: Removed unused variables and reduced SharedPtr copies.
Define a variable with the value of the sync timeout error code.
Use a boost::flat_map instead of an unordered_map to hold the equivalence of objects and wait indices in a WaitSynchN call.
9 years ago
Lioncash
fd2837ad16
service: Add cfg:nor service
9 years ago
Lioncash
508f17b87c
ptm: Use boolean instead of integral value
The third parameter of Write is actually a bool type, not an int.
9 years ago