Ignore:
Timestamp:
09/23/06 18:24:00 (18 years ago)
Author:
zorg
Message:

Various fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mppenc/branches/zorg/src/keyboard.c

    r46 r49  
    2626WaitKey ( void )
    2727{
    28     return _getch ();
     28    return getch ();
    2929}
    3030
     
    3434    int  ch;
    3535
    36     if ( !_kbhit () )
     36    if ( !kbhit () )
    3737        return -1;
    3838
    39     ch = _getch ();
    40     _ungetch (ch);
     39    ch = getch ();
     40    ungetch (ch);
    4141    return ch;
    4242}
     
    4545CheckKey ( void )
    4646{
    47     if ( !_kbhit () )
     47    if ( !kbhit () )
    4848        return -1;
    4949
    50     return _getch ();
     50    return getch ();
    5151}
    5252
Note: See TracChangeset for help on using the changeset viewer.