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
Sergey Lipskiy
0b7d6499d2
Correct _setGLState in PostProcessor.
2015-05-13 10:20:41 +06:00
Sergey Lipskiy
b8e0832893
Minor correction in OGLRender::_updateStates.
2015-05-13 10:20:41 +06:00
Sergey Lipskiy
5ccf6ee60a
Correct CheckForFrameBufferTexture:
...
if found buffer is CFB - remove it. Buffers renderd by CPU can't be used as texture frame buffer.
Fixed excitebike64: black textures (regression) #345
2015-05-13 10:20:40 +06:00
Sergey Lipskiy
272af69077
Correct CombinerInfo::_compile for 1 cycle mode:
...
first and second stage of combiner must be the same for 1 cycle mode.
However, sometimes it's not so. It seems that the second stage is used in
such cases.
This correct commit 7c8907407f9.
Fixed issue with menu in F-1 Pole Position, #344
2015-05-13 10:20:39 +06:00
Sergey Lipskiy
d1583b2396
Correct FrameBufferList::renderBuffer -
...
add check that BlitFramebuffer coordinates are inside the buffer.
2015-05-13 10:20:39 +06:00
Sergey Lipskiy
42e75032fb
Correct previous width calculation in VI_UpdateSize().
...
Now buffers removed when old and new VI width is not zero.
Fixed knockout 2000, issue #294
2015-05-13 10:20:38 +06:00
Sergey Lipskiy
b136d05a3d
Correct FrameBufferList::removeBuffer and FrameBufferList::removeBuffer -
...
null current buffer if removed buffer is the current one.
2015-05-13 10:20:37 +06:00
Sergey Lipskiy
4569c8beb8
Rewrite updateViewport and updateScissor:
...
use frame buffer scale in case of fb emulation.
2015-05-13 10:20:37 +06:00
Sergey Lipskiy
74612aaa6e
Add blend modes for Pokemon Stadium special attacks.
...
Thanks ace64gamer for info!
2015-05-13 10:20:36 +06:00
Sergey Lipskiy
e4599870f3
Minor corrections in DepthBufferToRDRAM::CopyToRDRAM
2015-05-13 10:20:35 +06:00
Sergey Lipskiy
f96d54bd1f
Correct gSPFlushTriangles() to make it compatible with WCW Backstage Assault
...
Fixed issue #95
2015-05-13 10:20:35 +06:00
Sergey Lipskiy
da0f5afb44
Fix frame buffer usage as background.
...
Added check that found frame buffer is not depth buffer.
Fixed Nushi Zuri 64, issue #337
2015-05-13 10:20:34 +06:00
Sergey Lipskiy
1715a8a3d0
Fix _copyDepthBuffer().
...
Fixed LoT in Zelda MM
2015-05-13 10:20:33 +06:00
Sergey Lipskiy
88acd219a0
Add check that depth image is inside RDRAM bound in DepthBufferToRDRAM::CopyToRDRAM
2015-05-13 10:20:32 +06:00
Sergey Lipskiy
81893e5520
Add support for non-ASCII rom names.
2015-05-13 10:20:32 +06:00
Sergey Lipskiy
813408c978
Cache GL_CLIP_DISTANCE0.
2015-05-13 10:20:31 +06:00
Sergey Lipskiy
cfc14c53ec
Optimize _calculateCRC()
2015-05-13 10:20:30 +06:00
Sergey Lipskiy
d11f7e0b5e
Remove glFinish() from VI_UpdateScreen().
2015-05-13 10:20:30 +06:00
Sergey Lipskiy
4f338b96c8
Ask for current texture alignment in TextureCache::init().
2015-05-13 10:20:29 +06:00
Sergey Lipskiy
669976d468
Fix call to glMemoryBarrier.
2015-05-13 10:20:28 +06:00
Sergey Lipskiy
d500d9629d
Code cleanup: remove redundant viewport updates from OGLRender::drawRect() and OGLRender::drawTexturedRect()
2015-05-13 10:20:28 +06:00
Sergey Lipskiy
914b23f7db
Code cleanup: remove redundant glEnable(GL_SCISSOR_TEST) from FrameBufferList::renderBuffer()
2015-05-13 10:20:27 +06:00