mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 00:15:14 +01:00
Add 2xBR and DDT video filters (#1070)
* Add 2xBR and DDT video filters * Add 2xBR and DDT video filters * Add 2xBR and DDT video filters * Add 2xBR and DDT video filters (fix file)
This commit is contained in:
parent
1e957ae1a9
commit
19c89b028e
1084
source/filter.cpp
1084
source/filter.cpp
File diff suppressed because it is too large
Load Diff
@ -28,6 +28,8 @@ enum RenderFilter{
|
|||||||
FILTER_HQ2XBOLD,
|
FILTER_HQ2XBOLD,
|
||||||
FILTER_SCALE2X,
|
FILTER_SCALE2X,
|
||||||
FILTER_TVMODE,
|
FILTER_TVMODE,
|
||||||
|
FILTER_2XBR,
|
||||||
|
FILTER_DDT,
|
||||||
|
|
||||||
NUM_FILTERS
|
NUM_FILTERS
|
||||||
};
|
};
|
||||||
@ -50,6 +52,7 @@ void SelectFilterMethod ();
|
|||||||
const char* GetFilterName (RenderFilter filterID);
|
const char* GetFilterName (RenderFilter filterID);
|
||||||
int GetFilterScale(RenderFilter filterID);
|
int GetFilterScale(RenderFilter filterID);
|
||||||
void InitLUTs();
|
void InitLUTs();
|
||||||
|
void SetupFormat();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -568,6 +568,7 @@ if (CONF_GetAspectRatio() == CONF_ASPECT_16_9 && (*(u32*)(0xCD8005A0) >> 16) ==
|
|||||||
SetupVideoMode(rmode);
|
SetupVideoMode(rmode);
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
InitLUTs(); // init LUTs for hq2x
|
InitLUTs(); // init LUTs for hq2x
|
||||||
|
SetupFormat(); // For 2xBR
|
||||||
#endif
|
#endif
|
||||||
LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 68);
|
LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 68);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user