aboutsummaryrefslogtreecommitdiff
path: root/src/GPU3D.cpp
Commit message (Collapse)AuthorAge
* begin work on general timing renovation. way shitty because it behaves as if ↵StapleButter2018-12-04
| | | | caches were off, so everything will be slow as shit.
* oopsiesStapleButter2018-11-28
|
* add some missing shit to savestatesStapleButter2018-11-25
|
* fix regression in Marvel Nemesis. keep GX cycle counter from drifting ↵StapleButter2018-11-25
| | | | absurdly far in the negatives, and fix a few other issues.
* drain GX pipelines when there's nothing else running. fixes some weird bugs, ↵StapleButter2018-11-24
| | | | apparently.
* * fix possible issues with GXFIFO stallingStapleButter2018-11-24
| | | | | * rework GPU timings, now almost same as hardware. display lists generally execute faster. not finished. not bad for a start tho. * Rayman RR2 is still getting sound streaming issues. I don't think GXFIFO stalls are supposed to halt the ARM7. that doesn't make sense and would mess badly with sound since it's also using the ARM7 bus.
* add proper support for GXFIFO stalls.StapleButter2018-11-23
| | | | | | | | bad games that blast the GXFIFO and overflow it: * Super Mario 64 DS * Rayman RR2 latter seems to get its music streaming crapoed.
* * store all 32 matrix stack entries in savestates instead of 31.StapleButter2018-11-05
| | | | | * bump savestate version up. will break compatibility, but the alternative would be guessing the missing matrix entries somehow, so blarg. * avoid relocating the savefile if loading a savestate fails.
* 3D: fix0r matrix stack handling when stack pointers overflow (it fucking ↵StapleButter2018-11-05
| | | | | | wraps around). fixes #231 and probably others of the same vein.
* pass savefile name to NDS::LoadROM() instead of having the core generate it.StapleButter2018-10-23
|
* fix more shitStapleButter2018-10-23
|
* hopefully fix all 3D-related crashes when loading savestatesStapleButter2018-10-23
|
* rewrite how structures are stored to savestates (store individual fields, to ↵StapleButter2018-10-21
| | | | | | | | avoid compatibility issues) also fixes stability issues when 3D is involved. turns out we were storing raw pointers to vertices. figures more crapo code to get around that, but atleast it works without asploding now.
* GPU doneStapleButter2018-10-18
|
* fixor copyright years.StapleButter2018-09-15
|
* 3D: add support for 8bit accesses to GXSTAT (Golden Sun - Dark Dawn)StapleButter2017-11-04
|
* minor fixStapleButter2017-10-04
|
* 3D:StapleButter2017-08-28
| | | | | * more accurate polygon edges (still not perfect. heh) * antialiasing (doesn't always work)
* 3D: faster and more accurate interpolationStapleButter2017-08-17
|
* 3D: fix culling. fixes #86. watch out for any missing polygons elsewhere.StapleButter2017-07-24
|
* * FPS counter displays target framerateStapleButter2017-07-21
| | | | * fix potential hang and out-of-bounds drawing when VCount is modified during drawing
* 3D: fix Z calculation in Z-buffering mode (should use original W, not ↵StapleButter2017-07-14
| | | | normalized one). fixes horrendous Z-fighting in Pokémon games.
* apply the interpolation fix to Z interpolation.StapleButter2017-07-14
| | | | | | more accurate conversion of Z values. but this doesn't fix the horrendous Z-fighting in Pokémon B/W because of course it doesn't >_<
* * actually fix linear interpolation when y0>y1StapleButter2017-07-13
| | | | * change the backfacing attribute bit, so that it doesn't mess with edgemarking
* normalize W values in both directions (0123-0157 -> 1230-1570)StapleButter2017-07-06
|
* 3D:StapleButter2017-07-06
| | | | | * undo 'winding sorting' hypothesis * special depth test rules: 'less than' function becomes 'less or equal' when rendering front-facing polygon pixels against back-facing opaque pixels
* 3D: opaque polygons are sorted by winding orderStapleButter2017-07-06
| | | | the Sands of Destruction character menu relies on this, it mixes and matches polygon windings to thwart Y-sorting
* 3D: Y-sortingStapleButter2017-07-05
|
* 3D: move opaque/translucent sorting to GPU3D.cppStapleButter2017-07-05
|
* 3D: change viewport handling to match hardware. finally fixes #18StapleButter2017-07-04
|
* 3D: fix boxtest coord overflow. fixes #57StapleButter2017-06-29
|
* fix rendering for crapoed 'butterfly' polygonsStapleButter2017-06-28
|
* 3D: fix missing term in MatrixTranslate(). fixes Monster Trucks billboards.StapleButter2017-06-27
|
* initialize clearZ to 0x7FFF. fixes #38StapleButter2017-06-26
|
* clean up some shit. make framebuffer access less weird.StapleButter2017-06-03
|
* rework slope/edge code. lay groundwork for antialiasing.StapleButter2017-05-28
|
* fogStapleButter2017-05-26
|
* fix crapoed shadowsStapleButter2017-05-26
|
* first attempt at threading the 3D rendererStapleButter2017-05-23
|
* latch 3D registers upon VBlankStapleButter2017-05-09
| | | | (fixes the last bugs in Gericom's train game)
* misc. thingsStapleButter2017-05-09
|
* fix lighting behavior with normals that overflowStapleButter2017-05-03
|
* 3D: attempt at fixing culling. players in Madden are no longer full of ↵StapleButter2017-05-03
| | | | holes, and that also fixes occasional missing polygons in RaymanDS, and probably others.
* fix Z-buffering. not really clean, and not perfectly accurate.StapleButter2017-04-29
|
* fix texcoord-from-vertex mode. it works like for normals (1.0 = 1/16 texel)StapleButter2017-04-28
|
* misc optimizationsStapleButter2017-04-25
|
* a few attempts at optimizationStapleButter2017-04-23
|
* fix display capture. dumb bug of the year.StapleButter2017-04-23
|
* attempt at shadows. they're still a bit weird tho.StapleButter2017-04-22
|
* optimize the 3D renderer somewhatStapleButter2017-04-21
|