summaryrefslogtreecommitdiff
path: root/src/emulators/headless_emulator.rs
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2025-07-07 21:49:48 +1200
committerBen Bridle <ben@derelict.engineering>2025-07-07 21:49:48 +1200
commita702893fd1e1e59b5bfc770c5088120e8c3ece56 (patch)
treeab0d40be922c47d053367f32b15d3e8fc16f005f /src/emulators/headless_emulator.rs
parent0d9bfa0731259edfe9496e90c7f41820442cb130 (diff)
downloadbedrock-pc-a702893fd1e1e59b5bfc770c5088120e8c3ece56.zip
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.
Diffstat (limited to 'src/emulators/headless_emulator.rs')
-rw-r--r--src/emulators/headless_emulator.rs2
1 files changed, 1 insertions, 1 deletions
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(),
}
}