Fixed use render thread would get overriden by define always
This commit is contained in:
parent
0a86cf4af7
commit
d0aa4a9ac2
3 changed files with 6 additions and 8 deletions
|
@ -1103,7 +1103,11 @@ struct amiberry_options
|
|||
bool write_logfile = false;
|
||||
bool swap_win_alt_keys = false;
|
||||
bool gui_joystick_control = true;
|
||||
#ifdef USE_RENDER_THREAD
|
||||
bool use_sdl2_render_thread = true;
|
||||
#else
|
||||
bool use_sdl2_render_thread = false;
|
||||
#endif
|
||||
int default_line_mode = 0;
|
||||
int input_default_mouse_speed = 100;
|
||||
bool input_keyboard_as_joystick_stop_keypresses = false;
|
||||
|
|
|
@ -409,12 +409,6 @@ void target_default_options(struct uae_prefs* p, int type)
|
|||
if (amiberry_options.default_frameskip)
|
||||
p->gfx_framerate = 2;
|
||||
|
||||
#ifdef USE_RENDER_THREAD
|
||||
amiberry_options.use_sdl2_render_thread = true;
|
||||
#else
|
||||
amiberry_options.use_sdl2_render_thread = false;
|
||||
#endif
|
||||
|
||||
if (amiberry_options.default_stereo_separation >= 0 && amiberry_options.default_stereo_separation <= 10)
|
||||
p->sound_stereo_separation = amiberry_options.default_stereo_separation;
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
#define GETBDM(x) (((x) - (((x) / 10000) * 10000)) / 100)
|
||||
#define GETBDD(x) ((x) % 100)
|
||||
|
||||
#define AMIBERRYVERSION _T("Amiberry v3.2 beta (2020-06-09)")
|
||||
#define AMIBERRYDATE MAKEBD(2020, 6, 9)
|
||||
#define AMIBERRYVERSION _T("Amiberry v3.2 beta (2020-06-11)")
|
||||
#define AMIBERRYDATE MAKEBD(2020, 6, 11)
|
||||
|
||||
extern std::string get_version_string();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue