Skip to content

Commit dd8a7e7

Browse files
committed
Add ESFMu for ESFM emulation
1 parent 5c1cdb3 commit dd8a7e7

File tree

6 files changed

+3835
-1
lines changed

6 files changed

+3835
-1
lines changed

src/cpu/cpu.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@
2121
#ifndef EMU_CPU_H
2222
#define EMU_CPU_H
2323

24+
#ifndef NO_SOFTFLOAT_INCLUDE
2425
#include "softfloat/softfloat.h"
26+
#else
27+
typedef struct floatx80 { // leave alignment to compiler
28+
uint64_t exp;
29+
uint16_t fraction;
30+
} floatx80;
31+
#endif
2532

2633
enum {
2734
FPU_NONE,

src/sound/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ add_library(snd OBJECT sound.c snd_opl.c snd_opl_nuked.c snd_opl_ymfm.cpp snd_re
1818
snd_lpt_dss.c snd_ps1.c snd_adlib.c snd_adlibgold.c snd_ad1848.c snd_audiopci.c
1919
snd_azt2316a.c snd_cms.c snd_cmi8x38.c snd_cs423x.c snd_gus.c snd_sb.c snd_sb_dsp.c
2020
snd_emu8k.c snd_mpu401.c snd_sn76489.c snd_ssi2001.c snd_wss.c snd_ym7128.c
21-
snd_optimc.c)
21+
snd_optimc.c esfmu/esfm.c esfmu/esfm_registers.c snd_opl_esfm.c)
2222

2323
if(OPENAL)
2424
if(VCPKG_TOOLCHAIN)

0 commit comments

Comments
 (0)