aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/registers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/coreview/registers.cpp')
-rw-r--r--qtmips_gui/coreview/registers.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/qtmips_gui/coreview/registers.cpp b/qtmips_gui/coreview/registers.cpp
index 87db32e..9a4fcff 100644
--- a/qtmips_gui/coreview/registers.cpp
+++ b/qtmips_gui/coreview/registers.cpp
@@ -10,13 +10,13 @@ using namespace coreview;
//////////////////////
Registers::Registers() : QGraphicsObject(nullptr), name("Registers", this) {
- con_read1 = new Connector(-M_PI_2);
- con_read1_reg = new Connector(-M_PI_2);
- con_read2 = new Connector(-M_PI_2);
- con_read2_reg = new Connector(-M_PI_2);
- con_write = new Connector(-M_PI_2);
- con_write_reg = new Connector(-M_PI_2);
- con_ctl_write = new Connector(-M_PI_2);
+ con_read1 = new Connector(Connector::AX_Y);
+ con_read1_reg = new Connector(Connector::AX_Y);
+ con_read2 = new Connector(Connector::AX_Y);
+ con_read2_reg = new Connector(Connector::AX_Y);
+ con_write = new Connector(Connector::AX_Y);
+ con_write_reg = new Connector(Connector::AX_Y);
+ con_ctl_write = new Connector(Connector::AX_Y);
// TODO do we want to have any hooks on real registers?