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

1046 Commits

Author SHA1 Message Date
Sergey Lipskiy
f1a252a6d0 Remove posix related code. It is unused legacy code. 2015-05-13 10:21:16 +06:00
Sergey Lipskiy
0103c92741 Remove legacy debugger. 2015-05-13 10:21:15 +06:00
Sergey Lipskiy
581849944d Remove unused shader code without precision qualifiers. 2015-05-13 10:21:14 +06:00
Sergey Lipskiy
c68e016957 Remove legacy GUI code from Config_windows.cpp 2015-05-13 10:21:14 +06:00
Sergey Lipskiy
62b5807b1b Revert "Don't shutdown TextureFilterHandler on RomClosed."
It causes problems with texture cache save.

This reverts commit f30f135d9ca2371fb44ce26d8138d73a85780027.
2015-05-13 10:21:13 +06:00
Sergey Lipskiy
1558571ca9 Correct FrameBufferList::renderBuffer -
Add more check that buffer width is not zero.

Fixed flicker in Midway racing games, #373
2015-05-13 10:21:12 +06:00
Sergey Lipskiy
29a9479099 Convert rom name to uppercase.
Problem:
settings file can't contain two sections in different case, for example
"Perfect Dark" (U) and "PERFECT DARK" (J).

Solution: use only uppercase section names in the ini and convert rom
name to uppercase.
2015-05-13 10:21:12 +06:00
Sergey Lipskiy
e3242f2b3a Increase frame buffer max height to 580 for PAL games.
Fixed RTL World League Soccer - Bootcrash #389
2015-05-13 10:21:11 +06:00
Sergey Lipskiy
5f73ebccb1 Fix filtering of mip-map textures with Level 0.
Fixed issue #306
2015-05-13 10:21:10 +06:00
Sergey Lipskiy
393617ea53 Remove wrong item from thankyou list. 2015-05-13 10:21:10 +06:00
Sergey Lipskiy
389966d71c Don't check depth buffer width in interlaced mode.
Fix for commit 2727b254

Fixed lode runner: issue #386
2015-05-13 10:21:09 +06:00
Sergey Lipskiy
57c4d07968 Don't shutdown TextureFilterHandler on RomClosed.
Fixed texture cache reload on savestate load.
2015-05-13 10:21:08 +06:00
Sergey Lipskiy
2d16042860 Replace GlideHQ by GLideNHQ in texture library. 2015-05-13 10:21:08 +06:00
Sergey Lipskiy
faad13bf07 Fix compilation errors with gcc. 2015-05-13 10:21:07 +06:00
Sergey Lipskiy
74f8e444a0 Enable texture dump.
Currently Windows only.
Press 'd' to toggle texture dump on/off
Press 'r' to reload texture cache

Fixed issue #255
2015-05-13 10:21:06 +06:00
Sergey Lipskiy
f3e09bc296 Fix TxFilter::dmptx 2015-05-13 10:21:06 +06:00
Sergey Lipskiy
8f4d527a9c Correct VI_UpdateSize() :
add check for buffer height == VI.height.

Fixed Mickey´s Speedway USA - Missing Textures #376
2015-05-13 10:21:05 +06:00
Sergey Lipskiy
4fd2000459 Add check that depth buffer width is enough for selected frame buffer.
Fixed driver crash error in Pokemon Stadium when entering a battle.
2015-05-13 10:21:04 +06:00
Sergey Lipskiy
43b7488ec8 Clear buffers when depth buffer width != VI.width.
Fixed Star Soldier Vanishing Earth - Cutted Screen #374
2015-05-13 10:21:04 +06:00
Sergey Lipskiy
001e6b4ed3 Use scissor lower y when viewport is zero.
Fixed NBA Hangtime - Black Screen #371
2015-05-13 10:21:03 +06:00
Sergey Lipskiy
7a289aa31a Use non-strict frame buffer content check for all buffers, not only 8bit ones.
Fixed Mickey Speedway fb effect, #367
2015-05-13 10:21:02 +06:00
Sergey Lipskiy
9c909759d6 Correct fullsize condition for OGLRender::clearDepthBuffer.
Fix for commit 8b551549 - Don't copy depth buffer to RDRAM if it was not cleared completly.

Fixed Mickey´s Speedway USA - Weird Effect #367
2015-05-13 10:21:02 +06:00
Sergey Lipskiy
291323a049 Add check that buffer's bound is inside RDRAM. Cut buffer's height if necessary.
Fixed Lylat Wars - Crash On ROM-Start #363
2015-05-13 10:21:01 +06:00
Sergey Lipskiy
c6d034c692 Don't use smooth filtering in FrameBufferToRDRAM::CopyToRDRAM. 2015-05-13 10:21:00 +06:00
Sergey Lipskiy
752ca93765 Correct VI_UpdateSize() for pal games.
Fixed Donkey Kong (E), issue #355
2015-05-13 10:20:59 +06:00
Sergey Lipskiy
5f8d720916 Use Adler32 instead of QT qChecksum for checksum of Japanese rom name. 2015-05-13 10:20:59 +06:00
Sergey Lipskiy
208fea0442 Set initial value of GBI commands checked in gSPFlushTriangles() to -1.
Fix for commit ae76e32e11.

