Skip to content

Instantly share code, notes, and snippets.

@psyke83
Last active July 11, 2019 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psyke83/938c0b08d9dda08c76c063fe2621bf05 to your computer and use it in GitHub Desktop.
Save psyke83/938c0b08d9dda08c76c063fe2621bf05 to your computer and use it in GitHub Desktop.
nativeResFactor -> float
diff --git a/GLideN64/src/Config.cpp b/GLideN64/src/Config.cpp
index 1282cf7..d870b46 100644
--- a/GLideN64/src/Config.cpp
+++ b/GLideN64/src/Config.cpp
@@ -62,7 +62,7 @@ void Config::resetToDefaults()
frameBufferEmulation.forceDepthBufferClear = 0;
frameBufferEmulation.aspect = a43;
frameBufferEmulation.bufferSwapMode = bsOnVerticalInterrupt;
- frameBufferEmulation.nativeResFactor = 0;
+ frameBufferEmulation.nativeResFactor = 1.15f;
frameBufferEmulation.fbInfoReadColorChunk = 0;
frameBufferEmulation.fbInfoReadDepthChunk = 1;
#ifndef MUPENPLUSAPI
diff --git a/GLideN64/src/Config.h b/GLideN64/src/Config.h
index 8f0a12d..89f8253 100644
--- a/GLideN64/src/Config.h
+++ b/GLideN64/src/Config.h
@@ -105,7 +105,7 @@ struct Config
u32 enable;
u32 aspect; // 0: stretch ; 1: 4/3 ; 2: 16/9; 3: adjust
u32 bufferSwapMode; // 0: on VI update call; 1: on VI origin change; 2: on main frame buffer update
- u32 nativeResFactor;
+ f32 nativeResFactor;
u32 N64DepthCompare;
u32 forceDepthBufferClear;
u32 copyAuxToRDRAM;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment