all repos — mgba @ 328a41dec7d2955fc9833854156430e6c21774eb

mGBA Game Boy Advance Emulator

src/platform/qt/MemoryView.cpp (view raw)

 1/* Copyright (c) 2013-2015 Jeffrey Pfau
 2 *
 3 * This Source Code Form is subject to the terms of the Mozilla Public
 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 6
 7#include "MemoryView.h"
 8
 9using namespace QGBA;
10
11MemoryView::MemoryView(GameController* controller, QWidget* parent)
12	: QWidget(parent)
13	, m_controller(controller)
14{
15	m_ui.setupUi(this);
16
17	m_ui.hexfield->setController(controller);
18}