This commit is contained in:
twinaphex 2013-06-03 00:43:17 +02:00
parent 8d716f4ca1
commit f03dc4cb62
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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;

View File

@ -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;