mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-02-24 15:12:23 +01:00
byuu says: Basically just a project rename, with s/bsnes/higan and the new icon from lowkee added in. It won't compile on Windows because I forgot to update the resource.rc file, and a path transform command isn't working on Windows. It was really just meant as a starting point, so that v091 WIPs can flow starting from .00 with the new name (it overshadows bsnes v091, so publicly speaking this "shouldn't exist" and will probably be deleted from Google Code when v092 is ready.)
33 lines
478 B
C++
Executable File
33 lines
478 B
C++
Executable File
struct DMC {
|
|
unsigned length_counter;
|
|
bool irq_pending;
|
|
|
|
uint4 period;
|
|
unsigned period_counter;
|
|
|
|
bool irq_enable;
|
|
bool loop_mode;
|
|
|
|
uint8 dac_latch;
|
|
uint8 addr_latch;
|
|
uint8 length_latch;
|
|
|
|
uint15 read_addr;
|
|
unsigned dma_delay_counter;
|
|
|
|
uint3 bit_counter;
|
|
bool have_dma_buffer;
|
|
uint8 dma_buffer;
|
|
|
|
bool have_sample;
|
|
uint8 sample;
|
|
|
|
void start();
|
|
void stop();
|
|
uint8 clock();
|
|
|
|
void power();
|
|
void reset();
|
|
void serialize(serializer&);
|
|
} dmc;
|