mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-08-15 10:27:26 +00:00
(Coverity) Initialise Bus variables in constructor.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
@@ -9,7 +9,10 @@
|
|||||||
namespace EightBit {
|
namespace EightBit {
|
||||||
class Bus {
|
class Bus {
|
||||||
public:
|
public:
|
||||||
Bus() {}
|
Bus()
|
||||||
|
: m_temporary(0xff), m_data(nullptr) {
|
||||||
|
m_address.word = 0xffff;
|
||||||
|
}
|
||||||
|
|
||||||
Signal<AddressEventArgs> WrittenByte;
|
Signal<AddressEventArgs> WrittenByte;
|
||||||
Signal<AddressEventArgs> ReadByte;
|
Signal<AddressEventArgs> ReadByte;
|
||||||
|
Reference in New Issue
Block a user