Commit Graph

2265 Commits (832c130ed1c55c00b667651df0a6e6baa4e499c0)
 

Author SHA1 Message Date
Lioncash 832c130ed1 dyncom: Fix decoding of BKPT's immediate
A shift here is intended since the representation is imm12:imm4
bunnei 7d21b0663b Merge pull request from purpasmart96/ptm_service_changes
PTM: Changed the ptm services  to be like the IR, HID, and APT services.
Yuri Kunde Schlesner 9d8e1f7a92 Merge pull request from yuriks/gpu-profile
GPU: add more fine grained profiling for vertex shader and rasterization
Yuri Kunde Schlesner def5913d19 GPU: Add more fine grained profiling for vertex shader and rasterization
bunnei cb2b2071a8 Merge pull request from Subv/tls_max
Core/Memory: Add TLS support for creating up to 300 threads
bunnei ee8da4c356 Merge pull request from yuriks/idle-thread
Thread: Remove the idle thread
bunnei 6e26d063a5 Merge pull request from Subv/scheduling
Core/Scheduling: Prepare the new priority in the thread queue when svcSetPriority is called
bunnei 6223496a49 Merge pull request from lioncash/flush
vfp: Handle flush-to-zero mode.
bunnei d22bc68175 Merge pull request from lioncash/mcrr-mrrc
dyncom: Stub MCRR and MRRC
Yuri Kunde Schlesner 4f7a055081 Thread: Remove the idle thread
Instead just use nullptr to represent no thread is active.
Subv dda94e56dd Core/Memory: Add TLS support for creating up to 300 threads
Yuri Kunde Schlesner 820b97787c Merge pull request from Subv/process_svc
Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
Subv dbc1320923 Core/Scheduling: Prepare the new priority in the thread queue when svcSetPriority is called
purpasmart96 53130fffd9 PTM: Changed the way the ptm services are handled to be like the
IR, HID, and APT services.
Subv 25c010dc7d fixup!
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.
archshift a08bb13e8b Merge pull request from purpasmart96/nwm_typo_fix
NWM_UDS: Fix a typo in the nwm service port name
purpasmart96 046044618d NWM_UDS: Fix a typo in the nwm service port name
Lioncash ffc51161f3 vfp: Handle flush-to-zero mode.
bunnei 10eb8b0c02 Merge pull request from yuriks/stack-top
Thread: Correctly set main thread initial stack position
Subv 41f74a16fd Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
Tony Wasserka 244ba1a610 Merge pull request from archshift/i4
Implement I4 texture format
Yuri Kunde Schlesner d16c2bd956 Thread: Correctly set main thread initial stack position
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.
archshift e98fbadf4a Merge pull request from yuriks/gsp-shmem
Fix crashes due to un-initialized GSP shared memory
Lioncash 2a19de1d09 Merge pull request from Subv/tls
Give each emulated thread it's own TLS memory
Subv 115ad8e16a fixup! Set the TLS address in the scheduler
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.
Yuri Kunde Schlesner fd85367621 fixup! GSP: Small tweaks to shared memory initialization
Yuri Kunde Schlesner 1538a34eda GSP: Small tweaks to shared memory initialization
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.
Yuri Kunde Schlesner c96f22490a Kernel: Capture SharedMemory attributes at creation, not when mapping
bunnei ba0bfe7d82 Merge pull request from bunnei/gpu-improvements
GPU improvements
bunnei 23e8be573e rasterizer: Implemented combiner output scaling.
bunnei ff767eeb40 rasterizer: Implemented AddSigned combiner op.
bunnei 547da374b8 rasterizer: Fixed a depth testing bug.
bunnei a806b420a6 rasterizer: Implement combiner buffer input.
bunnei 44927f0306 rasterizer: Return zero'd vectors on error conditions.
bunnei 692a74c09e vertex_shader: Implement FLR instruction.
bunnei f935130a0f vertex_shader: Implement MADI instruction.
nihstro: Update submodule to latest upstream/master to support MADI instruction decoding.
Lioncash 088f6ae2c6 Merge pull request from yuriks/remove-BIT
Common: Remove the BIT macro
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.
Tony Wasserka e35e72d0a5 Merge pull request from yuriks/memmap
Small memory map definitions cleanup
Yuri Kunde Schlesner 417c867e14 Loader: Add missing include
Yuri Kunde Schlesner 17a8cae003 Memory: Add GetPhysicalPointer helper function
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.
Yuri Kunde Schlesner e7b6ed7578 Memory: Sort memory region variables by VAddr
Yuri Kunde Schlesner 1c0b87edc2 Memory: Re-organize and rename memory area address constants
Lioncash cb92817fb0 Merge pull request from yuriks/remove-bin
Loader: Remove .bin file support
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.