Yuri Kunde Schlesner
def5913d19
GPU: Add more fine grained profiling for vertex shader and rasterization
11 years ago
Yuri Kunde Schlesner
4f7a055081
Thread: Remove the idle thread
Instead just use nullptr to represent no thread is active.
11 years ago
Subv
dda94e56dd
Core/Memory: Add TLS support for creating up to 300 threads
11 years ago
Subv
dbc1320923
Core/Scheduling: Prepare the new priority in the thread queue when svcSetPriority is called
11 years ago
purpasmart96
53130fffd9
PTM: Changed the way the ptm services are handled to be like the
IR, HID, and APT services.
11 years ago
Subv
25c010dc7d
fixup!
11 years ago
Lioncash
dc7ac751f2
dyncom: Stub MCRR and MRRC
There's no other coprocessor outside the VFP (which has its own VMOV variants) in which the MPCore can send/retrieve data from.
Stubbed so citra won't crash and burn on the odd chance someone actually tries to use these.
11 years ago
purpasmart96
046044618d
NWM_UDS: Fix a typo in the nwm service port name
11 years ago
Lioncash
ffc51161f3
vfp: Handle flush-to-zero mode.
11 years ago
Subv
41f74a16fd
Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
11 years ago
Yuri Kunde Schlesner
d16c2bd956
Thread: Correctly set main thread initial stack position
11 years ago
archshift
40310e2132
Implement I4 texture format
@neobrain , could you confirm that this is correct?
It's been tested with various different games and fixes different textures, including in Animal Crossing, Kirby Triple Deluxe, and SMB3D.
11 years ago
Subv
115ad8e16a
fixup! Set the TLS address in the scheduler
11 years ago
Subv
000876858d
Core/Memory: Give every emulated thread it's own TLS area.
The TLS area for thread T with id Ti is located at TLS_AREA_VADDR + (Ti - 1) * 0x200.
This allows some games like Mario Kart 7 to continue further.
11 years ago
Yuri Kunde Schlesner
fd85367621
fixup! GSP: Small tweaks to shared memory initialization
11 years ago
Yuri Kunde Schlesner
1538a34eda
GSP: Small tweaks to shared memory initialization
11 years ago
Yuri Kunde Schlesner
774eea8374
Kernel: Zero-fill shared memory blocks when mapping
This works around crashes related to GSP/HID/etc. shared memory blocks
having garbage values. The proper fix requires proper management of
mapped memory blocks in the process.
11 years ago
Yuri Kunde Schlesner
c96f22490a
Kernel: Capture SharedMemory attributes at creation, not when mapping
11 years ago
bunnei
23e8be573e
rasterizer: Implemented combiner output scaling.
11 years ago
bunnei
ff767eeb40
rasterizer: Implemented AddSigned combiner op.
11 years ago
bunnei
547da374b8
rasterizer: Fixed a depth testing bug.
11 years ago
bunnei
a806b420a6
rasterizer: Implement combiner buffer input.
11 years ago
bunnei
44927f0306
rasterizer: Return zero'd vectors on error conditions.
11 years ago
bunnei
692a74c09e
vertex_shader: Implement FLR instruction.
11 years ago
bunnei
f935130a0f
vertex_shader: Implement MADI instruction.
nihstro: Update submodule to latest upstream/master to support MADI instruction decoding.
11 years ago
Yuri Kunde Schlesner
b700b55696
Common: Remove the BIT macro
When the macro was introduced in 326ec51261
it wasn't noticed that it conflicted in name with a heavily used macro
inside of dyncom. This causes some compiler warnings. Since it's only
lightly used, it was opted to simply remove the new macro.
11 years ago
Yuri Kunde Schlesner
417c867e14
Loader: Add missing include
11 years ago
Yuri Kunde Schlesner
17a8cae003
Memory: Add GetPhysicalPointer helper function
11 years ago
Yuri Kunde Schlesner
28a9e4c1d5
Memory: Support more regions in the VAddr-PAddr translation functions
Also adds better documentation and removes the one-off reimplementation
of the function in pica.h.
11 years ago
Yuri Kunde Schlesner
e7b6ed7578
Memory: Sort memory region variables by VAddr
11 years ago
Yuri Kunde Schlesner
1c0b87edc2
Memory: Re-organize and rename memory area address constants
11 years ago
Yuri Kunde Schlesner
eb3eb9f75d
Loader: Remove .bin file support
It is of very limited practical utility currently, and will soon be
impossible to support due to more accurate memory map emulation.
11 years ago
Yuri Kunde Schlesner
7c50b999fa
Kernel: Remove unused g_main_thread variable
11 years ago
Yuri Kunde Schlesner
3cb19c9589
Process: Rename StaticAddressMapping => AddressMapping
11 years ago
Yuri Kunde Schlesner
83ccf85bb2
Process: Add more documentation to the class members
11 years ago
Yuri Kunde Schlesner
2f5904611d
Process: Use BitField to store process flags
11 years ago
Yuri Kunde Schlesner
7eb413155f
Loader/NCCH: Fix formatting of braces
11 years ago
Yuri Kunde Schlesner
2af30d465f
Process: Support parsing of exheader kernel caps
11 years ago
Yuri Kunde Schlesner
326ec51261
Common: Add BIT macro
11 years ago
Yuri Kunde Schlesner
a5eba2f984
Kernel: Remove g_program_id
This has been obsoleted by the field in Process.
11 years ago
Yuri Kunde Schlesner
6d60acf0f1
Kernel: Introduce skeleton Process class to hold process data
11 years ago
Yuri Kunde Schlesner
8809d02db3
Common: Add StringFromFixedZeroTerminatedBuffer
11 years ago
Yuri Kunde Schlesner
0f39cc359b
Core: Fix sorting in CMakeFiles.txt
11 years ago
Lioncash
ae0c38a333
Remove unnecessary dyncom header files
11 years ago
Lioncash
31dc8b8890
dyncom: Remove an unnecessary variable in the interpreter
All this was doing was needlessly aliasing a variable.
11 years ago
Yuri Kunde Schlesner
ed12b08e7a
Profiler: Fix off-by-one error when computing average.
11 years ago
Yuri Kunde Schlesner
3396f352cb
Common: Remove mem_arena.cpp/h
It is superfluous for Citra. (It's only really necessary if you're doing
JIT. We were using it but not taking any advantage from it.) This should
make 32-bit builds work again.
11 years ago
Yuri Kunde Schlesner
d9df5b575a
Common: Remove hash.cpp/h
Currently unused and the code quality is pretty questionable.
11 years ago
Yuri Kunde Schlesner
fae5933ad6
Common: Add proper macros to test for architecture pointer size
The old system of just defining macros available in some other platform
was susceptible to silently using the wrong code if you forgot to
include a particular header. This fixes a crash on non-Windows platforms
introduced by e1fbac3ca1 .
11 years ago
Lioncash
9adad45b0f
string_util: Get rid of UriDecode/UriEncode
11 years ago