diff options
Diffstat (limited to 'src/chips/nuked/nukedopl3.h')
-rw-r--r-- | src/chips/nuked/nukedopl3.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/chips/nuked/nukedopl3.h b/src/chips/nuked/nukedopl3.h index 268e8de..9849569 100644 --- a/src/chips/nuked/nukedopl3.h +++ b/src/chips/nuked/nukedopl3.h @@ -33,13 +33,16 @@ #define OPL_OPL3_H #include <inttypes.h> +#include <stdint.h> #ifdef __cplusplus extern "C" { #endif + #define OPL_WRITEBUF_SIZE 1024 #define OPL_WRITEBUF_DELAY 2 +#define OPL_FAST_WAVEGEN 1 /* optimized waveform generation */ typedef uintptr_t Bitu; typedef intptr_t Bits; @@ -86,6 +89,12 @@ struct _opl3_slot { Bit32u pg_phase; Bit16u pg_phase_out; Bit8u slot_num; + +#if OPL_FAST_WAVEGEN + Bit16u maskzero; + Bit8u signpos; + Bit8u phaseshift; +#endif }; struct _opl3_channel { |