mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-11 02:29:50 +00:00
(Coverity) Initialise Bus variables in constructor.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
parent
c5c842a70b
commit
b0923bd472
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user