(
spec: &mut ConsoleSpec,
signals_tx: Sender<Signal>,
)
| 53 | /// Instantiates a console factory for an SDL-backed console with the given `spec`. |
| 54 | #[cfg(feature = "sdl")] |
| 55 | pub fn setup_sdl_console( |
| 56 | spec: &mut ConsoleSpec, |
| 57 | signals_tx: Sender<Signal>, |
| 58 | ) -> io::Result<ConsoleHandles> { |
| 59 | endbasic_sdl::setup(spec, signals_tx, &endbasic_std::gfx::lcd::fonts::Fonts::all()) |
| 60 | } |
| 61 | |
| 62 | /// Instantiates a console factory for an SDL-backed console with the given `spec`. |
| 63 | #[cfg(not(feature = "sdl"))] |
no test coverage detected