just quiet some warnings
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@937 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
6d7671e82e
commit
bfb217b5aa
|
@ -916,6 +916,14 @@
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\gba\GBASockClient.cpp"
|
RelativePath="..\..\src\gba\GBASockClient.cpp"
|
||||||
>
|
>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
PreprocessorDefinitions="_SCL_SECURE_NO_WARNINGS"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\src\gba\GBASockClient.h"
|
RelativePath="..\..\src\gba\GBASockClient.h"
|
||||||
|
|
|
@ -505,7 +505,7 @@ void Effects_Buffer::mix_effects( blip_sample_t* out_, int pair_count )
|
||||||
int bufs_remain = bufs_size;
|
int bufs_remain = bufs_size;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if ( buf->non_silent() && ( buf->echo == (bool)echo_phase ) )
|
if ( buf->non_silent() && ( buf->echo == !!echo_phase ) )
|
||||||
{
|
{
|
||||||
stereo_fixed_t* BLIP_RESTRICT out = (stereo_fixed_t*) &echo [echo_pos];
|
stereo_fixed_t* BLIP_RESTRICT out = (stereo_fixed_t*) &echo [echo_pos];
|
||||||
int const bass = BLIP_READER_BASS( *buf );
|
int const bass = BLIP_READER_BASS( *buf );
|
||||||
|
|
|
@ -18,7 +18,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */
|
||||||
#include "blargg_source.h"
|
#include "blargg_source.h"
|
||||||
|
|
||||||
#if GB_APU_CUSTOM_STATE
|
#if GB_APU_CUSTOM_STATE
|
||||||
#define REFLECT( x, y ) (save ? (io->y) = (x) : (x) = (io->y) )
|
#define REFLECT( x, y ) (save ? (io->y) = (x) : (x) = !!(io->y) )
|
||||||
#else
|
#else
|
||||||
#define REFLECT( x, y ) (save ? set_val( io->y, x ) : (void) ((x) = get_val( io->y )))
|
#define REFLECT( x, y ) (save ? set_val( io->y, x ) : (void) ((x) = get_val( io->y )))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue