Commit Graph

2106 Commits (11bd6024fb2d09b11df3ef12f7188a5b3be5c577)
 

Author SHA1 Message Date
bunnei 2a5654ea8a Merge pull request #496 from lioncash/warn
dyncom: Clarify precedence for ternary statements
10 years ago
Lioncash 8c6edc680c dyncom: Clarify precedence for ternary statements 10 years ago
bunnei 004b23153b Merge pull request #494 from lioncash/shift
dyncom: Implement missing shifts in ScaledRegisterPostIndexed, etc
10 years ago
Yuri Kunde Schlesner 8c39324333 CMake: Inform the user when architecture auto-detection fails 10 years ago
Chin fa8e6272c8 Cleanup: Logging in Core 10 years ago
Lioncash a873f157d0 dyncom: Implement missing shifts in ScaledRegisterPostIndexed, etc 10 years ago
bunnei be8f665142 Merge pull request #383 from zhuowei/shared_page
Add some support for the shared page
10 years ago
archshift 4d316cbd8e Expose GetSharedFont and NotifyToWait to APT:A and APT:S respectively 10 years ago
bunnei 1cb31f4f06 Merge pull request #489 from lioncash/strt
dyncom: Handle the ARM A2 encoding of STRT/LDRT
10 years ago
Lioncash 8575010a68 dyncom: Handle the ARM A2 encoding of STRT/LDRT
These were also missing the shifted register case.
10 years ago
bunnei 14308a88a7 Merge pull request #488 from lioncash/strbt
dyncom: Handle the ARM A2 encoding of LDRBT/STRBT.
10 years ago
Lioncash 0a5d450e94 dyncom: Handle the ARM A2 encoding of LDRBT/STRBT. 10 years ago
Zhuowei Zhang edb8450420 Add some support for the shared page (currently 3d slider is implemented) 10 years ago
bunnei 2572a62480 APT: Fix typo in setting return code for NotifyToWait 10 years ago
bunnei 350c5a7e32 DSP: Removed useless spam log for SignalInterrupt 10 years ago
bunnei 4b47ed6194 Merge pull request #482 from yuriks/fix-vblank
Correctness fixes for GPU flipping and interrupts
10 years ago
Emmanuel Gil Peyrot df0d66c7cf Loader: Clean up the ELF AppLoader. 10 years ago
Emmanuel Gil Peyrot 84e52a944d Loader: Clean up the 3DSX AppLoader. 10 years ago
Emmanuel Gil Peyrot 08aaa33500 Loader: Clean up the NCCH AppLoader. 10 years ago
Emmanuel Gil Peyrot 2c24e539a2 Loader: Display the type of the file being loaded. 10 years ago
Emmanuel Gil Peyrot 82ec17db7d Loader: Guess filetype from the magic, or fallback to the extension. 10 years ago
Emmanuel Gil Peyrot 04622a859c Loader: Don’t assume the file hasn’t been read before. 10 years ago
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
Yuri Kunde Schlesner 555c82739e CMake: Fix wrong filename in message 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