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
RACE
Commits
e4089dfa
Commit
e4089dfa
authored
Oct 04, 2020
by
Libretro-Admin
Browse files
Convert sound.cpp to C
parent
d8b2fcba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile.common
View file @
e4089dfa
...
...
@@ -39,7 +39,6 @@ SOURCES_CXX := \
$(CORE_DIR)
/graphics.cpp
\
$(CORE_DIR)
/main.cpp
\
$(CORE_DIR)
/state.cpp
\
$(CORE_DIR)
/sound.cpp
\
$(CORE_DIR)
/libretro/libretro.cpp
\
$(CORE_DIR)
/libretro/log.cpp
...
...
@@ -47,6 +46,7 @@ SOURCES_C += \
$(CORE_DIR)
/input.c
\
$(CORE_DIR)
/race-memory.c
\
$(CORE_DIR)
/ngpBios.c
\
$(CORE_DIR)
/sound.c
\
$(CORE_DIR)
/neopopsound.c
ifeq
($(DRZ80),1)
...
...
sound.c
pp
→
sound.c
View file @
e4089dfa
...
...
@@ -9,10 +9,7 @@
/* sound.cpp: implementation of the sound class. */
#include "main.h"
#include "types.h"
#include "sound.h"
#include "memory.h"
#ifdef DRZ80
#include "DrZ80_support.h"
...
...
sound.h
View file @
e4089dfa
...
...
@@ -12,13 +12,13 @@
#ifndef AFX_SOUND_H
#define AFX_SOUND_H
#if _MSC_VER > 1000
#pragma once
#endif
/* _MSC_VER > 1000 */
#include "types.h"
#include "main.h"
#ifdef __cplusplus
extern
"C"
{
#endif
int
initSound
(
void
);
void
soundCleanup
(
void
);
...
...
@@ -48,4 +48,8 @@ void ngpSoundExecute(void);
void
ngpSoundOff
(
void
);
void
ngpSoundInterrupt
(
void
);
#ifdef __cplusplus
}
#endif
#endif
/* !defined(AFX_SOUND_H) */
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