From d4d438412edf2085a4aa3bb5dcacbe81ea086c09 Mon Sep 17 00:00:00 2001 From: nick-less Date: Mon, 17 Dec 2018 18:09:11 +0100 Subject: [PATCH] added getter for flags --- src/Cpu65816.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Cpu65816.cpp b/src/Cpu65816.cpp index 1972ab4..6228cd5 100644 --- a/src/Cpu65816.cpp +++ b/src/Cpu65816.cpp @@ -63,6 +63,10 @@ Stack *Cpu65816::getStack() { return &mStack; } +CpuStatus *Cpu65816::getCpuStatus() { + return &mCpuStatus; +} + /** * Resets the cpu to its initial state.