Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
flycast
Commits
44e06af8
Commit
44e06af8
authored
Mar 06, 2021
by
Libretro-Admin
Browse files
CLeanups
parent
6ed9a936
Pipeline
#16339
passed with stages
in 2 minutes and 16 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
core/build.h
View file @
44e06af8
...
...
@@ -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
...
...
core/libretro/audiostream.cpp
View file @
44e06af8
...
...
@@ -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
;
...
...
core/nullDC.cpp
View file @
44e06af8
...
...
@@ -567,8 +567,3 @@ void LoadSettings(void)
settings
.
network
.
dns
=
"46.101.91.123"
;
// Dreamcast Live DNS
settings
.
network
.
server
=
""
;
}
void
SaveSettings
(
void
)
{
}
core/types.h
View file @
44e06af8
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment