mirror of https://github.com/mgba-emu/mgba.git
Qt: Make -g flag work in Qt build
This commit is contained in:
parent
f64629448f
commit
4e4a266d53
1
CHANGES
1
CHANGES
|
@ -56,6 +56,7 @@ Misc:
|
||||||
- VFS: VFile.sync now updates modified time
|
- VFS: VFile.sync now updates modified time
|
||||||
- GBA: Add overrides for DBZ: Legacy of Goku II and Ueki no Housoku
|
- GBA: Add overrides for DBZ: Legacy of Goku II and Ueki no Housoku
|
||||||
- Util: Fix intermittent build failure on OS X
|
- Util: Fix intermittent build failure on OS X
|
||||||
|
- Qt: Make -g flag work in Qt build
|
||||||
|
|
||||||
0.4.0: (2016-02-02)
|
0.4.0: (2016-02-02)
|
||||||
Features:
|
Features:
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
.Nd Game Boy Advance emulator
|
.Nd Game Boy Advance emulator
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm mgba-qt
|
.Nm mgba-qt
|
||||||
.Op Fl 123456f
|
.Op Fl 123456fg
|
||||||
.Op Fl b Ar biosfile
|
.Op Fl b Ar biosfile
|
||||||
.Op Fl l Ar loglevel
|
.Op Fl l Ar loglevel
|
||||||
.Op Fl p Ar patchfile
|
.Op Fl p Ar patchfile
|
||||||
|
@ -42,6 +42,11 @@ will use the BIOS specified in the configuration file,
|
||||||
or a high\(hylevel emulated BIOS if none is specified.
|
or a high\(hylevel emulated BIOS if none is specified.
|
||||||
.It Fl f
|
.It Fl f
|
||||||
Start the emulator full\(hyscreen.
|
Start the emulator full\(hyscreen.
|
||||||
|
.It Fl g
|
||||||
|
Start a
|
||||||
|
.Xr gdb 1
|
||||||
|
session.
|
||||||
|
By default the session starts on port 2345.
|
||||||
.It Fl l Ar loglevel
|
.It Fl l Ar loglevel
|
||||||
Log messages during emulation.
|
Log messages during emulation.
|
||||||
.Ar loglevel
|
.Ar loglevel
|
||||||
|
|
|
@ -182,6 +182,15 @@ void Window::argumentsPassed(mArguments* args) {
|
||||||
if (args->fname) {
|
if (args->fname) {
|
||||||
m_controller->loadGame(args->fname);
|
m_controller->loadGame(args->fname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef USE_GDB_STUB
|
||||||
|
if (args->debuggerType == DEBUGGER_GDB) {
|
||||||
|
if (!m_gdbController) {
|
||||||
|
m_gdbController = new GDBController(m_controller, this);
|
||||||
|
m_gdbController->listen();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::resizeFrame(const QSize& size) {
|
void Window::resizeFrame(const QSize& size) {
|
||||||
|
|
Loading…
Reference in New Issue