Fixed 1080, issue #356
2015-05-13 10:20:58 +06:00
Sergey Lipskiy
7e3688d6a0 Move rameBufferList().setBufferChanged() call to the top of gDPFillRectangle. 2015-05-13 10:20:58 +06:00
Sergey Lipskiy
0abba005d6 Corrections in About dialog. 2015-05-13 10:20:57 +06:00
Sergey Lipskiy
b5087e428b Rewrite settings load. 2015-05-13 10:20:56 +06:00
Sergey Lipskiy
69b1df4a64 Add validiti check option to UI. 2015-05-13 10:20:55 +06:00
Sergey Lipskiy
3d55b086ee Add new fb validity check method: by checksum.
It is more safe than filling RDRAM with fillcolor, but not compatible with
Mario Tennis.
Thus it is made optional.

Fixed Perfect Dark - Crash often #323
2015-05-13 10:20:55 +06:00
Sergey Lipskiy
6fa0204709 Replace Adler32 by more faster textureCRC from Glide64.
textureCRC is good enough to calculate checksum of frame buffer.
2015-05-13 10:20:54 +06:00
Sergey Lipskiy
7914c415ad Correct gSPTexture: don't update texture parameters when texturing is off. 2015-05-13 10:20:53 +06:00
Sergey Lipskiy
0c5872897d Add hack to remove black polygons in Blast Corps:
don't show polygons which use texturing when texturing is off.

Fixed issue #125
2015-05-13 10:20:53 +06:00
Sergey Lipskiy
ce07d2be5a Fix depth buffer creation.
Corrected crash in Blast Corps, issue #125
2015-05-13 10:20:52 +06:00
Sergey Lipskiy
28e252b667 Remove legacy hack in texrect for textures which supposed to be mirrored, but do not have mirror flag.
Fixed menu textures in Automobili Lamborghini, issue #180
2015-05-13 10:20:51 +06:00
Sergey Lipskiy
ebfd9b3c4e Enable texture mirror if real_size / size == 2 2015-05-13 10:20:50 +06:00
Sergey Lipskiy
9b923ab5d9 Correct GBIInfo::_makeCurrent - check NoN flag of the new microcode.
Fixed WCW Backstage Assault.
2015-05-13 10:20:50 +06:00
Sergey Lipskiy
a909395c1d Correct TEXTURE_GEN condition. 2015-05-13 10:20:49 +06:00
Sergey Lipskiy
9a556978ba Add hack for LEGO racers course map:
copy RDRAM content to new buffer.

Fixed issue #314
2015-05-13 10:20:48 +06:00
Sergey Lipskiy
ebc5d5bef3 Implement fake copy color buffer to RDRAM for Zelda OOT.
Fixed Ocarina of Time pause delay #327
2015-05-13 10:20:48 +06:00
Sergey Lipskiy
7c91526edc Fix gSPModifyVertex: clear clip flag for modified coordinates.
Fixed ECW Hardcore Revolution #188
2015-05-13 10:20:47 +06:00
Sergey Lipskiy
32e8f9187d Fix vertex color set for fillrect.
Fixed fillrect in Mahjong Hourouki Classic, issue #138
2015-05-13 10:20:46 +06:00
Sergey Lipskiy
3fd958431a Fix tile load via gDPLoadBlock when amount of tile data is over TMEM size.
Fixed Tom & Jerry / PPG CHEMICAL X: texture issues #183
2015-05-13 10:20:45 +06:00
Sergey Lipskiy
dae9796fff Disable cull mode update in rect commands, because it will be disabled anyway. 2015-05-13 10:20:45 +06:00
Sergey Lipskiy
3d3d19498c Disable cull face in _initStates(). 2015-05-13 10:20:44 +06:00
Sergey Lipskiy
5bad15abd9 Correct scissor set in FrameBuffer and DepthBuffer. 2015-05-13 10:20:43 +06:00
Sergey Lipskiy
f76de6450a Correct gSP.changed and gDP.changed in RDRAMtoFrameBuffer::CopyFromRDRAM 2015-05-13 10:20:43 +06:00
Sergey Lipskiy
f0ef6ef31d Set CHANGED_VIEWPORT when viewport cvhanged in GLVideoMupenPlus::_swapBuffers() 2015-05-13 10:20:42 +06:00