lsnes/generic/sdump.hpp
Ilari Liusvaara 47ca48e166 SDUMP support
This is useful for dumping to high-precision YUV.Note that this code
is very preliminary and thus probably very buggy.
2011-10-27 05:08:46 +03:00

17 lines
No EOL
400 B
C++

#ifndef _sdump__hpp__included__
#define _sdump__hpp__included__
#include <string>
#include <cstdint>
#define SDUMP_FLAG_HIRES 1
#define SDUMP_FLAG_INTERLACED 2
#define SDUMP_FLAG_OVERSCAN 4
#define SDUMP_FLAG_PAL 8
void sdump_open(const std::string& prefix, bool ss);
void sdump_close();
void sdump_frame(const uint32_t* buffer, unsigned flags);
void sdump_sample(short left, short right);
#endif