diff --git a/Source/Core/Core/HW/VideoInterface.cpp b/Source/Core/Core/HW/VideoInterface.cpp index 0fafd38f48..55bbd56471 100644 --- a/Source/Core/Core/HW/VideoInterface.cpp +++ b/Source/Core/Core/HW/VideoInterface.cpp @@ -375,7 +375,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base) }) ); - // Map 8 bit reads (not writes) to 16 bit reads. + // Map 8 bit reads (not writes) to 16 bit reads. for (int i = 0; i < 0x1000; i += 2) { mmio->Register(base | i, @@ -388,14 +388,14 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base) ); } - // Map 32 bit reads and writes to 16 bit reads and writes. - for (int i = 0; i < 0x1000; i += 4) - { + // Map 32 bit reads and writes to 16 bit reads and writes. + for (int i = 0; i < 0x1000; i += 4) + { mmio->Register(base | i, MMIO::ReadToSmaller(mmio, base | i, base | (i + 2)), MMIO::WriteToSmaller(mmio, base | i, base | (i + 2)) ); - } + } } void SetRegionReg(char region) diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index bd3b0e103b..9ae30b25f2 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -272,7 +272,7 @@ void DMainWindow::UpdateIcons() // Help menu void DMainWindow::OnOpenWebsite() { - QDesktopServices::openUrl(QUrl(SL("https://dolphin-emu.org/"))); + QDesktopServices::openUrl(QUrl(SL("https://dolphin-emu.org/"))); } void DMainWindow::OnOpenDocs() diff --git a/Source/Core/VideoBackends/OGL/GLInterface/GLX.cpp b/Source/Core/VideoBackends/OGL/GLInterface/GLX.cpp index 900a74b0c8..e9549998f8 100644 --- a/Source/Core/VideoBackends/OGL/GLInterface/GLX.cpp +++ b/Source/Core/VideoBackends/OGL/GLInterface/GLX.cpp @@ -21,8 +21,8 @@ static PFNGLXSWAPINTERVALSGIPROC glXSwapIntervalSGI = nullptr; static bool s_glxError; static int ctxErrorHandler(Display *dpy, XErrorEvent *ev) { - s_glxError = true; - return 0; + s_glxError = true; + return 0; } void cInterfaceGLX::SwapInterval(int Interval) diff --git a/Source/Core/VideoCommon/CPMemory.cpp b/Source/Core/VideoCommon/CPMemory.cpp index 739a3e66e3..b7b0754432 100644 --- a/Source/Core/VideoCommon/CPMemory.cpp +++ b/Source/Core/VideoCommon/CPMemory.cpp @@ -29,5 +29,5 @@ void DoCPState(PointerWrap& p) void CopyPreprocessCPStateFromMain() { - memcpy(&g_preprocess_cp_state, &g_main_cp_state, sizeof(CPState)); + memcpy(&g_preprocess_cp_state, &g_main_cp_state, sizeof(CPState)); } diff --git a/Source/Core/VideoCommon/CPMemory.h b/Source/Core/VideoCommon/CPMemory.h index e348f7f38d..124c30a04a 100644 --- a/Source/Core/VideoCommon/CPMemory.h +++ b/Source/Core/VideoCommon/CPMemory.h @@ -237,13 +237,13 @@ class VertexLoaderBase; // STATE_TO_SAVE struct CPState final { - u32 array_bases[16]; - u32 array_strides[16]; - TMatrixIndexA matrix_index_a; - TMatrixIndexB matrix_index_b; - TVtxDesc vtx_desc; - // Most games only use the first VtxAttr and simply reconfigure it all the time as needed. - VAT vtx_attr[8]; + u32 array_bases[16]; + u32 array_strides[16]; + TMatrixIndexA matrix_index_a; + TMatrixIndexB matrix_index_b; + TVtxDesc vtx_desc; + // Most games only use the first VtxAttr and simply reconfigure it all the time as needed. + VAT vtx_attr[8]; // Attributes that actually belong to VertexLoaderManager: BitSet32 attr_dirty; diff --git a/Source/Core/VideoCommon/PixelShaderManager.cpp b/Source/Core/VideoCommon/PixelShaderManager.cpp index cbd68ce92e..0c6d4b73b3 100644 --- a/Source/Core/VideoCommon/PixelShaderManager.cpp +++ b/Source/Core/VideoCommon/PixelShaderManager.cpp @@ -226,8 +226,8 @@ void PixelShaderManager::SetZTextureTypeChanged() break; default: break; - } - dirty = true; + } + dirty = true; } void PixelShaderManager::SetTexCoordChanged(u8 texmapid) diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index a005da3754..76bd93e2ec 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -144,7 +144,7 @@ void TextureCache::Cleanup() while (iter != tcend) { if (frameCount > TEXTURE_KILL_THRESHOLD + iter->second->frameCount && - // EFB copies living on the host GPU are unrecoverable and thus shouldn't be deleted + // EFB copies living on the host GPU are unrecoverable and thus shouldn't be deleted !iter->second->IsEfbCopy()) { delete iter->second;