Remove misc.c
This commit is contained in:
@@ -38,7 +38,6 @@ SOURCES_C += \
|
|||||||
$(CORE_DIR)/crc32.c \
|
$(CORE_DIR)/crc32.c \
|
||||||
$(CORE_DIR)/fceu-endian.c \
|
$(CORE_DIR)/fceu-endian.c \
|
||||||
$(CORE_DIR)/fceu-memory.c \
|
$(CORE_DIR)/fceu-memory.c \
|
||||||
$(CORE_DIR)/misc.c \
|
|
||||||
$(CORE_DIR)/fceu.c \
|
$(CORE_DIR)/fceu.c \
|
||||||
$(CORE_DIR)/fds.c \
|
$(CORE_DIR)/fds.c \
|
||||||
$(CORE_DIR)/fds_apu.c \
|
$(CORE_DIR)/fds_apu.c \
|
||||||
|
|||||||
@@ -41,9 +41,6 @@ void FCEUD_Message(char *s);
|
|||||||
void FCEUD_DispMessage(enum retro_log_level level, unsigned duration, const char *str);
|
void FCEUD_DispMessage(enum retro_log_level level, unsigned duration, const char *str);
|
||||||
void FCEU_DispMessage(enum retro_log_level level, unsigned duration, const char *format, ...);
|
void FCEU_DispMessage(enum retro_log_level level, unsigned duration, const char *format, ...);
|
||||||
|
|
||||||
int FCEUI_BeginWaveRecord(char *fn);
|
|
||||||
int FCEUI_EndWaveRecord(void);
|
|
||||||
|
|
||||||
void FCEUI_ResetNES(void);
|
void FCEUI_ResetNES(void);
|
||||||
void FCEUI_PowerNES(void);
|
void FCEUI_PowerNES(void);
|
||||||
|
|
||||||
@@ -159,10 +156,6 @@ void FCEUI_SelectState(int);
|
|||||||
void FCEUI_SaveState(char *fname);
|
void FCEUI_SaveState(char *fname);
|
||||||
void FCEUI_LoadState(char *fname);
|
void FCEUI_LoadState(char *fname);
|
||||||
|
|
||||||
void FCEUI_SelectMovie(int);
|
|
||||||
void FCEUI_SaveMovie(char *fname);
|
|
||||||
void FCEUI_LoadMovie(char *fname);
|
|
||||||
|
|
||||||
int32 FCEUI_GetDesiredFPS(void);
|
int32 FCEUI_GetDesiredFPS(void);
|
||||||
void FCEUI_SaveSnapshot(void);
|
void FCEUI_SaveSnapshot(void);
|
||||||
|
|
||||||
|
|||||||
@@ -195,7 +195,6 @@ static void FP_FASTAPASS(3) UpdateGP(int w, void *data, int arg) {
|
|||||||
joy[1] = *(uint32*)ptr >> 8;
|
joy[1] = *(uint32*)ptr >> 8;
|
||||||
joy[3] = *(uint32*)ptr >> 24;
|
joy[3] = *(uint32*)ptr >> 24;
|
||||||
}
|
}
|
||||||
FCEUMOV_AddJoy(joy);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void FP_FASTAPASS(1) StrobeGP(int w) {
|
static void FP_FASTAPASS(1) StrobeGP(int w) {
|
||||||
|
|||||||
@@ -19,8 +19,6 @@ typedef struct {
|
|||||||
void FP_FASTAPASS(2) (*Draw)(uint8 *buf, int arg);
|
void FP_FASTAPASS(2) (*Draw)(uint8 *buf, int arg);
|
||||||
} INPUTCFC;
|
} INPUTCFC;
|
||||||
|
|
||||||
void FCEUMOV_AddJoy(uint8 *js);
|
|
||||||
|
|
||||||
void FCEU_DrawInput(uint8 *buf);
|
void FCEU_DrawInput(uint8 *buf);
|
||||||
void FCEU_UpdateInput(void);
|
void FCEU_UpdateInput(void);
|
||||||
void InitializeInput(void);
|
void InitializeInput(void);
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#include "../palette.h"
|
#include "../palette.h"
|
||||||
#include "../state.h"
|
#include "../state.h"
|
||||||
|
|
||||||
void FCEUMOV_AddJoy(uint8 *js);
|
|
||||||
void FCEU_DrawCursor(uint8 *buf, int xc, int yc);
|
void FCEU_DrawCursor(uint8 *buf, int xc, int yc);
|
||||||
void FCEU_DrawGunSight(uint8 *buf, int xc, int yc);
|
void FCEU_DrawGunSight(uint8 *buf, int xc, int yc);
|
||||||
|
|
||||||
|
|||||||
18
src/misc.c
18
src/misc.c
@@ -1,18 +0,0 @@
|
|||||||
#include "fceu-types.h"
|
|
||||||
#include "fceu.h"
|
|
||||||
|
|
||||||
#include "driver.h"
|
|
||||||
|
|
||||||
/* wave.c */
|
|
||||||
|
|
||||||
void FCEU_WriteWaveData(int32 *Buffer, int Count) { }
|
|
||||||
int FCEUI_EndWaveRecord(void) { return 0; }
|
|
||||||
int FCEUI_BeginWaveRecord(char *fn) { return 0; }
|
|
||||||
|
|
||||||
/* netplay.c */
|
|
||||||
int FCEUNET_SendFile(uint8 cmd, char *fn) { return 0; }
|
|
||||||
|
|
||||||
/* movie.c */
|
|
||||||
void FCEUMOV_AddJoy(uint8 *js) { }
|
|
||||||
void FCEUMOV_Stop(void) {}
|
|
||||||
void FCEUI_SelectMovie(int w) { }
|
|
||||||
@@ -1007,9 +1007,7 @@ int FlushEmulateSound(void) {
|
|||||||
}
|
}
|
||||||
inbuf = end;
|
inbuf = end;
|
||||||
|
|
||||||
/* FCEU_WriteWaveData(WaveFinal, end); This function will just return
|
return end;
|
||||||
if sound recording is off. */
|
|
||||||
return(end);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int GetSoundBuffer(int32 **W) {
|
int GetSoundBuffer(int32 **W) {
|
||||||
|
|||||||
Reference in New Issue
Block a user