Browse Source

Emulator: Change PPU::State values

master
Riyyi 2 years ago
parent
commit
67539b6d43
  1. 10
      src/ppu.h

10
src/ppu.h

@ -41,10 +41,10 @@ public:
~PPU(); ~PPU();
enum State : uint8_t { enum State : uint8_t {
OAMSearch, HBlank = 0,
PixelTransfer, VBlank = 1,
HBlank, OAMSearch = 2,
VBlank, PixelTransfer = 3,
}; };
enum Palette : uint16_t { enum Palette : uint16_t {
@ -95,5 +95,5 @@ private:
PixelFifo m_pixel_fifo; PixelFifo m_pixel_fifo;
uint32_t m_entity; uint32_t m_entity;
std::array<uint8_t, SCREEN_WIDTH * FORMAT_SIZE * SCREEN_HEIGHT> m_screen; std::array<uint8_t, SCREEN_WIDTH * SCREEN_HEIGHT * FORMAT_SIZE> m_screen;
}; };

Loading…
Cancel
Save