Commit Graph

2569 Commits (1be1ff23a9f6587d0867c11093d153e16f4b650c)
 

Author SHA1 Message Date
Yuri Kunde Schlesner c8eae338a8 Common: Use the log system to print assert messages 10 years ago
Yuri Kunde Schlesner b88c91dd3d Common: Remove async logging
It provided a large increase in complexity of the logging system while
having a negligible performance impact: the usage patterns of the ring
buffer meant that each log contended with the logging thread, causing
it to effectively act as a synchronous extra buffering.

Also removed some broken code related to filtering of subclasses which
was broken since it was introduced. (Which means no one ever used that
feature anyway, since, 8 months later, no one ever complained.)
10 years ago
bunnei cb2b2071a8 Merge pull request #748 from Subv/tls_max
Core/Memory: Add TLS support for creating up to 300 threads
10 years ago
bunnei ee8da4c356 Merge pull request #751 from yuriks/idle-thread
Thread: Remove the idle thread
10 years ago
bunnei 6e26d063a5 Merge pull request #757 from Subv/scheduling
Core/Scheduling: Prepare the new priority in the thread queue when svcSetPriority is called
10 years ago
bunnei 6223496a49 Merge pull request #752 from lioncash/flush
vfp: Handle flush-to-zero mode.
10 years ago
bunnei d22bc68175 Merge pull request #755 from lioncash/mcrr-mrrc
dyncom: Stub MCRR and MRRC
10 years ago
Yuri Kunde Schlesner 4f7a055081 Thread: Remove the idle thread
Instead just use nullptr to represent no thread is active.
10 years ago
Subv dda94e56dd Core/Memory: Add TLS support for creating up to 300 threads 10 years ago
Yuri Kunde Schlesner 820b97787c Merge pull request #750 from Subv/process_svc
Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
10 years ago
Subv dbc1320923 Core/Scheduling: Prepare the new priority in the thread queue when svcSetPriority is called 10 years ago
purpasmart96 53130fffd9 PTM: Changed the way the ptm services are handled to be like the
IR, HID, and APT services.
10 years ago
Subv 25c010dc7d fixup! 10 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.
10 years ago
archshift a08bb13e8b Merge pull request #754 from purpasmart96/nwm_typo_fix
NWM_UDS: Fix a typo in the nwm service port name
10 years ago
purpasmart96 046044618d NWM_UDS: Fix a typo in the nwm service port name 10 years ago
Lioncash ffc51161f3 vfp: Handle flush-to-zero mode. 10 years ago
bunnei 10eb8b0c02 Merge pull request #749 from yuriks/stack-top
Thread: Correctly set main thread initial stack position
10 years ago
Subv 41f74a16fd Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread 10 years ago
Tony Wasserka 244ba1a610 Merge pull request #742 from archshift/i4
Implement I4 texture format
10 years ago
Yuri Kunde Schlesner d16c2bd956 Thread: Correctly set main thread initial stack position 10 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.
10 years ago
archshift e98fbadf4a Merge pull request #740 from yuriks/gsp-shmem
Fix crashes due to un-initialized GSP shared memory
10 years ago
Lioncash 2a19de1d09 Merge pull request #741 from Subv/tls
Give each emulated thread it's own TLS memory
10 years ago
Subv 115ad8e16a fixup! Set the TLS address in the scheduler 10 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.
10 years ago
Yuri Kunde Schlesner fd85367621 fixup! GSP: Small tweaks to shared memory initialization 10 years ago
Yuri Kunde Schlesner 1538a34eda GSP: Small tweaks to shared memory initialization 10 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.
10 years ago
Yuri Kunde Schlesner c96f22490a Kernel: Capture SharedMemory attributes at creation, not when mapping 10 years ago
bunnei ba0bfe7d82 Merge pull request #726 from bunnei/gpu-improvements
GPU improvements
10 years ago
bunnei 23e8be573e rasterizer: Implemented combiner output scaling. 10 years ago
bunnei ff767eeb40 rasterizer: Implemented AddSigned combiner op. 10 years ago
bunnei 547da374b8 rasterizer: Fixed a depth testing bug. 10 years ago
bunnei a806b420a6 rasterizer: Implement combiner buffer input. 10 years ago
bunnei 44927f0306 rasterizer: Return zero'd vectors on error conditions. 10 years ago
bunnei 692a74c09e vertex_shader: Implement FLR instruction. 10 years ago
bunnei f935130a0f vertex_shader: Implement MADI instruction.
nihstro: Update submodule to latest upstream/master to support MADI instruction decoding.
10 years ago
Lioncash 088f6ae2c6 Merge pull request #736 from yuriks/remove-BIT
Common: Remove the BIT macro
10 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.
10 years ago
Tony Wasserka e35e72d0a5 Merge pull request #734 from yuriks/memmap
Small memory map definitions cleanup
10 years ago
Yuri Kunde Schlesner 417c867e14 Loader: Add missing include 10 years ago
Yuri Kunde Schlesner 17a8cae003 Memory: Add GetPhysicalPointer helper function 10 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.
10 years ago
Yuri Kunde Schlesner e7b6ed7578 Memory: Sort memory region variables by VAddr 10 years ago
Yuri Kunde Schlesner 1c0b87edc2 Memory: Re-organize and rename memory area address constants 10 years ago
Lioncash cb92817fb0 Merge pull request #733 from yuriks/remove-bin
Loader: Remove .bin file support
10 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.
10 years ago
bunnei 917ac23dfc Merge pull request #731 from yuriks/app-info
Kernel: Process class and ExHeader caps parsing
10 years ago
Yuri Kunde Schlesner 7c50b999fa Kernel: Remove unused g_main_thread variable 10 years ago