Skip to content

Commit

Permalink
DX_PAUSE_LAG_FIX
Browse files Browse the repository at this point in the history
  • Loading branch information
HailSanta authored and HailSanta committed Jan 24, 2024
1 parent ae8cda2 commit 39e4f3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/background_gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ void gfx_transfer_frame_to_depth(u16* frameBuffer0, u16* frameBuffer1, u16* zBuf
. .
*/
//TODO emulator test -- find which ones have bad performance here
#if DX_DISABLE_PAUSE_LAG_FIX
#if !DX_PAUSE_LAG_FIX
if (((frameBuffer1[pixel] >> 2) & 0xF) < 8) {
gfx_frame_filter_pass_0(frameBuffer0, frameBuffer1, y - 1, x - 1, &filterBuf0[0]);
gfx_frame_filter_pass_0(frameBuffer0, frameBuffer1, y - 1, x + 1, &filterBuf0[1]);
Expand Down
2 changes: 1 addition & 1 deletion src/dx/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
#define USE_PROFILER 1

/// Skip laggy blur operations when opening the pause menu on emulator
#define DX_DISABLE_PAUSE_LAG_FIX 0
#define DX_PAUSE_LAG_FIX 1

#endif

0 comments on commit 39e4f3e

Please sign in to comment.