ESSreg macro
This commit is contained in:
@@ -140,6 +140,8 @@ typedef struct sb_dsp_t {
|
||||
|
||||
uint8_t azt_eeprom[AZTECH_EEPROM_SIZE]; /* the eeprom in the Aztech cards is attached to the DSP */
|
||||
|
||||
uint8_t ess_regs[256]; /* ESS registers. */
|
||||
|
||||
mpu_t *mpu;
|
||||
} sb_dsp_t;
|
||||
|
||||
|
@@ -135,6 +135,8 @@ sb_dsp_log(const char *fmt, ...)
|
||||
# define sb_dsp_log(fmt, ...)
|
||||
#endif
|
||||
|
||||
#define ESSreg(reg) (dsp)->ess_regs[reg - 0xA0]
|
||||
|
||||
static __inline double
|
||||
sinc(double x)
|
||||
{
|
||||
|
Reference in New Issue
Block a user