]> Shamusworld >> Repos - virtualjaguar/blob - src/wavetable.h
Added patch by Seb to fix endianness of EEPROM save files.
[virtualjaguar] / src / wavetable.h
1 //
2 // Jaguar Wavetable ROM
3 //
4 // In a real Jaguar, these are 16-bit values that are sign-extended to 32 bits.
5 // Each entry has 128 values (e.g., SINE goes from F1D200-F1D3FF)
6 //
7
8 // NOTE: This can probably be converted to 32-bit table, since I don't think
9 //       that unaligned access is allowed...
10
11 #ifndef __WAVETABLE_H__
12 #define __WAVETABLE_H__
13
14 // How to preserve const-ness of this stuff without introducing tons of hairiness?
15 extern /*const*/ unsigned char waveTableROM[];
16
17 #endif  // __WAVETABLE_H__