Commit 44e06af8 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

CLeanups

parent 6ed9a936
Pipeline #16339 passed with stages
in 2 minutes and 16 seconds
......@@ -257,15 +257,6 @@
#define HOST_64BIT_CPU
#endif
//Depricated build configs
#ifdef HOST_NO_REC
#error Dont use HOST_NO_REC
#endif
#ifdef HOST_NO_AREC
#error Dont use HOST_NO_AREC
#endif
// Some restrictions on FEAT_NO_RWX_PAGES
#if defined(FEAT_NO_RWX_PAGES) && FEAT_SHREC == DYNAREC_JIT
#if HOST_CPU != CPU_X64 && HOST_CPU != CPU_ARM64
......
......@@ -12,10 +12,9 @@ SoundFrame RingBuffer[SAMPLE_COUNT];
void WriteSample(s16 r, s16 l)
{
static const u32 RingBufferByteSize = sizeof(RingBuffer);
static const u32 RingBufferSampleCount = SAMPLE_COUNT;
static volatile u32 WritePtr; //last written sample
static volatile u32 ReadPtr; //next sample to read
const u32 ptr = (WritePtr+1)%RingBufferSampleCount;
const u32 ptr = (WritePtr+1) % SAMPLE_COUNT;
RingBuffer[ptr].r=r;
RingBuffer[ptr].l=l;
WritePtr=ptr;
......
......@@ -567,8 +567,3 @@ void LoadSettings(void)
settings.network.dns = "46.101.91.123"; // Dreamcast Live DNS
settings.network.server = "";
}
void SaveSettings(void)
{
}
......@@ -657,7 +657,6 @@ struct settings_t
extern settings_t settings;
void LoadSettings(void);
void SaveSettings(void);
u32 GetRTC_now(void);
static inline bool is_s8(u32 v) { return (s8)v==(s32)v; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment