Skip to content

Commit

Permalink
remove unnecessary trait bound
Browse files Browse the repository at this point in the history
  • Loading branch information
jsgroth committed Sep 27, 2024
1 parent 157b291 commit b3e5228
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions frontend/jgenesis-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@ use jgenesis_native_config::smsgg::SmsModel;
use jgenesis_native_driver::config::input::{NesControllerType, SnesControllerType};
use jgenesis_native_driver::config::{GgAspectRatio, SmsAspectRatio};
use jgenesis_native_driver::input::MappableInputs;
use jgenesis_native_driver::{AudioError, NativeEmulator, NativeTickEffect, SaveWriteError};
use jgenesis_native_driver::{NativeEmulator, NativeTickEffect};
use jgenesis_proc_macros::{EnumDisplay, EnumFromStr};
use jgenesis_renderer::config::{
FilterMode, PreprocessShader, PrescaleFactor, Scanlines, VSyncMode, WgpuBackend,
};
use jgenesis_renderer::renderer::RendererError;
use nes_core::api::NesAspectRatio;
use s32x_core::api::S32XVideoOut;
use smsgg_core::SmsRegion;
use smsgg_core::psg::PsgVersion;
use snes_core::api::{AudioInterpolationMode, SnesAspectRatio};
use std::error::Error;
use std::ffi::OsStr;
use std::fs;
use std::num::NonZeroU64;
Expand Down Expand Up @@ -756,7 +754,6 @@ fn init_emulator<Inputs, Button, Config, Emulator>(
Inputs: Default + MappableInputs<Button>,
Button: Copy,
Emulator: EmulatorTrait<Inputs = Inputs, Config = Config>,
Emulator::Err<RendererError, AudioError, SaveWriteError>: Error + Send + Sync + 'static,
{
let Some(save_state_slot) = args.load_save_state else { return };

Expand Down
1 change: 0 additions & 1 deletion frontend/jgenesis-native-driver/src/mainloop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ where
Inputs: Default + MappableInputs<Button>,
Button: Copy,
Emulator: EmulatorTrait<Inputs = Inputs, Config = Config>,
Emulator::Err<RendererError, AudioError, SaveWriteError>: Error + Send + Sync + 'static,
{
#[allow(clippy::too_many_arguments)]
fn new<KC, JC, InputMapperFn>(
Expand Down

0 comments on commit b3e5228

Please sign in to comment.