mirror of https://github.com/bsnes-emu/bsnes.git
18 lines
391 B
C++
18 lines
391 B
C++
struct Video {
|
|
Video();
|
|
~Video();
|
|
|
|
auto generate_palette(Emulator::Interface::PaletteMode mode) -> void;
|
|
|
|
uint32* palette = nullptr;
|
|
|
|
private:
|
|
Emulator::Interface::PaletteMode mode;
|
|
static const uint16 monochrome[4][3];
|
|
auto paletteDMG(uint color) const -> uint;
|
|
auto paletteSGB(uint color) const -> uint;
|
|
auto paletteCGB(uint color) const -> uint;
|
|
};
|
|
|
|
extern Video video;
|