mirror of https://github.com/bsnes-emu/bsnes.git
21 lines
302 B
C++
21 lines
302 B
C++
|
class Movie {
|
||
|
public:
|
||
|
enum State { Inactive, Playback, Record } state;
|
||
|
|
||
|
void chooseFile();
|
||
|
void play(const string &filename);
|
||
|
void record();
|
||
|
void stop();
|
||
|
|
||
|
Movie();
|
||
|
|
||
|
//private:
|
||
|
file fp;
|
||
|
|
||
|
string makeFilename() const;
|
||
|
int16_t read();
|
||
|
void write(int16_t value);
|
||
|
};
|
||
|
|
||
|
extern Movie movie;
|