Commit Graph

1733 Commits (ad80ff1e322430634e04ffcb39ffef268411ea6b)
 

Author SHA1 Message Date
Emmanuel Gil Peyrot b5237e885d Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times. 10 years ago
Emmanuel Gil Peyrot 2d63df90a9 Loader: Initialize the default NCCH values in the class declaration, not in the constructor. 10 years ago
Emmanuel Gil Peyrot 9d3bb8b7c0 Loader: Remove the useless THREEDSXReader class. 10 years ago
Emmanuel Gil Peyrot 85030c6e6b Loader: Never forget to change is_loaded. 10 years ago
Emmanuel Gil Peyrot 43e699d849 Loader: Don’t duplicate the docstring into the cpp file. 10 years ago
Emmanuel Gil Peyrot bc2212106f Loader: Fix indentation, whitespace, and a few other such cosmetic stuff. 10 years ago
bunnei 3ff5a80d46 Merge pull request #481 from Subv/hm_b
APTU: Stubbed NotifyToWait, taken from 3dmoo.
10 years ago
Sebastian Valle fd1b600e05 APT: Fixed the comment style in some variables 10 years ago
bunnei 394d44cf74 Merge pull request #480 from Subv/arb_2
AddrArbiter: Implement arbitration types 3 and 4.
10 years ago
Yuri Kunde Schlesner a09f71521e GPU: Fix buffer overrun in Display Transfers
Display transfers with the horizontal downscaling flag were calculating
the wrong output size, causing them to write double the amount of data
intended. It is likely that this was perceived as correct due to a
separate bug in calculating source indices which caused the image to be
padded unless the previous bug was present.

This fixes both issues, correcting flickering issues in 3dscraft,
blargSnes and more (caused by the transfer overwriting the back buffer
which followed) as well as potentially fixing other crashes.
10 years ago
Yuri Kunde Schlesner 7630b31672 GSP: Fix appending of interrupts to the shared memory buffer
The code was previously appending the interrupt to after the end of the
buffer, instead of at the end.
10 years ago
Yuri Kunde Schlesner 9e084826b8 GPU: Do periodic VBlank updates using CoreTiming 10 years ago
Yuri Kunde Schlesner e29dd76e12 GPU: Correct wrong default framebuffer address for sub-screen.
It appears this is a mistake, since the sub-screen has no right
framebuffer.
10 years ago
Yuri Kunde Schlesner 5961a2852d GSP: Update framebuffer info on all interrupts
Hardware testing determined that the GSP processes shared memory
framebuffer update info even when no memory transfer or filling GX
commands are used. They are now updated on every interrupt, which isn't
confirmed correct but matches hardware behaviour more closely.

This also reverts the hack introduced in #404. It made a few games
behave better, but I believe it's incorrect and also breaks other games.
10 years ago
Yuri Kunde Schlesner 98e3274935 GPU: Fire GPU interrupts at the correct places.
PDC0 and PDC1 are both VBlank interrupts. PDC0 was being treated as a
HBlank interrupt and fired many more times than it should. They now both
fire together at 60 Hz. This puzzlingly *improves* apparent framerate on
many applications.

