I built desmume(r4952) used by VS2010 SP1
slot2_auto.cpp
1>..\addons\slot2_auto.cpp(50): error C2065: 'selection' : undeclared identifier
1>..\addons\slot2_auto.cpp(51): error C2065: 'selection' : undeclared identifier
1>..\addons\slot2_auto.cpp(52): error C2065: 'selection' : undeclared identifier
//the relevant part of source code
Guitar.Enabled = (selection == NDS_SLOT2_GUITARGRIP)?true:false;
Piano.Enabled = (selection == NDS_SLOT2_EASYPIANO)?true:false;
Paddle.Enabled = (selection == NDS_SLOT2_PADDLE)?true:false;
slot2_auto.cpp
r4952 source code
slot2_selected_type = selection;
//temp fix (I think)
Guitar.Enabled = (slot2_DetermineType() == NDS_SLOT2_GUITARGRIP)?true:false;
Piano.Enabled = (slot2_DetermineType() == NDS_SLOT2_EASYPIANO)?true:false; Paddle.Enabled = (slot2_DetermineType() == NDS_SLOT2_PADDLE)?true:false;
Anonymous
sorry, display is strange...
Fixed in r4954.
This was due to some Windows front-end code being present in the core code. The code has been moved to the Windows front-end where it belongs.