CDROM: Implement get version and getstat commands

This commit is contained in:
Connor McLaughlin
2019-09-17 22:18:58 +10:00
parent b951f27381
commit e3c6035152
8 changed files with 159 additions and 12 deletions

View File

@ -88,7 +88,7 @@ struct BitField
BitField& operator|=(DataType rhs)
{
SetValue(GetValue() & rhs);
SetValue(GetValue() | rhs);
return *this;
}

View File

@ -20,7 +20,7 @@ public:
T* GetFrontPointer() { return m_ptr[m_head]; }
constexpr u32 GetCapacity() const { return CAPACITY; }
u32 GetSize() const { return m_size; }
bool IsEmpty() const { return m_size > 0; }
bool IsEmpty() const { return m_size == 0; }
bool IsFull() const { return m_size == CAPACITY; }
void Clear()