Skip to content

Commit

Permalink
removed -termtype as an option for playmode command line
Browse files Browse the repository at this point in the history
may be readded if ASCII rendering of TV screen is ever implemented
  • Loading branch information
JetSetIlly committed May 21, 2022
1 parent 1f58af2 commit 63dcc6d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gopher2600.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ func emulate(emulationMode emulation.Mode, md *modalflag.Modes, sync *mainSync)
fpsCap := md.AddBool("fpscap", true, "cap fps to TV specification")
profile := md.AddString("profile", "none", "run performance check with profiling: command separated CPU, MEM, TRACE or ALL")
log := md.AddBool("log", false, "echo debugging log to stdout")
termType := md.AddString("term", "IMGUI", "terminal type to use in debug mode: IMGUI, COLOR, PLAIN")
multiload := md.AddInt("multiload", -1, "force multiload byte (supercharger only; 0 to 255)")

// playmode specific arguments
Expand All @@ -301,8 +300,14 @@ func emulate(emulationMode emulation.Mode, md *modalflag.Modes, sync *mainSync)

// debugger specific arguments
var initScript *string
var termType *string
if emulationMode == emulation.ModeDebugger {
initScript = md.AddString("initscript", defInitScript, "script to run on debugger start")
termType = md.AddString("term", "IMGUI", "terminal type to use in debug mode: IMGUI, COLOR, PLAIN")
} else {
// non debugger emulation is always of type IMGUI
tt := "IMGUI"
termType = &tt
}

// statsview if available
Expand Down

0 comments on commit 63dcc6d

Please sign in to comment.