mirror of https://github.com/snes9xgit/snes9x.git
Inline a couple functions. Add some spacing to the Gtk preferences dialog.
This commit is contained in:
parent
7c5ab7183b
commit
97f4067cd8
|
@ -400,7 +400,8 @@ inline VOICE_CLOCK( V3b )
|
||||||
m.t_brr_byte = m.ram [(v->brr_addr + v->brr_offset) & 0xFFFF];
|
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
|
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
|
// Pitch modulation using previous voice's output
|
||||||
if ( m.t_pmon & v->vbit )
|
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] );
|
CLAMP16( m.t_echo_out [ch] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
VOICE_CLOCK( V4 )
|
|
||||||
|
inline VOICE_CLOCK( V4 )
|
||||||
{
|
{
|
||||||
// Decode BRR
|
// Decode BRR
|
||||||
m.t_looped = 0;
|
m.t_looped = 0;
|
||||||
|
|
|
@ -2491,6 +2491,7 @@
|
||||||
<object class="GtkVBox" id="dialog-vbox1">
|
<object class="GtkVBox" id="dialog-vbox1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
<property name="spacing">2</property>
|
||||||
<child internal-child="action_area">
|
<child internal-child="action_area">
|
||||||
<object class="GtkHButtonBox" id="dialog-action_area1">
|
<object class="GtkHButtonBox" id="dialog-action_area1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
|
Loading…
Reference in New Issue