From 4d79a9833c65997d517af0ffebbaf1f72a6778f5 Mon Sep 17 00:00:00 2001 From: urchlay Date: Sat, 15 Oct 2005 17:35:16 +0000 Subject: [PATCH] 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 --- stella/src/debugger/Debugger.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/stella/src/debugger/Debugger.cxx b/stella/src/debugger/Debugger.cxx index df6ef2c17..23dc810bf 100644 --- a/stella/src/debugger/Debugger.cxx +++ b/stella/src/debugger/Debugger.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // 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" @@ -311,7 +311,12 @@ const string Debugger::getSourceLines(int addr) { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void Debugger::autoExec() { // 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 string file = myOSystem->romFile();