generated from sigonasr2/CPlusPlusProjectTemplate
Include a bool for switching emulation modes
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
229509bc3b
commit
32be6c426f
Binary file not shown.
2
main.cpp
2
main.cpp
@ -57,7 +57,7 @@ public:
|
||||
std::mt19937 gen; //Standard mersenne_twister_engine seeded with rd()
|
||||
std::uniform_int_distribution<> distrib;
|
||||
std::array<Key,16>keymap{X,K1,K2,K3,Q,W,E,A,S,D,Z,C,K4,R,F,V};
|
||||
bool USE_ORIGINAL_CHIP8_SET=true;
|
||||
bool USE_ORIGINAL_CHIP8_SET=true; //True means use the original CHIP-8 spec (COSMAC VIP emulation). Set to false to use CHIP-48 spec.
|
||||
|
||||
std::string Display8(int number){
|
||||
std::bitset<8>numb(number);
|
||||
|
Loading…
x
Reference in New Issue
Block a user