chinhodado
34cce345a7
Fix a wrong file name in a comment
11 years ago
Lioncash
1ecd75ea1a
vfp_helper: Remove unnecessary extern C blocks
11 years ago
Lioncash
3e576219c4
vfp: Move FPSID, FPEXC, and FPSCR values over to enums.
Also got rid of duplicate definitions of some of these values.
11 years ago
bunnei
1eb591d6fd
Rasterizer: Implement the other color and alpha modifiers.
11 years ago
bunnei
8c93a28fed
VideoCore: Added same-component swizzlers to math utility functions.
11 years ago
Lioncash
82e8f25fe7
vfp: Fix VCVT
These variants exclusively read from the single precision regs and write to double-precision registers
Fixes issues where converted values would be way off from what they should be due to the results being stored in the wrong registers.
11 years ago
Lioncash
7ecedfb970
vfp: Throw out unused code
11 years ago
Tony Wasserka
5a90420c0b
citra-qt: Fix horrible scrolling responsiveness in disassembler by giving the uniformRowHeight hint.
11 years ago
Tony Wasserka
79713d500b
citra-qt: Fix a crash when double-clicking a disassembler list item.
11 years ago
Lioncash
3a5a39c6aa
dyncom: Remove more unnecessary code
11 years ago
Lioncash
676daef3c7
core: Fix some warnings on OSX
11 years ago
Yuri Kunde Schlesner
88a4a808c6
Kernel: Stop creating useless Handles during object creation
They're finally unnecessary, and will stop cluttering the application's
handle table.
11 years ago
Yuri Kunde Schlesner
52f58e64ef
Kernel: Make WaitObjects share ownership of Threads waiting on them
During normal operation, a thread waiting on an WaitObject and the
object hold mutual references to each other for the duration of the
wait.
If a process is forcefully terminated (The CTR kernel has a SVC to do
this, TerminateProcess, though no equivalent exists for threads.) its
threads would also be stopped and destroyed, leaving dangling pointers
in the WaitObjects.
The solution is to simply have the Thread remove itself from WaitObjects
when it is stopped. The vector of Threads in WaitObject has also been
changed to hold SharedPtrs, just in case. (Better to have a reference
cycle than a crash.)
11 years ago
Yuri Kunde Schlesner
7725256f64
Explicitly instantiate constructors/destructors for Kernel objects
This should speed up compile times a bit, as well as enable more liberal
use of forward declarations. (Due to SharedPtr not trying to emit the
destructor anymore.)
11 years ago
Yuri Kunde Schlesner
4e84df8be3
Mutex: Replace g_mutex_held_locks with a set inside Thread
11 years ago
Yuri Kunde Schlesner
0f69668fc6
HID: Fix crash when pressing a key when the emulator is stopped
11 years ago
Yuri Kunde Schlesner
c4208c1171
SVC: Enable CloseHandle, clean up DuplicateHandle
11 years ago
Yuri Kunde Schlesner
e8330dd162
Kernel: Fix bug in HandleTable::Close
11 years ago
Yuri Kunde Schlesner
5354a479bc
Kernel: Remove Object::GetHandle (it's not used anymore :D)
11 years ago
Yuri Kunde Schlesner
869ec46683
Kernel: Introduce unique Object ids for debugging
11 years ago
Yuri Kunde Schlesner
a9b86db3cf
Kernel: Use separate Handle tables for CoreTiming userdata
This is to support the removal of GetHandle soon
11 years ago
Yuri Kunde Schlesner
ec9c773251
Kernel: Remove previous scheduled event when a Timer is re-Set
11 years ago
Yuri Kunde Schlesner
8441591659
FS: Remove use of GetHandle
11 years ago
Yuri Kunde Schlesner
664c79ff47
Thread: Modernize two functions that slipped through previous rebases
11 years ago
Yuri Kunde Schlesner
6e11570862
Service: Store function names as const char* instead of std::string
Uses less memory (strings and function table is stored in constant data)
and speeds up start up (no need to allocate and copy strings).
11 years ago
Yuri Kunde Schlesner
a79d21c83e
Service: Clean-up Interface
11 years ago
Yuri Kunde Schlesner
8779b31fe6
Make Port/Service registration and querying more HW-accurate
11 years ago
Yuri Kunde Schlesner
5e91fc0d1a
Filesys: Move creation of Handles for File/Directory to service handlers
11 years ago
Lioncash
8c944bd1f0
vfp: Get rid of some compile warnings
11 years ago
Lioncash
3f00dd9117
arm: Clean up ARMul_State
Remove unnecessary/unused struct variables.
11 years ago
Lioncash
f44781fd7b
arm: Adios armemu
11 years ago
bunnei
72cc512b1e
Pica: Implement blend factors.
11 years ago
Lioncash
b6cfc48a0b
dyncom: clean up arm_dyncom_dec.h
11 years ago
Lioncash
fc1a9e35fb
arm: Move headers over to pragma once
11 years ago
Lioncash
83bc1a3120
arm: Get rid of armcpu.h and skyeye_types.h
11 years ago
Lioncash
904194c3e8
arm: Clean out armos.h and armmmu.h
11 years ago
Rohit Nirmal
5ebf35db96
Silence a few warnings.
11 years ago
Lioncash
09a66860e2
arm: Throw out a lot of unnecessary code
11 years ago
Lioncash
3dfef1701c
armdefs: Move some defines over to enums
11 years ago
Lioncash
96c174aed4
shared_memory: Fix assignments in SharedMemory::Map
11 years ago
Lioncash
0c4685ca12
loader: Add missing printf argument
11 years ago
Lioncash
551264f815
archive: Fix initializer list order for the File class.
11 years ago
Lioncash
0c53cc52bd
apt_u: Fix missing printf specifiers
11 years ago
Yuri Kunde Schlesner
d917a9bf77
Kernel: Mark all appropriate kernel objects as "final"
11 years ago
Yuri Kunde Schlesner
58b544db99
SVC: Use CASCADE_RESULT in SVC handlers
11 years ago
Yuri Kunde Schlesner
09ae6e1fa3
Remove result.h InvalidHandle
It was only being used in two places, where it was replaced by a local
constant.
11 years ago
Yuri Kunde Schlesner
44f90340dc
SVC: Change return type of handlers to ResultCode
11 years ago
Yuri Kunde Schlesner
d52d859936
Kernel: Convert Event to not use Handles
11 years ago
Yuri Kunde Schlesner
ad80ff1e32
Kernel: Convert Timer to (mostly) not use Handles
11 years ago
Yuri Kunde Schlesner
882b6fed75
Kernel: Convert Mutex to not use Handles
11 years ago