From a702893fd1e1e59b5bfc770c5088120e8c3ece56 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Mon, 7 Jul 2025 21:49:48 +1200 Subject: Sandbox the file device Unless the --trust-files switch is used, the file device will be sandboxed to a program-specific config folder placed according to the conventions of the operating system. --- src/emulators/headless_emulator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emulators/headless_emulator.rs') diff --git a/src/emulators/headless_emulator.rs b/src/emulators/headless_emulator.rs index cac58cf..770bae3 100644 --- a/src/emulators/headless_emulator.rs +++ b/src/emulators/headless_emulator.rs @@ -70,7 +70,7 @@ impl HeadlessDeviceBus { math: MathDevice::new(), clock: ClockDevice::new(), stream: StreamDevice::new(&config), - file: FileDevice::new(), + file: FileDevice::new(&config), wake_queue: WakeQueue::new(), } } -- cgit v1.2.3-70-g09d2