Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9819


Ignore:
Timestamp:
Nov 25, 2013, 4:01:39 PM (10 years ago)
Author:
georgr
Message:

… another test, sorry for the many commits, will fix
this issue soon so we don't have to debug across boxes

Location:
code/branches/wiimote/src/libraries/core/input
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/wiimote/src/libraries/core/input/InputManager.cc

    r9817 r9819  
    265265                       }
    266266
    267                        exit(0);
     267
    268268
    269269        }
  • code/branches/wiimote/src/libraries/core/input/WiiMote.cc

    r9814 r9819  
    1111        {
    1212                orxout(user_warning) << this->inputStates_.size() << std::endl;
     13                if(p == NULL)
     14              exit(0);
     15                else
     16                  orxout(user_warning) << 'pointer is not null, yay' << std::endl;
    1317                CWiimote::EventTypes e = p->GetEvent();
    1418                if(p->Buttons.isPressed(CButtons::BUTTON_A))
Note: See TracChangeset for help on using the changeset viewer.