mirror of https://github.com/stella-emu/stella.git
Use native path separator for autoexec.stella, instead of hard-coded /
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@836 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
37724f1b00
commit
4d79a9833c
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: Debugger.cxx,v 1.101 2005-10-15 16:38:17 urchlay Exp $
|
// $Id: Debugger.cxx,v 1.102 2005-10-15 17:35:16 urchlay Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include "bspf.hxx"
|
#include "bspf.hxx"
|
||||||
|
@ -311,7 +311,12 @@ const string Debugger::getSourceLines(int addr) {
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void Debugger::autoExec() {
|
void Debugger::autoExec() {
|
||||||
// autoexec.stella is always run
|
// autoexec.stella is always run
|
||||||
myPrompt->print("autoExec():\n" + myParser->exec(myOSystem->baseDir() + "/autoexec.stella") + "\n");
|
myPrompt->print("autoExec():\n" +
|
||||||
|
myParser->exec(
|
||||||
|
myOSystem->baseDir() +
|
||||||
|
BSPF_PATH_SEPARATOR +
|
||||||
|
"autoexec.stella") +
|
||||||
|
"\n");
|
||||||
|
|
||||||
// also, "romname.stella" if present
|
// also, "romname.stella" if present
|
||||||
string file = myOSystem->romFile();
|
string file = myOSystem->romFile();
|
||||||
|
|
Loading…
Reference in New Issue