1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Rename BufferSwapMode::bsOnVIUpdate to bsOnVerticalInterrupt.

This commit is contained in:
Sergey Lipskiy 2015-12-14 21:36:07 +06:00
parent 7ccb417a29
commit 2f4abc2bd9
3 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ void Config::resetToDefaults()
frameBufferEmulation.copyToRDRAM = ctAsync;
frameBufferEmulation.N64DepthCompare = 0;
frameBufferEmulation.aspect = 1;
frameBufferEmulation.bufferSwapMode = 0;
frameBufferEmulation.bufferSwapMode = bsOnVerticalInterrupt;
textureFilter.txCacheSize = 100 * gc_uMegabyte;
textureFilter.txDump = 0;

View File

@ -72,7 +72,7 @@ struct Config
};
enum BufferSwapMode {
bsOnVIUpdate = 0,
bsOnVerticalInterrupt = 0,
bsOnVIOriginChange,
bsOnColorImageChange
};

View File

@ -119,7 +119,7 @@ void VI_UpdateScreen()
const bool bCFB = (gDP.changed&CHANGED_CPU_FB_WRITE) == CHANGED_CPU_FB_WRITE;
bool bNeedSwap = false;
switch (config.frameBufferEmulation.bufferSwapMode) {
case Config::bsOnVIUpdate:
case Config::bsOnVerticalInterrupt:
bNeedSwap = true;
break;
case Config::bsOnVIOriginChange: