Permalink
Browse files

video-gliden64: Update to commit 85c757d.

fzurita/GLideN64@85c757d

* 85c757d Fix issue where the PostProcessor class would sometimes be reconstructed.
* de4d334 Enable doNotResetTLUTmode hack for Quake II.
* 5f7cdb4 gDPFullSync(): add check, that buffer copied to RDRAM is not auxiliary one.
* 731e5c2 Support correctTexrectCoords option in GUI
* 6cacfa8 Support correctTexrectCoords option in mupen64plus config
* 269b3c1 Add correctTexrectCoords option: make texrect coordinates continuous to avoid black lines between them.
* f767eb7 Add special blend mode for Bust-A-Move 3 DX
  • Loading branch information...
1 parent 1fdb3b1 commit d7f3e89f249205d1383d881462b45eb830e21885 @fzurita fzurita committed Apr 22, 2016
@@ -24,6 +24,8 @@
#define FRAGMENT_SHADER_END "\n"
#endif
+PostProcessor PostProcessor::processor;
+
static const char * vertexShader =
SHADER_VERSION
"#if (__VERSION__ > 120) \n"
@@ -484,7 +486,6 @@ void PostProcessor::destroy()
PostProcessor & PostProcessor::get()
{
- static PostProcessor processor;
return processor;
}
@@ -21,6 +21,7 @@ class PostProcessor {
private:
PostProcessor();
PostProcessor(const PostProcessor & _other);
+
void _initCommon();
void _destroyCommon();
void _initGammaCorrection();
@@ -47,6 +48,8 @@ class PostProcessor {
CachedTexture * m_pTextureResolved;
CachedTexture * m_pTextureGlowMap;
CachedTexture * m_pTextureBlur;
+
+ static PostProcessor processor;
};
#endif // POST_PROCESSOR_H
@@ -350,7 +350,8 @@ void RSP_Init()
config.generalEmulation.hacks |= hack_rectDepthBufferCopyPD;
else if (strstr(RSP.romname, (const char *)"Jeremy McGrath Super") != NULL)
config.generalEmulation.hacks |= hack_ModifyVertexXyInShader;
- else if (strstr(RSP.romname, (const char *)"Quake") != NULL)
+ else if (strstr(RSP.romname, (const char *)"Quake") != NULL ||
+ strstr(RSP.romname, (const char *)"QUAKE II") != NULL)
config.generalEmulation.hacks |= hack_doNotResetTLUTmode;
else if (strstr(RSP.romname, (const char *)"quarterback_club_98") != NULL)
config.generalEmulation.hacks |= hack_LoadDepthTextures;
@@ -1 +1 @@
-#define PLUGIN_REVISION "731e5c2"
+#define PLUGIN_REVISION "85c757d"
@@ -900,7 +900,11 @@ void gDPFullSync()
}
const bool sync = config.frameBufferEmulation.copyToRDRAM == Config::ctSync;
- if (config.frameBufferEmulation.copyToRDRAM != Config::ctDisable && !FBInfo::fbInfo.isSupported())
+ if (config.frameBufferEmulation.copyToRDRAM != Config::ctDisable &&
+ !FBInfo::fbInfo.isSupported() &&
+ frameBufferList().getCurrent() != nullptr &&
+ !frameBufferList().getCurrent()->isAuxiliary()
+ )
FrameBuffer_CopyToRDRAM(gDP.colorImage.address, sync);
if (RSP.bLLE) {

0 comments on commit d7f3e89

Please sign in to comment.