mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
16 lines
257 B
C++
Executable file
16 lines
257 B
C++
Executable file
struct Sweep {
|
|
uint8 shift;
|
|
bool decrement;
|
|
uint3 period;
|
|
uint8 counter;
|
|
bool enable;
|
|
bool reload;
|
|
uint11 pulse_period;
|
|
|
|
bool check_period();
|
|
void clock(unsigned channel);
|
|
|
|
void power();
|
|
void reset();
|
|
void serialize(serializer&);
|
|
};
|