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

794 Commits

Author SHA1 Message Date
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
Sergey Lipskiy
3563eff040 Remove png support from GUI:
pnglib from QT libs conflicts with the one from GLideNHQ lib, and textures load does not work.
Solution: rebuild QT without pnglib.
2015-05-13 10:17:57 +06:00
Sergey Lipskiy
12107c5926 Correct configDialog.ui 2015-05-13 10:17:56 +06:00
Sergey Lipskiy
b9e7cdddd7 Mupen64Plus: Correct defaults for txCacheCompression and txSaveCache options. 2015-05-13 10:17:55 +06:00
Sergey Lipskiy
762b62a1b5 Mupen64Plus: recreate config section if cinfig version is changed. 2015-05-13 10:17:55 +06:00
Sergey Lipskiy
17b2db7031 Workaround for Mupen64Plus issue with initialization 2015-05-13 10:17:54 +06:00
Sergey Lipskiy
d95d04e91e About Dialog 2015-05-13 10:17:53 +06:00
Sergey Lipskiy
96abc43d15 Add Post Filter Tab. 2015-05-13 10:17:53 +06:00
Sergey Lipskiy
ed0ac15ad8 Replace Config.bloomFilter.mode by Config.bloomFilter.enable since only one
mode left.
2015-05-13 10:17:52 +06:00
Sergey Lipskiy
5663a8a39b Correct GLideNUI project file. 2015-05-13 10:17:51 +06:00
Sergey Lipskiy
1bfee6f56e Fix endless loop in FullscreenResolutions. 2015-05-13 10:17:50 +06:00
Sergey Lipskiy
18536fc043 Remove Microcode dialog. 2015-05-13 10:17:50 +06:00
Sergey Lipskiy
8f7182bcd6 Remove simpleBloomShader 2015-05-13 10:17:49 +06:00
Sergey Lipskiy
8b570cb273 Fix multisampling. 2015-05-13 10:17:48 +06:00