From 67539b6d43c5be1be09994b086e15ead28e3ed3e Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 17 Oct 2022 13:29:38 +0200 Subject: [PATCH] Emulator: Change PPU::State values --- src/ppu.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ppu.h b/src/ppu.h index 91600aa..b17654b 100644 --- a/src/ppu.h +++ b/src/ppu.h @@ -41,10 +41,10 @@ public: ~PPU(); enum State : uint8_t { - OAMSearch, - PixelTransfer, - HBlank, - VBlank, + HBlank = 0, + VBlank = 1, + OAMSearch = 2, + PixelTransfer = 3, }; enum Palette : uint16_t { @@ -95,5 +95,5 @@ private: PixelFifo m_pixel_fifo; uint32_t m_entity; - std::array m_screen; + std::array m_screen; };