archshift
95be6ad7ae
Added Archive ID to fs:USER debug logs involving opening the archive.
11 years ago
archshift
228843c43e
Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.
11 years ago
Subv
115a4bfc9e
citra-qt: Add explicit casts to prevent some warnings.
11 years ago
Subv
1b01938767
citra-qt: Fixed some Qt errors on initialization
11 years ago
Yuri Kunde Schlesner
8ad41775cc
Kernel: Start using boost::intrusive_ptr for lifetime management
11 years ago
Yuri Kunde Schlesner
d751de7341
Kernel: Don't re-assign object's handle when duplicating one
11 years ago
Johannes Ekberg
d7ad14ae20
Use -pthread where and only where needed
Passing -pthread to GCC as a flag makes it both link to libpthread, and make C standard library routines reentrant. This makes the additional explicit links unnecessary.
Additionally, on OSX, this is the default behavior, and clang will print a message about it being unused if it's present there.
11 years ago
Johannes Ekberg
7d7ab70279
Generic PLATFORM_LIBRARIES var
This both reduces redundancy in add_executable definitions, and makes it easier to link additional libraries. In particular, extra libraries are needed on OSX - see next commit.
11 years ago
Yuri Kunde Schlesner
78ea76e12f
Thread: Fix nullptr access in a logging function
11 years ago
Yuri Kunde Schlesner
7f1557fbbd
Thread: Rename thread_queue => thread_list
11 years ago
Yuri Kunde Schlesner
9bf8462b96
Thread: Reduce use of Handles and move some funcs to inside the class.
11 years ago
Yuri Kunde Schlesner
ba72208cd4
Kernel: Move Thread's definition to the header file
11 years ago
Yuri Kunde Schlesner
7b3452c730
Move ThreadContext to core/core.h and deal with the fallout
11 years ago
Subv
40c1439c34
Core: Fixed a crash and removed some unused variables.
ARM_Disasm only has static methods, so there's no need to have an instance of it.
11 years ago
Subv
07044651ef
SVC: Implemented the Timer service calls.
11 years ago
Subv
fc842963c8
DynCom: Add a comment to GetTicks.
11 years ago
Subv
620d77b7e3
Timing: Use CoreTiming::GetTicks to keep track of ticks.
This will keep track of idle ticks for us, and fixes some tickcount-related issues
11 years ago
Subv
dfc440785a
SVC: Fixed SleepThread.
It will now properly wait the specified number of nanoseconds and then wake up the thread.
11 years ago
Lioncash
1cef6e92d5
dyncom: Fix UMAAL
These need to be done as a 64-bit operation.
11 years ago
Subv
60a373a786
Threads: Use a dummy idle thread when no other are ready.
This thread will not actually execute instructions, it will only advance the timing/events and try to yield immediately to the next ready thread, if there aren't any ready threads then it will be rescheduled and start its job again.
11 years ago
bunnei
f7a3f45f1e
GSP: Toggle active framebuffer each frame
11 years ago
Kevin Hartman
63be6aaadd
Warn if a new thread is intended to be run on the system CPU core until we implement correct scheduling for such a thread.
11 years ago
Lioncash
df5e0f9f28
dyncom: Fix SMULWB/SMULWT
Wasn't doing proper sign-extension
11 years ago
Kingcom
693f6c54e5
citra-qt: Add check for valid address to call stack
11 years ago
Yuri Kunde Schlesner
122c2bb324
Common: Clean up ThreadQueueList
Replace all the C-style complicated buffer management with a std::deque.
In addition to making the code easier to understand it also adds support
for non-POD IdTypes.
Also clean the rest of the code to follow our code style.
11 years ago
Subv
9bf82beb4c
CoreTiming: Ported the CoreTiming namespace from PPSSPP
Implemented the required calls to make it work.
CoreTiming: Added a new logging class Core_Timing.
11 years ago
Yuri Kunde Schlesner
a6ad68190f
Fix double-free in Service manager during shutdown
Fixes #423 .
11 years ago
Lioncash
75c211c10f
dyncom: Fix SWPB
11 years ago
Lioncash
511e13f3e3
dyncom: Move over SMLALXY
11 years ago
Subv
8fbe5d2dca
Archives/Exdata: Don't set concrete_mount_point in the ctor
11 years ago
Subv
32dbb76e00
Archives: Changed the unimplemented archives comment.
It now refers to me as the PoC
11 years ago
Subv
5244ac0e9c
Archives: Addressed some comments
11 years ago
Emmanuel Gil Peyrot
6b411c63c9
Common: Remove dead platform #ifdefs to make the code more readable.
Symbian, Xbox, Blackberry and iOS got removed.
FreeBSD and Android kept due to them potentially being able to run Citra in the future.
The iOS specific part also got removed from PPSSPP in order to fix a bug there.
11 years ago
chrisvj
b0a14cfe7f
citra-qt: Renamed all .hxx headers to .h
11 years ago
Kevin Hartman
8132c01830
Added exclusive reservation granule from ARMv7 spec to dyncom to protect LDR/STREX.
11 years ago
purpasmart96
379b39e583
Services: Clean up a few things and add a few function names
11 years ago
Subv
123a76c9c8
SaveDataCheck: Fixed a typo
11 years ago
Lioncash
f75def619c
dyncom: Partially emulate BXJ
Just in case some game studio let the intern write inline assembly or something.
11 years ago
Emmanuel Gil Peyrot
66e06f65c4
Common: Use std::abs instead of abs, using abs with cmath fails on some systems.
11 years ago
Lioncash
e08a39a2f4
dyncom: Actually set the Q flag for SMLABB/SMLABT/SMLATB/SMLATT
Easy skyeye todo fix.
11 years ago
Emmanuel Gil Peyrot
ffe4cc9c5a
Common: Remove the unused x86-specific 128-bit float type.
11 years ago
Lioncash
d00c22c706
dyncom: Implement QADD/QSUB/QDADD/QDSUB
11 years ago
bunnei
e9650f1c61
DSP: Signal (faked) interrupt on every frame.
- Hack to work around games checking that the DSP event has been signaled by a real DSP interrupt.
11 years ago
Dante38490
e674aa31af
Fix correct espace
11 years ago
Dante38490
35a085d567
Add support load 3DS room
11 years ago
Subv
ea80363cc2
Mutex: Add the calling thread to the waiting list when needed
This will happen when the mutex is already owned by another thread. Should fix some issues with games being stuck due to waiting threads not being awoken.
11 years ago
chrisvj
6dfcf2271b
citra-qt: Added license headers to files.
11 years ago
Lioncash
41e1cb12e5
skyeye: Remove duplicate typedefs
citra already has its own typedefs like this.
11 years ago
Subv
90dffe3fc1
Archives: Make SYSTEM_ID and SDCARD_ID strings
11 years ago
Yuri Kunde Schlesner
cdde76f2aa
Frontends: Shutdown core when emulation is stopped
11 years ago