From 97f4067cd81b50067f2c3928b53aef4447bb80f8 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Sat, 21 Apr 2018 18:43:32 -0500 Subject: [PATCH] Inline a couple functions. Add some spacing to the Gtk preferences dialog. --- apu/bapu/dsp/SPC_DSP.cpp | 6 ++++-- gtk/src/snes9x.ui | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apu/bapu/dsp/SPC_DSP.cpp b/apu/bapu/dsp/SPC_DSP.cpp index ba3b67e5..aa3e198c 100644 --- a/apu/bapu/dsp/SPC_DSP.cpp +++ b/apu/bapu/dsp/SPC_DSP.cpp @@ -400,7 +400,8 @@ inline VOICE_CLOCK( V3b ) m.t_brr_byte = m.ram [(v->brr_addr + v->brr_offset) & 0xFFFF]; m.t_brr_header = m.ram [v->brr_addr]; // brr_addr doesn't need masking } -VOICE_CLOCK( V3c ) + +inline VOICE_CLOCK( V3c ) { // Pitch modulation using previous voice's output if ( m.t_pmon & v->vbit ) @@ -494,7 +495,8 @@ inline void SPC_DSP::voice_output( voice_t const* v, int ch ) CLAMP16( m.t_echo_out [ch] ); } } -VOICE_CLOCK( V4 ) + +inline VOICE_CLOCK( V4 ) { // Decode BRR m.t_looped = 0; diff --git a/gtk/src/snes9x.ui b/gtk/src/snes9x.ui index 90722835..5075fa18 100644 --- a/gtk/src/snes9x.ui +++ b/gtk/src/snes9x.ui @@ -2491,6 +2491,7 @@ True False + 2 True