Remove help line and change an option
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1334
This commit is contained in:
parent
4fadb16b47
commit
77dda34be0
3 changed files with 11 additions and 6 deletions
|
@ -148,7 +148,6 @@ bool MIDI_Available(void) {
|
|||
|
||||
void MIDI_Init(Section * sec) {
|
||||
Section_prop * section=static_cast<Section_prop *>(sec);
|
||||
MSG_Add("MIDI_CONFIGFILE_HELP","Set midi output device,alsa,oss,win32,coreaudio,none\n");
|
||||
const char * dev=section->Get_string("device");
|
||||
const char * conf=section->Get_string("config");
|
||||
/* If device = "default" go for first handler that works */
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: render.cpp,v 1.17 2003-10-14 15:27:39 harekiet Exp $ */
|
||||
/* $Id: render.cpp,v 1.18 2003-10-14 23:32:32 harekiet Exp $ */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
|
@ -392,7 +392,6 @@ static void DecreaseFrameSkip(void) {
|
|||
}
|
||||
|
||||
void RENDER_Init(Section * sec) {
|
||||
MSG_Add("RENDER_CONFIGFILE_HELP","Available scalers: none, normal2x, advmame2x\n");
|
||||
Section_prop * section=static_cast<Section_prop *>(sec);
|
||||
|
||||
render.pal.first=256;
|
||||
|
@ -400,7 +399,7 @@ void RENDER_Init(Section * sec) {
|
|||
render.frameskip.max=section->Get_int("frameskip");
|
||||
render.frameskip.count=0;
|
||||
#if (C_SSHOT)
|
||||
render.shot.dir=section->Get_string("snapshots");
|
||||
render.shot.dir=section->Get_string("snapdir");
|
||||
KEYBOARD_AddEvent(KBD_f5,KBD_MOD_CTRL,EnableScreenShot);
|
||||
#endif
|
||||
const char * scaler;std::string cline;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: sdlmain.cpp,v 1.50 2003-10-14 20:44:15 harekiet Exp $ */
|
||||
/* $Id: sdlmain.cpp,v 1.51 2003-10-14 23:32:32 harekiet Exp $ */
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
|
@ -299,7 +299,6 @@ static void KillSwitch(void){
|
|||
}
|
||||
|
||||
static void GUI_StartUp(Section * sec) {
|
||||
MSG_Add("SDL_CONFIGFILE_HELP","SDL related options.\n");
|
||||
sec->AddDestroyFunction(&GUI_ShutDown);
|
||||
Section_prop * section=static_cast<Section_prop *>(sec);
|
||||
sdl.active=false;
|
||||
|
@ -645,6 +644,14 @@ int main(int argc, char* argv[]) {
|
|||
sdl_sec->Add_int("sensitivity",100);
|
||||
sdl_sec->Add_bool("waitonerror",true);
|
||||
/* Init all the dosbox subsystems */
|
||||
|
||||
MSG_Add("SDL_CONFIGFILE_HELP",
|
||||
"fullscreen -- Start dosbox directly in fullscreen.\n"
|
||||
"autolock -- Mouse will automatically lock, if you click on the screen.\n"
|
||||
"sensitiviy -- Mouse sensitivity.\n"
|
||||
"waitonerror -- Wait before closing the console if dosbox has an error.\n"
|
||||
);
|
||||
|
||||
|
||||
DOSBOX_Init();
|
||||
std::string config_file;
|
||||
|
|
Loading…
Add table
Reference in a new issue