summaryrefslogtreecommitdiff
path: root/gui/worker.cc
diff options
context:
space:
mode:
authorSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-04-17 19:57:48 -0400
committerSiddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com>2025-04-17 19:57:48 -0400
commit0bcc0e4e2dfe9073df3837a0ba5b7ff1d1fa9fbc (patch)
tree149676ceb44a2474ccba6e7520b7943e82c596fc /gui/worker.cc
parent62b9e280d5d0222710e491dcd28fe26bea915dcd (diff)
Loading binary program into dram
Diffstat (limited to 'gui/worker.cc')
-rw-r--r--gui/worker.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/worker.cc b/gui/worker.cc
index 9202b89..bb64cb9 100644
--- a/gui/worker.cc
+++ b/gui/worker.cc
@@ -60,6 +60,10 @@ Worker::~Worker()
delete this->c;
}
+void Worker::loadProgram(std::vector<signed int> p) {
+ this->d->load(p);
+}
+
void Worker::refreshDram()
{
qDebug() << "Refreshing Dram";