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

665 Commits

Author SHA1 Message Date
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
Sergey Lipskiy
232a2c0b84 Rewrite _calculateCRC():
- fixed bytes per line calculation
- fixed CRC for 32bit textures.
2015-05-13 10:16:32 +06:00
Sergey Lipskiy
40d99fd9ca Ignore degenerate texrects.
Fixed issues in Daikatana and Rat Attack.
2015-05-13 10:16:31 +06:00
Sergey Lipskiy
7e0efdb18b Disable alpha compare for fill cycle mode.
Fixed white screen in Rat Attack, #96
2015-05-13 10:16:31 +06:00
Sergey Lipskiy
e555d6edf5 Fix vertices buffer initialization.
Fixed missing polygons in Rat Attack intro.
2015-05-13 10:16:30 +06:00
Sergey Lipskiy
fbefc49c15 Fix bytes calculation in loadblock.
Fix Bettle adv racing: incorrect shadow project for map in menu #100
2015-05-13 10:16:29 +06:00
Sergey Lipskiy
81912792c5 Clear rendermodes after buffer swap.
Fixed missing geometry in C&C.
2015-05-13 10:16:29 +06:00
Sergey Lipskiy
9408d4b16d Fix gDPSetPrimDepth(). Z is in range [-1, 1]; 2015-05-13 10:16:28 +06:00
Sergey Lipskiy
6225d203e4 Optimization of shader code. Test Needed!!! 2015-05-13 10:16:27 +06:00
Sergey Lipskiy
ebb4a6b9e0 Fix typo in ShaderCombiner::updateFBInfo. 2015-05-13 10:16:27 +06:00
Sergey Lipskiy
d55a1779ee Fix _setTexCoordArrays() for triangles, which use T1 only.
Fixed text in Rayman 2, #168
2015-05-13 10:16:26 +06:00
Sergey Lipskiy
dcbc303c68 Return gDPSetTexturePersp(G_TP_PERSP) back to begin of RSP_ProcessDList().
Fixed balls in Virtual Pool.
2015-05-13 10:16:25 +06:00
Sergey Lipskiy
2910417f31 Fix ZMODE_XLU.
Fixed menu image in WinBack.
2015-05-13 10:16:25 +06:00
Sergey Lipskiy
625e439992 Add support for non-gsSPTextureRectangle. 2015-05-13 10:16:24 +06:00
Sergey Lipskiy
90020ee4bf Fix F3DEX2_SetOtherMode_L
Fixed blening in "Bass Racing Ecogear Power Worm Championship" #70
2015-05-13 10:16:23 +06:00
Sergey Lipskiy
52b746a0b5 Increase vertex buffer size. F3DLP.Rej can use up to 80 vertices.
Fixed All-Star Baseball '99 #27
2015-05-13 10:16:23 +06:00
Sergey Lipskiy
47d3a85534 Add Zelda Monochrome shader. 2015-05-13 10:16:22 +06:00
Sergey Lipskiy
727112b9cd Rename shadow_map_vertex_shader to default_vertex_shader. 2015-05-13 10:16:21 +06:00
Sergey Lipskiy
2d1d951e4b Rename SetShadowMapCombiner() to SetMonochromeCombiner() with shader program as parameter. 2015-05-13 10:16:21 +06:00
Sergey Lipskiy
df1201b38e Fix OSD misplaced ingame, issue #154 2015-05-13 10:16:20 +06:00