mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-23 07:50:03 +00:00
(MSVC 2003 Xbox 1) Build fixes for Mednafen PCFX
This commit is contained in:
parent
31e8552461
commit
06e6fc406f
@ -4,7 +4,14 @@
|
||||
// Loop postfix non-endless
|
||||
#define DRAWBG8x1_LPOST() } bat_x = (bat_x + 1) & bat_width_mask;
|
||||
|
||||
#ifdef _WIN32
|
||||
static inline void CDBG_REASON(const char *format, ...)
|
||||
{
|
||||
(void)0;
|
||||
}
|
||||
#else
|
||||
#define CDBG_REASON(format, ...)
|
||||
#endif
|
||||
//printf("BG%d Reason: " format "\n", n, ## __VA_ARGS__);
|
||||
static bool CanDrawBG_Fast(int n)
|
||||
{
|
||||
|
@ -52,10 +52,15 @@
|
||||
#include <mmintrin.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
static inline void KINGDBG(const char *format, ...) { (void)0; }
|
||||
static inline void ADPCMDBG(const char *format, ...) { (void)0; }
|
||||
#else
|
||||
#define KINGDBG(format, ...) (void)0
|
||||
#define ADPCMDBG(format, ...) (void)0
|
||||
#endif
|
||||
//#define KINGDBG FXDBG
|
||||
#define KING_UNDEF FXDBG
|
||||
#define ADPCMDBG(format, ...) (void)0
|
||||
//FXDBG
|
||||
|
||||
/*
|
||||
|
@ -11,6 +11,8 @@
|
||||
|
||||
#if 0
|
||||
#define FXDBG(format, ...) MDFN_DebugPrint(format, ## __VA_ARGS__)
|
||||
#elif defined(_WIN32)
|
||||
static inline void FXDBG(const char *format, ...) { (void)0; }
|
||||
#else
|
||||
#define FXDBG(format, ...) ((void)0)
|
||||
#endif
|
||||
|
@ -316,7 +316,7 @@ int SoundBox_Init(bool arg_EmulateBuggyCodec, bool arg_ResetAntiClickEnabled)
|
||||
int vti = 0x3F - x;
|
||||
|
||||
if(x)
|
||||
flub /= pow(2, (double)1 / 4 * x);
|
||||
flub /= powf(2, (double)1 / 4 * x);
|
||||
|
||||
if(vti <= 0x1B)
|
||||
ADPCMVolTable[vti] = 0;
|
||||
|
@ -342,6 +342,9 @@
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\sound\Blip_Buffer.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\sound\OwlResampler.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\sound\Stereo_Buffer.cpp">
|
||||
</File>
|
||||
@ -350,43 +353,49 @@
|
||||
Name="pcfx"
|
||||
Filter="">
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\hes.cpp">
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\fxscsi.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\huc.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\huc6280.cpp">
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\huc6273.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\input.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\pce.cpp">
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\interrupt.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\pcecd.cpp">
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\jrevdct.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\pcecd_drive.cpp">
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\king.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\psg.cpp">
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\pcfx.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\vdc.cpp">
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\rainbow.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\soundbox.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\timer.cpp">
|
||||
</File>
|
||||
<Filter
|
||||
Name="input"
|
||||
Filter="">
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\input\gamepad.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\pcfx-09333\input\mouse.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="hw_misc"
|
||||
Filter="">
|
||||
<Filter
|
||||
Name="arcade_card"
|
||||
Filter="">
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\hw_misc\arcade_card\arcade_card.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="hw_video"
|
||||
@ -399,10 +408,46 @@
|
||||
Name="hw_cpu"
|
||||
Filter="">
|
||||
<Filter
|
||||
Name="huc6280"
|
||||
Name="v810"
|
||||
Filter="">
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\hw_cpu\huc6280\cpu_huc6280.cpp">
|
||||
RelativePath="..\..\..\mednafen\hw_cpu\v810\fpu-new\softfloat.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Xbox">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Profile|Xbox">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Profile_FastCap|Xbox">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Xbox">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release_LTCG|Xbox">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\hw_cpu\v810\v810_cpu.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\mednafen\hw_cpu\v810\v810_cpuD.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
|
Loading…
Reference in New Issue
Block a user