Sergey Lipskiy
7b730096b3
Fix monochrome frame buffers when FSAA is on.
...
Fixed shadows in Mario Tennis.
2015-05-13 10:18:31 +06:00
Sergey Lipskiy
526dfe0846
RunConfig() returns true if user pushed OK.
2015-05-13 10:18:30 +06:00
Sergey Lipskiy
2b87c0e131
Correct horisontal bounds for input and output buffers in FrameBufferList::renderBuffer
...
Fixed wrong right bound in Mario Tennis and other games.
2015-05-13 10:18:30 +06:00
Sergey Lipskiy
3c9ad5f730
Correct frame buffer - texture bounds intersection check.
...
Fixed bottom of background image in Dr.Mario
2015-05-13 10:18:29 +06:00
Sergey Lipskiy
b085593d2a
Major fixes in RDRAMtoFrameBuffer::CopyFromRDRAM.
...
Fixed Dr.Mario pills
2015-05-13 10:18:28 +06:00
Sergey Lipskiy
d0073fe3a3
Don't clear frame buffer area when copyFromRDRAM option is on.
2015-05-13 10:18:28 +06:00
Sergey Lipskiy
406a4d3165
Create auxilary combiners in Combiner_Init().
2015-05-13 10:18:27 +06:00
Sergey Lipskiy
6f40fa430b
Fix frame buffer content check in CheckForFrameBufferTexture.
...
Frame buffer area is cleared in FrameBufferList::saveBuffer.
If scissor does not equal to frame buffer size, clear is incorrect.
Solution: clear frame buffer area without scissoring.
Fixed background in Dr.Mario
2015-05-13 10:18:26 +06:00
Sergey Lipskiy
cd0ec661ba
Corrected bNeedUpdate condition in VI_UpdateScreen()
...
Fixed Quake II underwater, issue #229
2015-05-13 10:18:26 +06:00
Sergey Lipskiy
07599ad5ab
Simplify vertex_shader.
2015-05-13 10:18:25 +06:00
Sergey Lipskiy
b353028969
Fixed fillrect drawing.
2015-05-13 10:18:24 +06:00
Sergey Lipskiy
f946a82e38
Fix replay in Mario Golf:
...
replay is copied to a area, which is used for depth buffer.
Added check that found frame buffer is not depth buffer.
2015-05-13 10:18:24 +06:00
Sergey Lipskiy
0efce8bb17
Fix FrameBufferToRDRAM::CopyToRDRAM when multisampling is on.
2015-05-13 10:18:23 +06:00
Sergey Lipskiy
65b6de3f19
Correct VI.height calculation - make it even.
...
Fixed New Tetris work with FB on.
2015-05-13 10:18:22 +06:00
Sergey Lipskiy
67e26af187
Revert "Use VI.real_height to make copy to RDRAM more safe."
...
Wrong solution - causes bottom black line when copied image is used as
background.
This reverts commit 2186d12c9230be48b1824aaabbee56f135f54d4d.
2015-05-13 10:18:21 +06:00
Sergey Lipskiy
9a3298eed2
Fix texture address calculation in texturedRectBGCopy.
...
Fixed warp in Yoshi Story.
2015-05-13 10:18:21 +06:00
Sergey Lipskiy
2da470cf3a
Make Yoshi Story compatible with FB emulation.
2015-05-13 10:18:20 +06:00
Sergey Lipskiy
bbeb149df4
Correct FrameBufferList::removeBuffer - set m_pCurrent to NULL if current color buffer isd removed.
2015-05-13 10:18:19 +06:00
Sergey Lipskiy
971e45bae0
Correct AboutDialog.ui and UI project file
2015-05-13 10:18:19 +06:00
Sergey Lipskiy
ddd5c1b0c9
Convert all float color inputs to vec3.
...
Fixed combiner compilation issue in Top Gear Hyperbike, issue #44
2015-05-13 10:18:18 +06:00
Sergey Lipskiy
907a29e313
Fix division by zero in FrameBufferList::renderBuffer
...
Fixed crash with FB enabled in Top Gear Hyperbike
2015-05-13 10:18:17 +06:00
Sergey Lipskiy
975b54810f
Emulate VI manipulations with REG.VI_H_START register.
...
This emulates horizontal slide effect in Top Gear Overdrive menu.
Fixed issue #17
2015-05-13 10:18:17 +06:00
Sergey Lipskiy
27d4a73590
Correct VI.width calculation.
2015-05-13 10:18:16 +06:00
Sergey Lipskiy
db649b5341
Fix FrameBufferToRDRAM::CopyToRDRAM:
...
copy to provided address, not to the cached one.
Fixed Top Gear Hyper Bike with FB to RDRAM on.
2015-05-13 10:18:15 +06:00
Sergey Lipskiy
bb6a9b3549
Correct frame buffer end address calculation in FrameBufferList::saveBuffer.
...
Fixed gfx not showing with fb emulation on in Top Gear Hyper Bike #45
2015-05-13 10:18:15 +06:00
Sergey Lipskiy
34d638a0a3
Don't copy depth buffer if it was not cleared.
...
Uncleared depth buffer most likely is used as auxilary color buffer.
Fix pause screen in Mickey USA when copy depth to RDRAM is enabled, issue #85 .
2015-05-13 10:18:14 +06:00
Sergey Lipskiy
b7460648be
Fix CFB detection.
...
Fixed intro logos in StarCraft64
2015-05-13 10:18:13 +06:00
Sergey Lipskiy
d6b6204959
Code cleanup in gDPSetColorImage
2015-05-13 10:18:13 +06:00
Sergey Lipskiy
b9257e33b1
Fix RDRAMtoFrameBuffer::CopyFromRDRAM.
...
Fixed flicker in StarCraft64 logos.
2015-05-13 10:18:12 +06:00
Sergey Lipskiy
d790380de0
Fix bug with ucode loaded each frame.
2015-05-13 10:18:11 +06:00
Sergey Lipskiy
002ddf595c
Fix bug with ucode loaded each frame.
2015-05-13 10:18:11 +06:00
Sergey Lipskiy
05206c6e2c
Fix detection of usage background as frame buffer texture.
...
Fixed StarCraft64 with fb emulation on, issue #86
2015-05-13 10:18:10 +06:00
Sergey Lipskiy
47e4f4e8e4
Switch from shader based pseudo-random simplex noise to texture based one.
2015-05-13 10:18:09 +06:00
Sergey Lipskiy
7d51a7eb75
Correct fragment_shader_mipmap:
...
use vec2 uScreenScale instead of float uLodXScale uLodYScale
2015-05-13 10:18:08 +06:00
Sergey Lipskiy
d9eab35441
Remove redundunt glTexParameter calls.
2015-05-13 10:18:08 +06:00
Sergey Lipskiy
cfabff544f
Reduce size of CachedTexture stuct.
2015-05-13 10:18:07 +06:00
Sergey Lipskiy
7ed2ed1365
Use VI.real_height to make copy to RDRAM more safe.
...
VI.height can be larger than actual buffer height. Example: The New Tetris.
2015-05-13 10:18:06 +06:00
Sergey Lipskiy
a3a1c58518
Add About dialog.
2015-05-13 10:18:06 +06:00
Sergey Lipskiy
4fd0ebfa32
Add cached versions of GL state functions. These functions change GL state
...
only when it differs from previous cached state.
Idea and partial implementation is taken from gles2glide64.
2015-05-13 10:18:05 +06:00
Sergey Lipskiy
ce97a2c626
Remove forced shader uniforms updates.
2015-05-13 10:18:04 +06:00
Sergey Lipskiy
4e6416d6d4
Force update shader unifirms only after shader creation.
2015-05-13 10:18:03 +06:00
Sergey Lipskiy
dc5a57239c
Fix memcmp() result compare in _setVXUniform()
2015-05-13 10:18:03 +06:00
Sergey Lipskiy
bd6a341563
Replace 'unsigned int' by 'uint' in shaders.
2015-05-13 10:18:02 +06:00
Sergey Lipskiy
2db32bf145
Fix shader compile error: 'bool' : precision statement not allowed for type
2015-05-13 10:18:01 +06:00
Sergey Lipskiy
25d3caac05
Correct GL version detection.
2015-05-13 10:18:01 +06:00
Sergey Lipskiy
8c0aa1c804
Fix FrameBufferToRDRAM::CopyToRDRAM when multisampling is enabled.
2015-05-13 10:18:00 +06:00
Sergey Lipskiy
916e083bfa
Resolve multisampled depth buufer before using it as texture.
2015-05-13 10:17:59 +06:00
Sergey Lipskiy
d12e33c521
Add 1600 x 1024 windowed resolution.
2015-05-13 10:17:59 +06:00
Sergey Lipskiy
df4c34bc2c
Fix code analizer's warning.
2015-05-13 10:17:58 +06:00
Sergey Lipskiy
06c7877208
Fix vOffset calculation in FrameBufferList.
2015-05-13 10:17:57 +06:00