Skip to content

Commit 42345d4

Browse files
committed
Updates
1 parent 0e06974 commit 42345d4

3 files changed

Lines changed: 7 additions & 10 deletions

File tree

audio/resampler/drivers/sinc_resampler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ static void *resampler_sinc_new(const struct resampler_config *config,
698698
}
699699
else if (mask & RESAMPLER_SIMD_NEON && re->window_type != SINC_WINDOW_KAISER)
700700
{
701-
#if defined(WANT_NEON) && !defined(DONT_WANT_ARM_OPTIMIZATIONS)
701+
#if defined(WANT_NEON)
702702
sinc_resampler.process = resampler_sinc_process_neon;
703703
#endif
704704
}

include/memmap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <stdio.h>
2727
#include <stdint.h>
2828

29-
#if defined(__CELLOS_LV2__) || defined(PSP) || defined(PS2) || defined(GEKKO) || defined(VITA) || defined(_XBOX) || defined(_3DS) || defined(WIIU) || defined(SWITCH)
29+
#if defined(__CELLOS_LV2__) || defined(PSP) || defined(PS2) || defined(GEKKO) || defined(VITA) || defined(_XBOX) || defined(_3DS) || defined(WIIU) || defined(SWITCH) || defined(HAVE_LIBNX)
3030
/* No mman available */
3131
#elif defined(_WIN32) && !defined(_XBOX)
3232
#include <windows.h>

net/net_compat.c

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,16 @@ int retro_epoll_fd;
149149
#define SOC_ALIGN 0x1000
150150
#define SOC_BUFFERSIZE 0x100000
151151
static u32* _net_compat_net_memory;
152-
#elif defined(_WIN32)
152+
#endif
153+
154+
#if defined(_WIN32)
153155
int inet_aton(const char *cp, struct in_addr *inp)
154156
{
155157
uint32_t addr = 0;
158+
#ifndef _XBOX
156159
if (cp == 0 || inp == 0)
157160
return -1;
161+
#endif
158162

159163
addr = inet_addr(cp);
160164
if (addr == INADDR_NONE || addr == INADDR_ANY)
@@ -387,13 +391,6 @@ uint16_t inet_htons(uint16_t hostshort)
387391
#endif
388392
}
389393

390-
#ifdef _XBOX
391-
static int inet_aton(const char *cp, struct in_addr *addr)
392-
{
393-
addr->s_addr = inet_addr(cp);
394-
return (addr->s_addr == INADDR_NONE) ? 0 : 1;
395-
}
396-
#endif
397394

398395
int inet_ptrton(int af, const char *src, void *dst)
399396
{

0 commit comments

Comments
 (0)