nes/src/Shifter.h
Selim Mustafaev 796828fa01 Adding controller.
Adding logging.
Fixing lots of bugs.
2023-09-18 00:10:41 +03:00

27 lines
384 B
C++

//
// Created by Selim Mustafaev on 09.09.2023.
//
#ifndef NES_SHIFTER_H
#define NES_SHIFTER_H
#include <cstdint>
namespace nes {
class Shifter {
public:
Shifter();
void load(uint8_t lo, uint8_t hi);
void shift();
uint16_t getValue(uint8_t offset);
public:
uint16_t _lo;
uint16_t _hi;
};
}
#endif //NES_SHIFTER_H