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

684 Commits

Author SHA1 Message Date
Sergey Lipskiy
626fdf8f2f Fix texture bytes calculation for CheckForFrameBufferTexture in gDPLoadTile.
Fixed last rects of pause screen Banjo Tooie.
2015-05-13 10:17:06 +06:00
Sergey Lipskiy
17f2195801 Remove combiner update from FrameBufferList::attachDepthBuffer().
WEIRD:
If new combiner is created on CombinerInfo::get().update(), it than
works incorrect. Example: pause screen in Banjo Tooie.
!!!
2015-05-13 10:17:06 +06:00
Sergey Lipskiy
3b102d4ebd Fix texture filter usage. 2015-05-13 10:17:05 +06:00
Sergey Lipskiy
3e81c5a835 Enable CFB for Zilmar build. 2015-05-13 10:17:04 +06:00
Sergey Lipskiy
ac5159fe68 Fix RDRAMtoFrameBuffer::CopyFromRDRAM :
restore CHANGED_CPU_FB_WRITE flag after the draw.

Fixed CFB mode.
2015-05-13 10:17:04 +06:00
Sergey Lipskiy
13366a9c02 Set init value for VIInfo::lastOrigin to -1.
0 is valid origin value, so wrong buffer clear may occur.
2015-05-13 10:17:03 +06:00
Sergey Lipskiy
97c43d07c7 Correct VI_UpdateScreen(): avoid multiple calls of VI_UpdateSize(). 2015-05-13 10:17:02 +06:00
Sergey Lipskiy
949508d652 Correct VI_UpdateSize() cast float to u32. 2015-05-13 10:17:02 +06:00
Sergey Lipskiy
3fd33ec64b Correct OGLVideo::updateScale() to avoid division by zero. 2015-05-13 10:17:01 +06:00
Sergey Lipskiy
1c232c6a4e Correct VI_UpdateScreen(). 2015-05-13 10:17:00 +06:00
Sergey Lipskiy
7f6dd67db9 Correct set shader uniforms. 2015-05-13 10:17:00 +06:00
Sergey Lipskiy
3c9cdf5694 Add special blend mode for Donald Duck background. 2015-05-13 10:16:59 +06:00
Sergey Lipskiy
16e500fd92 Fix Prim shading mode.
Fixed sky in Topgear Rally, #217
2015-05-13 10:16:58 +06:00
Sergey Lipskiy
81f22895ec Correct alpha compare condition.
Fixed background in Topgear Rally, #217
2015-05-13 10:16:58 +06:00
Sergey Lipskiy
8e8b853e75 Corrected vertex shader. 2015-05-13 10:16:57 +06:00
Sergey Lipskiy
e6b1845142 Add blend mode for Donald Duck.
Fixed Disney's Donald Duck - Goin' Quakers: wrong texture in intro #104
2015-05-13 10:16:56 +06:00
Sergey Lipskiy
bdd9257f01 Code cleanup: remove unused QWordInterleave and swapdword. 2015-05-13 10:16:56 +06:00
Sergey Lipskiy
163d8a1505 Code cleanup in gDPLoadTile. 2015-05-13 10:16:55 +06:00
Sergey Lipskiy
d55c95d671 Fix gDPLoadTile: fixed bytes per line calculation.
Fixed Scars: wrong sky #200.
2015-05-13 10:16:54 +06:00
Sergey Lipskiy
6e3c1ec76f Skip degenerate rects.
Fixed scars europe: wrong position bar in game #221
2015-05-13 10:16:54 +06:00
Sergey Lipskiy
8e3679e321 Fix set vertex z in prim-depth mode.
Fixed flagshot in Mario Golf.
2015-05-13 10:16:53 +06:00
Sergey Lipskiy
0a9fa85fd6 Add special blend mode for Mario Golf flagshot.
WIP: need to fix depth issue
2015-05-13 10:16:52 +06:00
Sergey Lipskiy
fb898c3d4a Add support for special blend modes which Mace uses as part of the combiber.
Fixed Mace: white/wrong textures #219
2015-05-13 10:16:51 +06:00
Sergey Lipskiy
38386f2e22 Correct zelda_monochrome_fragment_shader. 2015-05-13 10:16:51 +06:00
Sergey Lipskiy
27cceff526 Code cleanup: remove unused functions from GLideNHQ/TxUtil 2015-05-13 10:16:50 +06:00
Sergey Lipskiy
bb89ec2dff Fix compilation errors in GLideN64 on Ubuntu64 2015-05-13 10:16:50 +06:00
Sergey Lipskiy
02de7a1385 Fix compilation errors in GLideNHQ under Ubuntu64.
Replace asm code by C++ one.
2015-05-13 10:16:49 +06:00
Sergey Lipskiy
e40bb68f51 Fix alpha compare when blnder uses fog alpha.
Fixed Lego racers: wrong map/shadows (regression) #211
2015-05-13 10:16:48 +06:00
Sergey Lipskiy
e0d71c78c0 Fix VI.width for non-interlaced mode.
Fixed vertical black bar in Mario Tennis.
2015-05-13 10:16:48 +06:00
Sergey Lipskiy
e139173e77 Fix mirror viewport. 2015-05-13 10:16:47 +06:00
Sergey Lipskiy
69cf6a1901 Fix release build for Mupen64Plus. 2015-05-13 10:16:46 +06:00
Sergey Lipskiy
e6fef73b67 Fix texrect for AllStarBaseball 2000-2001, issue #196 2015-05-13 10:16:45 +06:00
Sergey Lipskiy
a911c85881 Disable BranchLessZ logic for Zelda MM ucode since
it uses unknown format of test Z value.
2015-05-13 10:16:45 +06:00
Sergey Lipskiy
dce0019e9a Correct tile width and height masking.
Fix for commit 474398be.
Fixed Pokemon Snap: missing/black texture on beach #203
2015-05-13 10:16:44 +06:00
Sergey Lipskiy
a19758dcef Disable POLYGON_OFFSET for ZMODE_INTER.
Fixed polygons interpenetration in Duck Dodgers, #195
2015-05-13 10:16:43 +06:00
Sergey Lipskiy
3979bf9321 Fix gSPModifyVertex for G_MWO_POINT_ZSCREEN
Fixed 2D in Deadly Arts, issue #93
2015-05-13 10:16:43 +06:00
Sergey Lipskiy
729e753acf Fix load paletted backgrounds.
Fixed logo in Dragon Sword.
2015-05-13 10:16:42 +06:00
Sergey Lipskiy
0df812257c SetAlphaCompare to NONE after buffer swap.
Fixed title screen in Tonic Trouble.
2015-05-13 10:16:41 +06:00
Sergey Lipskiy
0a8ace8d54 Fix F3DEX_Branch_Z. 2015-05-13 10:16:41 +06:00
Sergey Lipskiy
7cabb325ba Correct bytes calculation in loadblock broken in commit fd6a64997. 2015-05-13 10:16:40 +06:00
Sergey Lipskiy
5af46b47ad Fix mip-mapping with zero level.
Fixed objects in Paper Mario.
2015-05-13 10:16:39 +06:00
Sergey Lipskiy
ce0fc1f0ed Fix texturedRectPaletteMod() for Paper Mario. 2015-05-13 10:16:38 +06:00
Sergey Lipskiy
6108b13eab Reset TLUT mode to NONE after each frame. 2015-05-13 10:16:38 +06:00
Sergey Lipskiy
8b7106ed38 Fix gDPSetPrimDepth for the case when viewport is not set.
Fixed logos in Mario Tennis.
2015-05-13 10:16:37 +06:00
Sergey Lipskiy
1bdc3cb1ed Rewrite SetOtherMode_H and SetOtherMode_L.
Fixed Paper Mario.
2015-05-13 10:16:36 +06:00
Sergey Lipskiy
9c4bb7d0c2 Fix texture address for cached texture. 2015-05-13 10:16:36 +06:00
Sergey Lipskiy
37334807d9 Disable texgen for F3DF microcodes.
Fixed textures on vehicles in F-Zero.
2015-05-13 10:16:35 +06:00
Sergey Lipskiy
4599527921 Implement flat shading. 2015-05-13 10:16:34 +06:00
Sergey Lipskiy
284f5ca7b1 Fix alpha compare for cycleType == G_CYC_COPY.
Fixed weird background texrects in Mario Golf intro.
2015-05-13 10:16:33 +06:00
Sergey Lipskiy
7ca20f8a42 Update CachedTexture::shiftScaleS and CachedTexture::shiftScaleT before call
to TextureCache::activateTexture() since these parameters can change
between frames.

Fixed "Ground incorrect at some place durin mario golf intro #78"
2015-05-13 10:16:33 +06:00