1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +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.copyToRDRAM = ctAsync;
frameBufferEmulation.N64DepthCompare = 0; frameBufferEmulation.N64DepthCompare = 0;
frameBufferEmulation.aspect = 1; frameBufferEmulation.aspect = 1;
frameBufferEmulation.bufferSwapMode = 0; frameBufferEmulation.bufferSwapMode = bsOnVerticalInterrupt;
textureFilter.txCacheSize = 100 * gc_uMegabyte; textureFilter.txCacheSize = 100 * gc_uMegabyte;
textureFilter.txDump = 0; textureFilter.txDump = 0;

View File

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

View File

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