getting conditional branch now
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
#include <ircolib/types.hpp>
|
||||
|
||||
namespace weee::core {
|
||||
union DCR {
|
||||
struct {
|
||||
unsigned e : 1;
|
||||
unsigned r : 1;
|
||||
unsigned i : 1;
|
||||
unsigned d : 1;
|
||||
unsigned le0 : 2;
|
||||
unsigned le1 : 2;
|
||||
unsigned fmt : 2;
|
||||
unsigned : 6;
|
||||
};
|
||||
|
||||
ircolib::u16 raw;
|
||||
};
|
||||
|
||||
struct video_interface {
|
||||
void write(ircolib::u32, ircolib::u16);
|
||||
|
||||
private:
|
||||
DCR dcr{};
|
||||
};
|
||||
} // namespace weee::core
|
||||
Reference in New Issue
Block a user