From 4f10118a9a1407161862f2765686a7231331ee2e Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Sun, 16 Jun 2024 11:48:56 +1000 Subject: [PATCH] vst: handle result output from init --- gb-vst/src/plugin.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/gb-vst/src/plugin.rs b/gb-vst/src/plugin.rs index 47acedd..0246f95 100644 --- a/gb-vst/src/plugin.rs +++ b/gb-vst/src/plugin.rs @@ -324,6 +324,7 @@ impl Plugin for GameboyEmu { .with_show_bootrom(!will_skip_bootrom); EmulatorCore::init(false, receiver, options) + .expect("couldn't initialize emulator core!") }; emulator_core.run_until_buffer_full();