Sergey Lipskiy
43eac44f91
Correct RDRAMtoFrameBuffer::CopyFromRDRAM :
...
fuls and fult for gSP.textureTile[0] should be zero.
2015-05-13 10:18:44 +06:00
Sergey Lipskiy
58799e767f
Fix scissor in FrameBufferList::renderBuffer for windowed mode.
...
Fixed top of the screen being cut.
2015-05-13 10:18:43 +06:00
Sergey Lipskiy
59e86b7794
Fix DepthBufferToRDRAM::CopyToRDRAM when multisampling is on.
2015-05-13 10:18:42 +06:00
Sergey Lipskiy
d06befb4eb
Add a hack for Mario Golf replays.
...
Replays works only if depth buffer FBO is NOT used as texture
because CPU copies color frame buffer for replays into depth buffer area.
Pause screen in Zelda OOT is copied into depth buffer area and it works only
id depth buffer FBO IS used as texture. Thus it is impossible to write general code
for both situations.
2015-05-13 10:18:42 +06:00
Sergey Lipskiy
6b4b7ae35c
Add ucode for Power League Baseball 64 to the list of specialMicrocodes.
...
Fixed issue #105
2015-05-13 10:18:41 +06:00
Sergey Lipskiy
4faa52e76d
Disable noise emulation if enableNoise option is off.
2015-05-13 10:18:40 +06:00
Sergey Lipskiy
46e6f3c28c
Correct VI.width calculation when hEnd is zero.
2015-05-13 10:18:40 +06:00
Sergey Lipskiy
2d099dda4c
Correct VI.real_height calculation in interlaced mode.
2015-05-13 10:18:39 +06:00
Sergey Lipskiy
4155accfee
Correct noise dithering.
2015-05-13 10:18:38 +06:00
Sergey Lipskiy
769ab7ac40
Remove async frame buffer reads - it can cause glitches because of wrong frame read.
...
Example: F-1 PolePosition 99 car tuning menu.
2015-05-13 10:18:38 +06:00
Sergey Lipskiy
296476405a
Fix alpha test for COPY cyclemode.
...
Fixed text in menu in F-1 Pole Position.
2015-05-13 10:18:37 +06:00
Sergey Lipskiy
4fd702bfe3
Disable color and alpha dither in COPY and FILL cyclemode.
2015-05-13 10:18:36 +06:00
Sergey Lipskiy
e3f51aae25
Correct texture size calculation: use mask size only if mask != 0.
...
Fixed backgrounds in F-1 Pole Position.
2015-05-13 10:18:36 +06:00
Sergey Lipskiy
2fb7477420
Correct creation of auxilary combiners.
2015-05-13 10:18:35 +06:00
Sergey Lipskiy
917225d783
Move RSP.DList increment from RSP_ProcessDList() to OGLVideo::swapBuffers().
...
Now frame count works for LLE mode.
2015-05-13 10:18:34 +06:00
Sergey Lipskiy
8bd1b96e3c
Correct FrameBufferToRDRAM.
...
Fixed out of memory writes in 1080 replay.
2015-05-13 10:18:34 +06:00
Sergey Lipskiy
d4264e18a4
Don't create frame buffer with zero height.
...
Fixed load from savestates in 1080.
2015-05-13 10:18:33 +06:00
Sergey Lipskiy
8e546e6f4b
Fix compilation errors when TXFILTER_DLL defined
2015-05-13 10:18:32 +06:00
Sergey Lipskiy
b55656b615
Revert useless commit "Fix bug with ucode loaded each frame."
...
This reverts commit 62445eb9a1de0c2ddbb4d7744fe90aea7941ded0.
2015-05-13 10:18:32 +06:00
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