Sergey Lipskiy
5538c7b4bb
Add support for frame buffers, which are inside of some other frame buffer.
...
Fixed Superbowling: black screen in menu and game #116
2018-10-17 15:52:51 +07:00
Sergey Lipskiy
c8b6d35597
Minor code cleanup in FrameBuffer.cpp
2018-10-17 15:52:51 +07:00
Sergey Lipskiy
59c489036c
Change custom settings for Jet Force Gemini.
...
mupen64plus is recommended to run this game.
2018-10-17 15:11:52 +07:00
Sergey Lipskiy
3d46293376
Correct condition for depth buffer copy hack for Perfect dark.
...
Fixed Perfect Dark high-res mode issues #1807
Fixed Perfect Dark No text/notifications in multiplayer #1930
2018-10-16 00:07:19 +07:00
Sergey Lipskiy
e4b6224218
Disable CULL_BOTH for NON microcodes.
...
Need to find better criteria.
Fixed Black screen in mortal kombat 4 #1929
2018-10-13 19:25:32 +07:00
gizmo98
35099ec8cb
Backgrounds: Fix cut off textures and texture fragments and seams
...
-Fix cut off textures in hamster64. Enable coord correction if
gDP.otherMode.textureFilter == G_TF_BILERP.
-Fix seams in hamster64 and texture fragments in starcraft64. Enable
texture clamp if lrs/lrt <= (imageW/imageH - 1).
2018-10-13 19:09:24 +07:00
Sergey Lipskiy
1df96cebeb
Enable clearDepthBuffer for Pokemon Snap.
...
Fixed Pokemon Snap Oak's check does not work #777 again
Note: this game is a mistery. I don't understand,
why clearing of depth buffer via drawRecs breaks Oak's check.
Actually, the problem causes rendering to color buffer corresponding to that depth buffer.
Need to investigate, why.
2018-10-07 00:15:01 +07:00
Sergey Lipskiy
423fc7ba3e
Code cleanup in gDPFillRectangle
2018-10-06 13:43:14 +07:00
Sergey Lipskiy
8b9d955f7a
Fix depth buffer clear for Zelda MM.
...
Fixed Legend of Zelda: Majora's Mask Issue #1921
2018-10-05 23:57:56 +07:00
Sergey Lipskiy
4f302cc777
gDPFillRectangle: call frameBufferList().fillRDRAM for color buffers in FILL mode.
...
Fixed Vigilante 8 Menu and In-game issues. #1917
2018-10-02 17:06:07 +07:00
Sergey Lipskiy
e91a9ddc31
Remove ucode for Mischief Makers (E) from specialMicrocodes list.
...
It was added by mistake.
Fixed Duke Nukem 64: HLE unplayable #1915
2018-10-02 09:53:17 +07:00
Sergey Lipskiy
6ba9a81e76
Rewrite Tri commands for SWRS ucode.
2018-10-01 23:15:33 +07:00
Sergey Lipskiy
9f1bbeab9f
Rewrite primitive depth calculation.
...
Up shader storage version.
Fixed Star Wars Episode I - Racer: Overlapping #1911
2018-10-01 22:37:03 +07:00
Sergey Lipskiy
b88c99302f
Debugger: correct display of primitive Z and deltaZ.
2018-10-01 19:20:32 +07:00
gizmo98
13f587a360
tile functions: Replace magic numbers with constants
...
Just refactoring. Replace magic numbers with constants. No functional
changes.
2018-09-30 18:03:46 +07:00
Sergey Lipskiy
b096c1e9fc
Rewrite vertex coordinates calculation for ObjSprite command again.
2018-09-30 18:03:46 +07:00
Sergey Lipskiy
91b17a578c
Rewrite vertex coordinates calculation for ObjRect commands again.
2018-09-30 18:03:46 +07:00
Sergey Lipskiy
9f936be57e
Correct condition for texture filtering: remove (gSP.objRendermode&G_OBJRM_BILERP) != 0 from the condition.
...
It seems that flag G_OBJRM_BILERP in objRendermode does not mean that texture will be filtered.
2018-09-30 18:03:46 +07:00
Sergey Lipskiy
0da701e7e5
Rewrite texture coordinates calculation for ObjRect commands.
2018-09-30 18:03:46 +07:00
Sergey Lipskiy
8fd5f910ab
Add support for S2DEX v1.03
2018-09-30 18:03:45 +07:00
Sergey Lipskiy
5abb19bd7a
Disable "yoshi petals fix" because of regression in yoshi's message board.
2018-09-30 18:03:45 +07:00
Sergey Lipskiy
164d012138
Rewrite coordinates calculation for ObjRectangle and ObjRectangleR
2018-09-30 18:03:45 +07:00
Sergey Lipskiy
83995f5dc8
Correct vertex coordinates calculation for gSPObjRectangleR
2018-09-30 18:03:45 +07:00
Sergey Lipskiy
51490b9de0
Correct _YUVtoRGBA
2018-09-30 18:03:45 +07:00
Sergey Lipskiy
ec898f4178
Rewrite vertex coordinates calculation for gSPObjRectangleR using fixed-point math decoded from S2DEX ucode by olivieryuyu
...
Code refactoring.
2018-09-30 18:03:44 +07:00
Sergey Lipskiy
9bbd449812
Correct lrs and lrt calculation for ObjRect commands.
2018-09-30 18:03:44 +07:00
Sergey Lipskiy
38c7eef32b
Code cleanup: use constants for flipS and flipT flags.
2018-09-30 18:03:44 +07:00
Sergey Lipskiy
b012e8b53c
Code refactor:
...
* move implementation of S2DEX commands from gSP.cpp to uCodes/S2DEX.cpp
* code cleanup
2018-09-30 18:03:44 +07:00
Sergey Lipskiy
9192a82905
Rewrite vertex coordinates calculation for gSPObjRectangle using fixed-point math decoded from S2DEX ucode by olivieryuyu
...
Code refactoring.
2018-09-30 18:03:44 +07:00
Sergey Lipskiy
7d75b99705
Rewrite gSPObjSprite using fixed-point math decoded from S2DEX ucode by olivieryuyu
2018-09-30 18:03:44 +07:00
Sergey Lipskiy
cf05918222
Revert "Shift sprite origin Y by -0.5"
...
This reverts commit 43e0ad500f
.
2018-09-30 18:03:43 +07:00
Sergey Lipskiy
6ac8efe081
Use frame buffer from input parameters when call
...
_updateScreenCoordsViewport from GraphicsDrawer::drawTexturedRect.
Fixed incorrect picture size when color buffer copied from RDRAM.
Buffer copy uses drawTexturedRect
2018-09-26 13:48:42 +07:00
Sergey Lipskiy
5e1c8a6b58
Do not use clearDepthBuffer in FillRect. Use drawRect only.
2018-09-24 22:02:25 +07:00
Sergey Lipskiy
6a7c64dd6b
Do not use clearColorBuffer in FillRect. Use drawRect only.
...
Fixed Twisted Edge Extreme Snowboarding P1 broken #1873
2018-09-24 20:33:15 +07:00
Sergey Lipskiy
2f83650725
Switch from blitOrCopyTexturedRect() to copyTexturedRect() in OverscanBuffer::draw.
2018-09-24 20:33:12 +07:00
Sergey Lipskiy
3faa383c55
Fix in FrameBufferList::renderBuffer() : draw blank frame if VI state is wrong.
...
Previously renderBuffer() did nothing in that case and last rendered frame remained on screen.
Fixed Perfect Dark (Missing Transition Animation at end of Title Intro Screen - PD Logo Doesn't Disappear) #1715
2018-09-24 20:33:08 +07:00
Sergey Lipskiy
2e2cbcfcfc
Fix culling in Indi and Naboo
2018-09-24 19:32:10 +07:00
Sergey Lipskiy
e65f8bd68d
Weaken condition for invalid frame buffer texture.
...
Fixed text in Mario Tennis scoreboard.
2018-09-16 22:15:28 +07:00
Sergey Lipskiy
67e68ed1f6
Support FXAA in GUI.
2018-09-09 16:41:58 +07:00
Sergey Lipskiy
bb6debf2f7
Support FXAA in mupen64plus config
2018-09-09 16:41:55 +07:00
Sergey Lipskiy
ae67c77c9d
Replace direct call of Postprocessor methods by list of available postprocessing functions.
2018-09-09 16:41:37 +07:00
Sergey Lipskiy
9705f5d520
Implement FXAA
2018-09-09 16:36:09 +07:00
Sergey Lipskiy
1e97355882
Code refactor: remove duplication of code in PostProcessor.cpp
2018-09-09 15:34:32 +07:00
Sergey Lipskiy
15188dad16
Fix destX calculation in FrameBufferList::renderBuffer()
...
Fixed black boarders size in Banjo-Kazooie.
2018-09-08 00:13:43 +07:00
Sergey Lipskiy
be49e9e2e9
Correct check for side-by-side buffers in FrameBufferList::renderBuffer()
...
Fixed Kirby 64 - screen jumps in full screen. #1750
2018-09-07 23:00:45 +07:00
gizmo98
d4cce52c60
Rewrite ObjCoordinates(const uObjScaleBg * _pObjScaleBg)
...
gSPBgRect1Cyc() and gSPBgRectCopy() use ObjCoordinates(const
uObjScaleBg * _pObjScaleBg).
This modification fixes bad texture quality in following games:
-Bakuretsu Muteki Bangaioh
-Nintama Randou
-Starcraft
-Command & Conquer
-SD Hiryuu noKen Densetsu
https://github.com/gonetz/GLideN64/pull/1878
2018-09-07 21:25:44 +07:00
Sergey Lipskiy
fef718b8d2
Do not reject tile loading when tile end address is out of RDRAM bound.
...
Try to load as much as possible instead.
Fixed Bust-A-Move 2 wrong 2D during intro #870
2018-09-07 21:08:37 +07:00
Sergey Lipskiy
22267831e0
Optimize ShaderN64DepthCompare a little bit.
2018-09-06 22:54:07 +07:00
Sergey Lipskiy
9b487453a6
Correct URenderTarget::update()
...
Depth buffer not cleared if SetDepthImage called after Fillrect.
Fixed Ocarina of Time Link's portrait missing with N64 deph compare #1850
2018-09-06 22:54:00 +07:00
Sergey Lipskiy
83e1ccb72e
Remove hack for Banjo-Tooie Groggy Crash #1250 added in 8fbd1d030b
...
Writes to TMEM protected by masking TMEM write address, so it is not necessary anymore.
Rearrange the code a bit.
Fixed NBA Live 99 messed up textures #1826
2018-09-05 23:20:27 +07:00