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

12 Commits

Author SHA1 Message Date
Sergey Lipskiy
2f4abc2bd9 Rename BufferSwapMode::bsOnVIUpdate to bsOnVerticalInterrupt. 2015-12-14 21:39:09 +06:00
Sergey Lipskiy
550999133f Add config option frameBufferEmulation.bufferSwapMode
Remove hack_VIUpdateOnCIChange

Default buffer swap mode is swap buffer on each VI_UpdateScreen() call.
This mode need no hacks for correct buffer update, but it causes gfx overheads.
2015-12-14 21:39:06 +06:00
purplemarshmallow
1466e162f3 remove detectCFB hack
if there is no buffer RDRAM content is displayed. If there's an invalid
buffer the buffer is removed and then RDRAM content is displayed. No
game needs the detectCFB hack anymore. This fixes the transitions in BIO
F.R.E.A.K.S #562 and also #362
2015-12-14 21:39:05 +06:00
purplemarshmallow
af8f9bbe55 remove VI width calculation
I see no reason why this is needed. REG.VI_WIDTH always has the correct
width. This fixes the pole position minigame in namco museum and the gb
tower in Pokemon Stadium 2 #529. This fixes transition effects in Body
Harvest  #650. This fixes problems with the copy auxiliary option in
Body Harvest and Mario Tennis
2015-10-30 23:47:14 +01:00
Sergey Lipskiy
1eaa967553 Add hack_skipVIChangeCheck hack for Zelda MM.
Fix problem with Majora's Mask subscreen after Bomber's Notebook read, #698

The game switches to interlaced mode when it opens Notebook screen and background buffer is removed.
This hack prevents buffers clear on VI change.
2015-09-26 22:36:31 +06:00
Sergey Lipskiy
16e3af616c Add hack hack_VIUpdateOnCIChange for Quake II.
Quake II uses single buffer mode when underwater, so additional check
gDP.colorImage.changed != 0 is necessary to detect frame change.
This check may cause dummy buffers swaps, so now it is used for Quake II only.

Fixed #592
2015-07-03 15:03:01 +06:00
Sergey Lipskiy
6d53c3bbd8 Add hack_ignoreVIHeightChange.
Fixed Space Invaders Boss battle gliching #448
2015-06-25 11:14:46 +06:00
Sergey Lipskiy
b219997c80 Always show cfb until first dlist:
- move flag CHANGED_CPU_FB_WRITE from gSP to gDP (code refactor)
- enable CHANGED_CPU_FB_WRITE on video init.
- disable CHANGED_CPU_FB_WRITE in process display list.

many pd roms and demos use cpu rendering only
now they are supported with default settings
also detectCFB=1 now isn't needed anymore for some games

Commit is based on changes made by purplemarshmallow in #536
2015-05-18 12:55:42 +06:00
Sergey Lipskiy
db9943a7b9 Code refactor: move flag CHANGED_COLORBUFFER from gSP to gDP. 2015-05-18 12:35:48 +06:00
Sergey Lipskiy
143cee1712 Disable rendering when config dialog is open to prevent plugin crash if
new settings are incompatible with the current ones.
2015-05-13 10:21:58 +06:00
Sergey Lipskiy
e3d8905984 Fix _isMarioTennisScoreboard() hack for (E) version. 2015-05-13 10:21:46 +06:00
Sergey Lipskiy
52d68d1389 Move all sources to src folder. 2015-05-13 10:21:32 +06:00