Declare the init function of the joystick as restartable, so some of the dynamic settings work.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4076
This commit is contained in:
parent
55603e3aa3
commit
06337c9b13
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,7 @@ void DOSBOX_Init(void) {
|
|||
secprop=control->AddSection_prop("joystick",&BIOS_Init,false);//done
|
||||
secprop->AddInitFunction(&INT10_Init);
|
||||
secprop->AddInitFunction(&MOUSE_Init); //Must be after int10 as it uses CurMode
|
||||
secprop->AddInitFunction(&JOYSTICK_Init);
|
||||
secprop->AddInitFunction(&JOYSTICK_Init,true);
|
||||
const char* joytypes[] = { "auto", "2axis", "4axis", "4axis_2", "fcs", "ch", "none",0};
|
||||
Pstring = secprop->Add_string("joysticktype",Property::Changeable::WhenIdle,"auto");
|
||||
Pstring->Set_values(joytypes);
|
||||
|
|
Loading…
Add table
Reference in a new issue