1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
Commit Graph

1647 Commits

Author SHA1 Message Date
SigmaVirus
66e1066220 Change version from 5 to 7
This should make things up to date!
2016-04-07 21:42:33 +06:00
Sergey Lipskiy
8f276c0d48 Convert filtered textures back to original format only when 'force 16bpp textures' option is enabled. 2016-04-07 17:46:32 +06:00
Sergey Lipskiy
01248259c0 Fix TxQuantize::ARGB8888_ARGB4444
Minor code cleanup.
2016-04-07 17:44:59 +06:00
Sergey Lipskiy
3929160411 Fix crash of 64bit build of GLideNHQ. 2016-04-07 15:09:38 +06:00
Sergey Lipskiy
97add30099 Disable FBInfo for mupen64plus by default due to poor support of that feature by mupen64plus. 2016-04-07 14:48:28 +06:00
Sergey Lipskiy
fcf7c051a2 PostProcessor: do not copy original texture if AA is off. 2016-04-02 18:58:31 +06:00
Sergey Lipskiy
427806ac23 Rewrite PostProcessor: do not modify original buffer, use special frame buffer instead.
Fixed dual heroes: incorrect colors in menu #926
2016-04-02 18:56:07 +06:00
Sergey Lipskiy
82896399fa Set G_SHADE geometry mode for ZSort ucode.
Fixed mia soccer: missing 2d and black 3d gfx (regression) #947
2016-04-02 15:58:45 +06:00
Sergey Lipskiy
046493e7d3 Revert "remove Lego racers hack"
This reverts commit ca6d6c720f.

Fixed lego racers: map doesn't appear anymore (regression) #935
2016-04-02 14:16:50 +06:00
Sergey Lipskiy
6d29070c57 gDPFillRectangle: set gDP.colorImage.height only when lrx == gDP.colorImage.width 2016-04-02 13:59:04 +06:00
Sergey Lipskiy
1db0c7a75e Fixed bug in gDPFillRectangle, caused by commit bcde07a978 2016-04-02 13:56:43 +06:00
Sergey Lipskiy
d69f722539 Fix Mario Tennis scoreboard. 2016-04-02 12:53:06 +06:00
Sergey Lipskiy
a4e5d58459 Fix scissor for post-processor.
Fixed buck bumble: bars on top and bottom of the screen (regression) #919
2016-03-31 17:52:01 +06:00
Sergey Lipskiy
91b48c9acd Fix byte order in TxQuantize::ARGB4444_ARGB8888
Fixed Some dumped textures have red and alpha channel swapped #886
2016-03-30 23:19:19 +06:00
Sergey Lipskiy
80d791296c Fix RSP.nextCmd calculation.
Fixed Cruis'n Exotica: heavy gfx errors #163
2016-03-30 14:53:55 +06:00
Sergey Lipskiy
ce5bf25ccf Correct alpha test shader.
Fixed Excite bike64: missing:white texture (regression) #949
2016-03-30 00:11:18 +06:00
Sergey Lipskiy
bea7adf4b3 Add a hack for Jeremy McGrath Supercross 2000 jauge line, see #274
Fixed issue #942
2016-03-29 22:21:52 +06:00
Sergey Lipskiy
8673e9382c Correct gSPModifyVertex for POINT_XYSCREEN.
Fixed tarzan: gfx are completely wrong (regression) #939
2016-03-28 22:02:12 +06:00
Sergey Lipskiy
38bc2145d2 Do not set MODIFY_ST in gSPModifyVertex.
Fixed South Park - Chef's Luv Shack: incorrect gfx (regression) #942
2016-03-27 10:38:11 +06:00
Sergey Lipskiy
06c99ad30f Rewrite LoadBlock. 2016-03-26 21:14:42 +06:00
Sergey Lipskiy
f3677db0a7 Fix copy to RDRAM for native resolution factors above 1.
Fixed Broken monitor in MK64 #929
2016-03-24 17:50:51 +06:00
Sergey Lipskiy
85101a5d67 Yet another fix for gDPLoadBlock line calculation.
Fixed  pilotwings: text issues (regression) #927
2016-03-24 10:33:40 +06:00
Jools Wills
dc23dc6be7 don't write to the logfile if it doesn't open correctly (eg permissions) #930 2016-03-24 09:27:09 +06:00
Sergey Lipskiy
d1129ffa36 Fix texture coordinates calculation in GLES2 vertex shader 2016-03-24 09:24:53 +06:00
Sergey Lipskiy
8d3e6ef2f9 Revert "Reset TLUT mode to NONE after each frame."
This reverts commit 6108b13eab.

Fixed CI textures load in Quake 64
2016-03-23 23:07:06 +06:00
Sergey Lipskiy
7875b6057f Detect microcodes, where texture perspective correction is always enabled.
Fixed Quake 64 HLE incorrect particles. #637
2016-03-23 22:15:19 +06:00
Sergey Lipskiy
cc5dc009d8 Use current TLUT mode in texture CRC.
Hopefully fixed quake 2: wrong colors on corpses #328
2016-03-23 21:14:21 +06:00
Sergey Lipskiy
8488ebccd2 Fix texture coordinates calculation in vertex shader when TexturePersp disabled.
Fixed Rogue Squadron Sky is broken [regression] #924
2016-03-23 10:22:25 +06:00
Sergey Lipskiy
0fb603dd29 Clear gSP.status on dlist start.
Fixed gSPObjLoadTxtr for StarCraft64, #472
2016-03-22 21:59:30 +06:00
Sergey Lipskiy
5fc82399bc Save correct ConfigOptionsBitSet to shader storage header.
Fix Enabling HW Lightning with Shader Storage enabled breaks lightning #922
2016-03-22 20:51:08 +06:00
Sergey Lipskiy
d8f8f587cf Fix texture clamp size calculation during texture load.
Fixed Knife Edge: wrong texts #846
Warning: texture load changed, regressions possible.
2016-03-22 20:51:00 +06:00
Sergey Lipskiy
f0b76aeb3e Fix custom windowed mode, issue #917 2016-03-21 21:11:32 +06:00
Sergey Lipskiy
cf8d597458 Correct hack for Blast Corps.
Fixed Blast Corps background missing #418
2016-03-20 19:48:51 +06:00
Sergey Lipskiy
a5e7bc56cd Add blend mode for Bomberman 64: the Second Attack
Fixed issue #544
2016-03-20 19:33:37 +06:00
Sergey Lipskiy
3c675b1cfb Do not draw Sprite2D when sprite->stride <= 0.
Fixed crash in Super Robot Spirits: Crash rankings option in HLE. #909
2016-03-20 17:43:12 +06:00
Sergey Lipskiy
bcde07a978 Don't skip buffer height calculation in gDPFillRectangle.
Fixed regression in Super Robot Spirits: Crash rankings option in HLE. #909
2016-03-20 13:24:26 +06:00
Sergey Lipskiy
769e474ed9 Set texrect vertex alpha to 1 if alpha combiner uses only shade alpha.
Fixed regression in bottom of the 9th: missing gfx (title screen ..) #913
2016-03-20 12:30:41 +06:00
Sergey Lipskiy
fedc15fafd Revert "Set texrect vertex alpha to 1 for Pokemon Stadium 2."
This reverts commit 54e0c533e9.
2016-03-20 12:24:10 +06:00
Sergey Lipskiy
3cfb377155 Fixed scissor in FrameBufferList::renderBuffer when AA enabled.
Fixed cut image in fullscreen mode with AA enabled in some games, e.g Mario Party 3
2016-03-19 20:36:56 +06:00
Sergey Lipskiy
ea62a778fa Force resolve multisampled buffer in FrameBufferList::renderBuffer.
Fixed Mario Party 3 - Missing characters and textbox in intro #901
2016-03-19 20:36:54 +06:00
Sergey Lipskiy
325082b2bb Don't call gDPFullSync() when config window is open.
gDPFullSync() calls buffers read, which can be broken when settings changed.

Fixed Enabling and disabling Antialasing midgame makes the emulator crash #903
2016-03-19 20:36:49 +06:00
Sergey Lipskiy
096d2f7d7e Fix screenshot capture from antialased buffer, issue #905 2016-03-19 19:35:59 +06:00
Sergey Lipskiy
05466632af Correct main bufer height calculation again:
fix regression caused by commit 3215a8ad5d

Fixed regression issue #902
2016-03-19 19:21:05 +06:00
Sergey Lipskiy
04b1f3f9f9 Correct gDPLoadBlock line calculation again:
fixed regression caused by commit f6be5fd39

Fixed regression in Racing Simulation 2 #167
2016-03-19 19:20:58 +06:00
Sergey Lipskiy
80c954e5cc Move modify_vtx transformations to vertex shader.
Fixed Jeremy McGrath Supercross 2000: missing jauge line in menu #274
This game sets coordinates of lines vertices via modify_vtx.
modify_vtx set screen coordinates for the vertex.
Screen coordinates must be converted back to normalized device coordinates (NDC)
to apply viewport transformation. Unfortunately, the screen coordinates set are out of current viewport
and just clipped after transformation to NDC coordinates and viewport transformation.
Solution: use fullscreen viewport for modified vertex coordinates and
transform coordinates according to this viewport.
2016-03-19 14:02:57 +06:00
Sergey Lipskiy
7549e04157 Move calculations from drawLLETriangle to vertex shader. 2016-03-19 14:02:49 +06:00
Sergey Lipskiy
16f5bfa423 Use correct screen scale when native resolution used. 2016-03-17 16:05:26 +06:00
Sergey Lipskiy
f6be5fd39f Fix bug with line calculation in gDPLoadBlock.
Fixed South Park Rally (All) - Gfx Issue #391
and probably other similar issues.
2016-03-17 09:29:57 +06:00
Sergey Lipskiy
2a56af9da1 Always update texture for texrect.
Fixed  Star Wars Episode I - Racer (J) Displaying wrong text. #510
The game uses the same CI texture with different palettes.
Each palette produces different set of hieroglyphs from the texture.
Current palette depends on tile index, which is set by tile parameter of texrect.
2016-03-15 15:46:08 +06:00
AmbientMalice
f59518f024 Correct texrectVertexFullAlpha hack description 2016-03-15 10:22:59 +06:00