From af1473e6497e746ae62ec4a40af3814fa30ac7fb Mon Sep 17 00:00:00 2001 From: LunaMoo Date: Tue, 27 Mar 2018 11:31:30 +0200 Subject: [PATCH] Comment out a bunch of things I don't want in my builds. --- Core/Config.cpp | 4 ++-- ext/native/thin3d/thin3d_d3d11.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index dddf74f981..48a7afa3b4 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -367,7 +367,7 @@ static ConfigSetting generalSettings[] = { ConfigSetting("DumpAudio", &g_Config.bDumpAudio, false), ConfigSetting("SaveLoadResetsAVdumping", &g_Config.bSaveLoadResetsAVdumping, false), ConfigSetting("StateSlot", &g_Config.iCurrentStateSlot, 0, true, true), - ConfigSetting("EnableStateUndo", &g_Config.bEnableStateUndo, &DefaultEnableStateUndo, true, true), + ConfigSetting("EnableStateUndo", &g_Config.bEnableStateUndo, false/*&DefaultEnableStateUndo*/, true, true), ConfigSetting("RewindFlipFrequency", &g_Config.iRewindFlipFrequency, 0, true, true), ConfigSetting("GridView1", &g_Config.bGridView1, true), @@ -534,7 +534,7 @@ static ConfigSetting graphicsSettings[] = { // Most low-performance (and many high performance) mobile GPUs do not support aniso anyway so defaulting to 4 is fine. ConfigSetting("AnisotropyLevel", &g_Config.iAnisotropyLevel, 4, true, true), - ReportedConfigSetting("VertexDecCache", &g_Config.bVertexCache, &DefaultVertexCache, true, true), + ReportedConfigSetting("VertexDecCache", &g_Config.bVertexCache, false/*&DefaultVertexCache*/, true, true), ReportedConfigSetting("TextureBackoffCache", &g_Config.bTextureBackoffCache, false, true, true), ReportedConfigSetting("TextureSecondaryCache", &g_Config.bTextureSecondaryCache, false, true, true), ReportedConfigSetting("VertexDecJit", &g_Config.bVertexDecoderJit, &DefaultCodeGen, false), diff --git a/ext/native/thin3d/thin3d_d3d11.cpp b/ext/native/thin3d/thin3d_d3d11.cpp index 9cb46b3fc6..5e6e7f7ec3 100644 --- a/ext/native/thin3d/thin3d_d3d11.cpp +++ b/ext/native/thin3d/thin3d_d3d11.cpp @@ -98,7 +98,7 @@ public: void DrawUP(const void *vdata, int vertexCount) override; void Clear(int mask, uint32_t colorval, float depthVal, int stencilVal); - void BeginFrame() override; + // void BeginFrame() override; //Libretro bs std::string GetInfoString(InfoField info) const override { switch (info) { @@ -1276,7 +1276,7 @@ void D3D11DrawContext::Clear(int mask, uint32_t colorval, float depthVal, int st } } -void D3D11DrawContext::BeginFrame() { +/*void D3D11DrawContext::BeginFrame() { //Libretro bs context_->OMSetRenderTargets(1, &curRenderTargetView_, curDepthStencilView_); if (curBlend_) { @@ -1302,7 +1302,7 @@ void D3D11DrawContext::BeginFrame() { context_->VSSetConstantBuffers(0, 1, &curPipeline_->dynamicUniforms); } } -} +}*/ void D3D11DrawContext::CopyFramebufferImage(Framebuffer *srcfb, int level, int x, int y, int z, Framebuffer *dstfb, int dstLevel, int dstX, int dstY, int dstZ, int width, int height, int depth, int channelBit) { D3D11Framebuffer *src = (D3D11Framebuffer *)srcfb;