Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emulator config improvements #209

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

grahambates
Copy link
Contributor

  • Adds ntsc option
  • Passes FS-UAE options as args. It doesn't really make sense to generate a config file because unlike WinUAE, FS-UAE doesn't have a UI to edit settings at runtime, so this never gets updated.
  • Adds emuargs option to pass additional CLI args to the emulator. Short of mirroring every available FS-UAE option in the debug launch request schema, this is really the only good way to have full control over options. You could use this to pass in custom options or the location of an externally created config file.

- Adds NTSC option
- Passes FS-UAE options as args. It doesn't really make sense to
  generate a config file because unlike WinUAE, FS-UAE doesn't have a UI
  to edit settings at runtime, so this never gets updated.
- Adds `emuargs` option to pass additional CLI args to the emulator.
  Short of mirroring every available FS-UAE option in the debug launch
  request schema, this is really the only good way to have full control
  over options. You could use this to pass in custom options or the
  location of an externally created config file.
@@ -537,7 +541,6 @@ export class AmigaDebugSession extends LoggingDebugSession {
const env = {
...process.env,
LD_LIBRARY_PATH: ".", // Allow Linux fs-uae to find bundled .so files
DYLD_FALLBACK_LIBRARY_PATH: ".", // Allow Mac fs-uae to find bundled .dylib files
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this no longer needed on mac?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the CI script now modifies the binary to reference the lib on a relative path.

@BartmanAbyss BartmanAbyss merged commit 8332e00 into BartmanAbyss:master Feb 2, 2023
@grahambates grahambates deleted the emu_config_changes branch February 2, 2023 12:19
? [ '-portable' ]
// FS-UAE options as args
: [...config].map(([k, v]) => `--${k}=${v}`)),
...args.emuargs
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line causes TypeError: args.emuargs is not iterable when no emuargs are specified, thus breaking debugging for everyone in 1.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants