all repos — mgba @ d6ccfe003a25bafdc9a6de93c25785fc4e42fcf4

mGBA Game Boy Advance Emulator

SDL: Document -l in the manual
Anthony J. Bentley anthony@anjbe.name
Thu, 06 Aug 2015 01:50:52 -0600
commit

d6ccfe003a25bafdc9a6de93c25785fc4e42fcf4

parent

f9110a9432b84e5cd43183bbc3b8e18c9177e9f0

1 files changed, 29 insertions(+), 0 deletions(-)

jump to
M doc/mgba.6doc/mgba.6

@@ -14,6 +14,7 @@ .Nm mgba

.Op Fl 123456dfg .Op Fl b Ar biosfile .Op Fl c Ar cheatfile +.Op Fl l Ar loglevel .Op Fl p Ar patchfile .Op Fl s Ar n .Op Fl v Ar moviefile

@@ -52,6 +53,34 @@ Start a

.Xr gdb 1 session. By default the session starts on port 2345. +.It Fl l Ar loglevel +Log messages during emulation to +.Dv stdout . +.Ar loglevel +is a bitmask defining which types of messages to log: +.Bl -inset +.It 0x01 +fatal errors +.It 0x02 +errors +.It 0x04 +warnings +.It 0x08 +informative messages +.It 0x10 +debugging messages +.It 0x20 +stub messages +.It 0x100 +in\(hygame errors +.It 0x200 +software interrupts +.It 0x400 +emulator status messages +.It 0x800 +serial I/O messages +.El +The default is to log warnings, errors, fatal errors, and status messages. .It Fl p Ar patchfile , Fl -patch Ar patchfile Specify a patch file in IPS or UPS format. .It Fl s Ar n , Fl -frameskip Ar n