summaryrefslogtreecommitdiffstats
path: root/src/core/core_cpu.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1043 from Subv/timingbunnei2018-08-131-0/+1
|\ | | | | Use an approximated amortized amount of ticks when advancing timing.
| * CPU/Timing: Use an approximated amortized amount of ticks when advancing timing.Subv2018-08-131-0/+1
| | | | | | | | | | | | | | | | We divide the number of ticks to add by the number of cores (4) to obtain a more or less rough estimate of the actual number of ticks added. This assumes that all 4 cores are doing similar work. Previously we were adding ~4 times the number of ticks, thus making the games think that time was going way too fast. This lets us bypass certain hangs in some games like Breath of the Wild. We should modify our CoreTiming to support multiple cores (both running in a single thread, and in multiple host threads).
* | CPU/HLE: Lock the HLE mutex before performing a reschedule.Subv2018-08-131-0/+3
|/ | | | Another thread might be in the middle of an SVC, thus altering the state of the schedulers.
* kernel: Move object class to its own source filesLioncash2018-08-021-1/+0
| | | | | | General moving to keep kernel object types separate from the direct kernel code. Also essentially a preliminary cleanup before eliminating global kernel state in the kernel code.
* Implement exclusive monitorMerryMage2018-07-221-3/+16
|
* Rename logging macro back to LOG_*James Rowe2018-07-031-2/+2
|
* core: Add a configuration setting for use_multi_core.bunnei2018-05-111-3/+8
|
* core: Support session close with multicore.bunnei2018-05-111-1/+28
|
* core: Implement multicore support.bunnei2018-05-111-1/+1
|
* core: Create a thread for each CPU core, keep in lock-step with a barrier.bunnei2018-05-111-5/+20
|
* core: Move common CPU core things to its own class.bunnei2018-05-111-0/+72