From dc13ff638cf43b819aad87890aedf72bd65bf360 Mon Sep 17 00:00:00 2001 From: SergioMartin86 Date: Sun, 11 Aug 2024 14:45:05 +0200 Subject: [PATCH] Forcing specific numbers for emum --- source/quickerNES/core/core.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/quickerNES/core/core.hpp b/source/quickerNES/core/core.hpp index 18c68bc..afc13fb 100644 --- a/source/quickerNES/core/core.hpp +++ b/source/quickerNES/core/core.hpp @@ -105,10 +105,10 @@ class Core : private Cpu // APU and Joypad enum controllerType_t { - none_t, - joypad_t, - arkanoidNES_t, - arkanoidFamicom_t, + none_t = 0, + joypad_t = 1, + arkanoidNES_t = 2, + arkanoidFamicom_t = 3, }; Core() : ppu(this)