Ticket #8332: fmopl.h.diff

File fmopl.h.diff, 897 bytes (added by SF/damienguard, 20 years ago)
  • fmopl.h

    RCS file: /cvsroot/scummvm/scummvm/sound/fmopl.h,v
    retrieving revision 1.11
    diff -u -r1.11 fmopl.h
     
    2727#define FMOPL_H_
    2828
    2929#include "common/scummsys.h"
     30#include "common/util.h"
    3031
    3132enum {
    3233        FMOPL_ENV_BITS_HQ = 16,
     
    138139        int IRQParam;                                           /* IRQ parameter  */
    139140        OPL_UPDATEHANDLER UpdateHandler;        /* stream update handler   */
    140141        int UpdateParam;                                        /* stream update parameter */
     142
    141143} FM_OPL;
    142144
    143145/* ---------- Generic interface section ---------- */
     
    158160int OPLTimerOver(FM_OPL *OPL, int c);
    159161void OPLWriteReg(FM_OPL *OPL, int r, int v);
    160162void YM3812UpdateOne(FM_OPL *OPL, int16 *buffer, int length);
     163
     164static Common::RandomSource oplRnd;                     /* OPL random number generator */
     165
    161166#endif