A few other interrupts were being fired inside the GSP command
processing instead of on the actual GPU register writes, so they were
moved there, which should cover direct writes tho those registers not
going through the GX command queue.
10 years ago
Subv 728c932dba APTU: Stubbed NotifyToWait, taken from 3dmoo.
Also renamed some handles in the APT:U service to be more descriptive.
Fixed a typo in InquireNotification
10 years ago
bunnei 93f36c49f7 Merge pull request #473 from archshift/pp3ports
Pica/Rasterizer: Add ETC1 texture decompression support.
10 years ago
Tony Wasserka f2b74b4fb3 Pica/Rasterizer: Add ETC1 texture decompression support. 10 years ago
bunnei 7bbd027660 Merge pull request #479 from Subv/hm
Services: Added some missing services.
10 years ago
Subv 9e2ae289b8 AddrArbiter: Implement arbitration types 3 and 4. 10 years ago
Subv cf071cd897 Services: Added some missing services.
cfg:s, ptm:sysm, apt:s.
apt:s is almost exactly the same as apt:u as per 3dbrew
10 years ago
bunnei 682e6bc8d9 Merge pull request #477 from lioncash/vfp
vfp: Remove dead code
10 years ago
bunnei 99c0716d4d Merge pull request #478 from archshift/pp3ports4
Pica/VertexShader: Implement the MAD instruction.
10 years ago
bunnei 65c12d2430 Merge pull request #470 from archshift/master
Pica/VertexShader: Implement JMPC/JMPU/CALLC/CALLU.
10 years ago
Tony Wasserka 2b9a9a45b7 Pica/VertexShader: Implement JMPC/JMPU/CALLC/CALLU. 10 years ago
Tony Wasserka e02db3904b Pica/VertexShader: Implement the MAD instruction. 10 years ago
Lioncash 9288893d29 vfp: Remove dead code 10 years ago
bunnei 86e8ff85c9 Merge pull request #476 from lioncash/asr
dyncom: Fix 32-bit ASR shifts for immediates
10 years ago
Lioncash f7770b83d4 dyncom: Fix 32-bit ASR shifts for immediates 10 years ago
bunnei ac05c4acb0 Merge pull request #475 from lioncash/cleanup
dyncom: Remove unused flag macros
10 years ago
Lioncash e16b35eb53 dyncom: Remove unused flag macros 10 years ago
bunnei 3683369500 Merge pull request #461 from archshift/callstack
Qt Callstack: Clear the callstack every time it's updated
10 years ago
bunnei f3a7b66267 Merge pull request #472 from lioncash/overflow
dyncom: Fix some more V-flag setting ops. Plus some cleanup.
10 years ago
Lioncash 2843d1b98b dyncom: Get rid of unnecessary outer-scope variables in InterpreterMainLoop 10 years ago
Lioncash 3ace75a49f dyncom: Fix overflow flag setting for ADD/RSB/RSC/SUB/SBC
Also cleans up CMN, and CMP.
10 years ago
archshift d670b7e522 Qt Callstack: Clear the callstack every time it's updated
This fixes the issue that old members of the callstack would stick around, even when the callstack shortened.
10 years ago
bunnei 2f7069f9bd Merge pull request #452 from darkf/mingwagain
Fix MinGW build, again
10 years ago
Lioncash 9c2c89b7e1 dyncom: Add a helper function for addition with a carry 10 years ago
darkf 67c644e317 Fix building on MinGW 10 years ago
bunnei eacc2a501b Merge pull request #468 from lioncash/adc
dyncom: Fix ADC overflow flag setting
10 years ago
bunnei 03080ee3f6 Added AppVeyor build status 10 years ago
Lioncash d2a05bbbc6 dyncom: Fix ADC overflow flag setting 10 years ago
bunnei b33380ca59 Merge pull request #456 from Subv/waitsync1
SVC: Wake up the thread after the delay in WaitSync1
10 years ago
bunnei 1da04a72a2 Merge pull request #467 from lioncash/msr
dyncom: Fix conditional execution of MSR
10 years ago
Lioncash eabfa5cf43 dyncom: Fix conditional execution of MSR 10 years ago
Tony Wasserka f1080de47d Merge pull request #437 from Kingcom/DebugMode
Replace OnCpuStepped signal
10 years ago
Kingcom 2bbc12e6c3 citra-qt: Replace OnCpuStepped signal by new signals DebugModeEntered and DebugModeLeft 10 years ago
bunnei b42386413f Merge pull request #465 from chinhodado/appveyor
Add appveyor.yml for AppVeyor support
10 years ago
bunnei 542b0b0057 Merge pull request #466 from Subv/wake
Thread: Prevent waking a thread multiple times.
10 years ago
chinhodado 8437aff16b AppVeyor: Use shallow clone 10 years ago