mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-25 22:25:56 +00:00
Cleanups
This commit is contained in:
parent
8d716f4ca1
commit
f03dc4cb62
@ -63,7 +63,11 @@ extern "C" {
|
||||
|
||||
#define ptrdiff_t(a, b) ((word_t)(a)-(word_t)(b))
|
||||
#define CMP_LT_OR_GT(a, b) ((a) - (b))
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a,b) ((a) <= (b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#define DIFF(a, b) ((a)-(b))
|
||||
|
||||
#ifdef LSB_FIRST
|
||||
|
@ -523,7 +523,6 @@ bool config_load_file(const char *path)
|
||||
CONFIG_GET_BOOL_EXTERN(console.screen.gamma_correction, "gamma_correction");
|
||||
|
||||
bool msg_enable = false;
|
||||
bool throttle_enable = false;
|
||||
bool triple_buffering_enable = false;
|
||||
bool custom_bgm_enable = false;
|
||||
bool flicker_filter_enable = false;
|
||||
|
@ -877,8 +877,8 @@ static bool xdk_d3d_frame(void *data, const void *frame,
|
||||
if (d3d->should_resize)
|
||||
{
|
||||
#ifdef _XBOX1
|
||||
D3DDevice_SetFlickerFilter(g_extern.console.screen.flicker_filter_index);
|
||||
D3DDevice_SetSoftDisplayFilter(g_extern.lifecycle_mode_state & (1ULL << MODE_VIDEO_SOFT_FILTER_ENABLE));
|
||||
d3dr->SetFlickerFilter(g_extern.console.screen.flicker_filter_index);
|
||||
d3dr->SetSoftDisplayFilter(g_extern.lifecycle_mode_state & (1ULL << MODE_VIDEO_SOFT_FILTER_ENABLE));
|
||||
#endif
|
||||
xdk_d3d_set_viewport(false);
|
||||
d3d->should_resize = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user