mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-06-11 10:29:31 +00:00
14 lines
319 B
C++
14 lines
319 B
C++
#include "stdafx.h"
|
|
#include "../inc/ClockedChip.h"
|
|
|
|
EightBit::ClockedChip::ClockedChip(const ClockedChip& rhs) noexcept
|
|
: Chip(rhs) {
|
|
m_cycles = rhs.m_cycles;
|
|
}
|
|
|
|
bool EightBit::ClockedChip::operator==(const EightBit::ClockedChip& rhs) const noexcept {
|
|
return
|
|
Chip::operator==(rhs)
|
|
&& cycles() == rhs.cycles();
|
|
}
|