[uae] Re: Snapshot and OS X version (20060328)

  • From: Daniel Pimley <uae@xxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Fri, 31 Mar 2006 19:23:18 +0100


On 31 Mar 2006, at 08:22, Richard Drummond wrote:

To specify a path relative to one of the default paths (whether it's the
default ROM path, floppy path, whatever) you need to use the token
$(FILE_PATH). This is expanded to the appropriate default path, depending
obviously on the context.

My fault, didn't notice that in configuration.txt. But that is a very strange behaviour, I assumed that specifying a default path would simply add it to the list of paths that UAE checks for floppies / ROMs / hardfiles, much the same way that configs are handled i.e. check local directory, check home directory, then check for any other user-specified file. Why not do it like that?


For example with kickstart_rom_file, at first UAE can test the path assuming that it is a full path, then if that fails UAE can test to see if the path is relative (i.e. does it become a valid path with $ (FILE_PATH) prefixed) and if that fails then finally UAE can check to see if the path is valid relative to the local directory.

Regards,
Daniel Pimley


Other related posts: