cleanup
This commit is contained in:
parent
3178ec4cd2
commit
be738f9652
2 changed files with 8 additions and 8 deletions
2
bus.cpp
2
bus.cpp
|
@ -18,7 +18,7 @@ constexpr int n_pages = 12;
|
|||
constexpr int n_pages = 16;
|
||||
#endif
|
||||
|
||||
bus::bus() : c(nullptr), tm11(nullptr), rk05_(nullptr), rx02_(nullptr), tty_(nullptr)
|
||||
bus::bus()
|
||||
{
|
||||
m = new memory(n_pages * 8192);
|
||||
|
||||
|
|
2
bus.h
2
bus.h
|
@ -29,7 +29,7 @@ private:
|
|||
|
||||
memory *m { nullptr };
|
||||
|
||||
page_t pages[16];
|
||||
page_t pages[16] { 0 };
|
||||
|
||||
uint16_t MMR2 { 0 }, MMR3 { 0 }, CPUERR { 0 }, PIR { 0 }, CSR { 0 };
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue