aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliaspider2014-10-29 05:36:07 +0100
committeraliaspider2014-10-29 05:36:07 +0100
commita6dc7abc9b8cc3986eda5a84141da7dc9e4e8f1a (patch)
tree6f82417b0ab41f3887dd025ee3b85254e28143da
parent1d98e1c317fa19687ae6bc3cb8e550ef7531bf02 (diff)
downloadsnesemu-a6dc7abc9b8cc3986eda5a84141da7dc9e4e8f1a.tar.gz
snesemu-a6dc7abc9b8cc3986eda5a84141da7dc9e4e8f1a.tar.bz2
snesemu-a6dc7abc9b8cc3986eda5a84141da7dc9e4e8f1a.zip
start moving everything to C
-rw-r--r--Makefile38
-rw-r--r--libretro.c (renamed from libretro.cpp)0
-rw-r--r--source/apu.c (renamed from source/apu.cpp)0
-rw-r--r--source/c4.c (renamed from source/c4.cpp)0
-rw-r--r--source/c4emu.c (renamed from source/c4emu.cpp)0
-rw-r--r--source/cheats.c (renamed from source/cheats.cpp)0
-rw-r--r--source/cheats2.c (renamed from source/cheats2.cpp)0
-rw-r--r--source/clip.c (renamed from source/clip.cpp)0
-rw-r--r--source/cpu.c (renamed from source/cpu.cpp)0
-rw-r--r--source/cpuexec.c (renamed from source/cpuexec.cpp)0
-rw-r--r--source/cpuops.c (renamed from source/cpuops.cpp)0
-rw-r--r--source/data.c (renamed from source/data.cpp)0
-rw-r--r--source/dma.c (renamed from source/dma.cpp)0
-rw-r--r--source/dsp1.c (renamed from source/dsp1.cpp)0
-rw-r--r--source/dsp4emu.c (renamed from source/dsp4emu.cpp)0
-rw-r--r--source/fxdbg.c (renamed from source/fxdbg.cpp)0
-rw-r--r--source/fxemu.c (renamed from source/fxemu.cpp)0
-rw-r--r--source/fxinst.c (renamed from source/fxinst.cpp)0
-rw-r--r--source/gfx.c (renamed from source/gfx.cpp)0
-rw-r--r--source/globals.c (renamed from source/globals.cpp)0
-rw-r--r--source/memmap.c (renamed from source/memmap.cpp)0
-rw-r--r--source/obc1.c (renamed from source/obc1.cpp)0
-rw-r--r--source/ppu.c (renamed from source/ppu.cpp)0
-rw-r--r--source/sa1.c (renamed from source/sa1.cpp)0
-rw-r--r--source/sa1cpu.c (renamed from source/sa1cpu.cpp)0
-rw-r--r--source/screenshot.c (renamed from source/screenshot.cpp)0
-rw-r--r--source/sdd1.c (renamed from source/sdd1.cpp)0
-rw-r--r--source/sdd1emu.c (renamed from source/sdd1emu.cpp)0
-rw-r--r--source/seta.c (renamed from source/seta.cpp)0
-rw-r--r--source/seta010.c (renamed from source/seta010.cpp)0
-rw-r--r--source/seta011.c (renamed from source/seta011.cpp)0
-rw-r--r--source/seta018.c (renamed from source/seta018.cpp)0
-rw-r--r--source/snaporig.c (renamed from source/snaporig.cpp)0
-rw-r--r--source/snapshot.c (renamed from source/snapshot.cpp)0
-rw-r--r--source/soundux.c (renamed from source/soundux.cpp)0
-rw-r--r--source/spc700.c (renamed from source/spc700.cpp)0
-rw-r--r--source/spc7110.c (renamed from source/spc7110.cpp)0
-rw-r--r--source/srtc.c (renamed from source/srtc.cpp)0
-rw-r--r--source/tile.c (renamed from source/tile.cpp)0
39 files changed, 20 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index b6ede7c..c813e55 100644
--- a/Makefile
+++ b/Makefile
@@ -48,24 +48,26 @@ NM = $(CROSS)nm
OBJDUMP = $(CROSS)objdump
#C_SOURCES = libretro.c
-CPP_SOURCES = source/apu.cpp source/c4.cpp \
- source/c4emu.cpp source/cheats2.cpp source/cheats.cpp \
- source/clip.cpp source/cpu.cpp source/cpuexec.cpp \
- source/cpuops.cpp source/data.cpp\
- source/dma.cpp source/dsp1.cpp \
- source/fxdbg.cpp source/fxemu.cpp source/fxinst.cpp \
- source/gfx.cpp source/globals.cpp \
- source/memmap.cpp \
- source/obc1.cpp source/ppu.cpp \
- source/sa1.cpp source/sa1cpu.cpp source/screenshot.cpp \
- source/sdd1.cpp source/sdd1emu.cpp \
- source/seta010.cpp source/seta011.cpp source/seta018.cpp \
- source/seta.cpp source/snaporig.cpp source/snapshot.cpp \
- source/soundux.cpp \
- source/spc700.cpp source/spc7110.cpp \
- source/srtc.cpp \
- source/tile.cpp \
- libretro.cpp
+C_SOURCES = source/apu.c source/c4.c \
+ source/c4emu.c source/cheats2.c source/cheats.c \
+ source/clip.c source/cpu.c source/cpuexec.c \
+ source/cpuops.c source/data.c\
+ source/dma.c source/dsp1.c \
+ source/fxdbg.c source/fxemu.c source/fxinst.c \
+ source/gfx.c source/globals.c \
+ source/memmap.c \
+ source/obc1.c source/ppu.c \
+ source/sa1.c source/sa1cpu.c source/screenshot.c \
+ source/sdd1.c source/sdd1emu.c \
+ source/seta010.c source/seta011.c source/seta018.c \
+ source/seta.c source/snaporig.c source/snapshot.c \
+ source/soundux.c \
+ source/spc700.c source/spc7110.c \
+ source/srtc.c \
+ source/tile.c \
+ libretro.c
+
+CPP_SOURCES =
SOURCES = $(C_SOURCES) $(CPP_SOURCES)
C_OBJECTS = $(C_SOURCES:.c=.o)
diff --git a/libretro.cpp b/libretro.c
index ded3dc9..ded3dc9 100644
--- a/libretro.cpp
+++ b/libretro.c
diff --git a/source/apu.cpp b/source/apu.c
index ee41096..ee41096 100644
--- a/source/apu.cpp
+++ b/source/apu.c
diff --git a/source/c4.cpp b/source/c4.c
index 8774f46..8774f46 100644
--- a/source/c4.cpp
+++ b/source/c4.c
diff --git a/source/c4emu.cpp b/source/c4emu.c
index f188853..f188853 100644
--- a/source/c4emu.cpp
+++ b/source/c4emu.c
diff --git a/source/cheats.cpp b/source/cheats.c
index 9c4a8f2..9c4a8f2 100644
--- a/source/cheats.cpp
+++ b/source/cheats.c
diff --git a/source/cheats2.cpp b/source/cheats2.c
index 59855b9..59855b9 100644
--- a/source/cheats2.cpp
+++ b/source/cheats2.c
diff --git a/source/clip.cpp b/source/clip.c
index 7147abf..7147abf 100644
--- a/source/clip.cpp
+++ b/source/clip.c
diff --git a/source/cpu.cpp b/source/cpu.c
index 2f9b4ae..2f9b4ae 100644
--- a/source/cpu.cpp
+++ b/source/cpu.c
diff --git a/source/cpuexec.cpp b/source/cpuexec.c
index 02c4edd..02c4edd 100644
--- a/source/cpuexec.cpp
+++ b/source/cpuexec.c
diff --git a/source/cpuops.cpp b/source/cpuops.c
index 9dc7f0c..9dc7f0c 100644
--- a/source/cpuops.cpp
+++ b/source/cpuops.c
diff --git a/source/data.cpp b/source/data.c
index 0854ed4..0854ed4 100644
--- a/source/data.cpp
+++ b/source/data.c
diff --git a/source/dma.cpp b/source/dma.c
index 71f8e03..71f8e03 100644
--- a/source/dma.cpp
+++ b/source/dma.c
diff --git a/source/dsp1.cpp b/source/dsp1.c
index 4e32a54..4e32a54 100644
--- a/source/dsp1.cpp
+++ b/source/dsp1.c
diff --git a/source/dsp4emu.cpp b/source/dsp4emu.c
index b36cadb..b36cadb 100644
--- a/source/dsp4emu.cpp
+++ b/source/dsp4emu.c
diff --git a/source/fxdbg.cpp b/source/fxdbg.c
index 3479db1..3479db1 100644
--- a/source/fxdbg.cpp
+++ b/source/fxdbg.c
diff --git a/source/fxemu.cpp b/source/fxemu.c
index 8dd7a15..8dd7a15 100644
--- a/source/fxemu.cpp
+++ b/source/fxemu.c
diff --git a/source/fxinst.cpp b/source/fxinst.c
index a5cdf01..a5cdf01 100644
--- a/source/fxinst.cpp
+++ b/source/fxinst.c
diff --git a/source/gfx.cpp b/source/gfx.c
index 34fb235..34fb235 100644
--- a/source/gfx.cpp
+++ b/source/gfx.c
diff --git a/source/globals.cpp b/source/globals.c
index 670dc92..670dc92 100644
--- a/source/globals.cpp
+++ b/source/globals.c
diff --git a/source/memmap.cpp b/source/memmap.c
index c102128..c102128 100644
--- a/source/memmap.cpp
+++ b/source/memmap.c
diff --git a/source/obc1.cpp b/source/obc1.c
index 763e7cc..763e7cc 100644
--- a/source/obc1.cpp
+++ b/source/obc1.c
diff --git a/source/ppu.cpp b/source/ppu.c
index 4717f1d..4717f1d 100644
--- a/source/ppu.cpp
+++ b/source/ppu.c
diff --git a/source/sa1.cpp b/source/sa1.c
index 36a9ff6..36a9ff6 100644
--- a/source/sa1.cpp
+++ b/source/sa1.c
diff --git a/source/sa1cpu.cpp b/source/sa1cpu.c
index 299aab3..299aab3 100644
--- a/source/sa1cpu.cpp
+++ b/source/sa1cpu.c
diff --git a/source/screenshot.cpp b/source/screenshot.c
index f33b240..f33b240 100644
--- a/source/screenshot.cpp
+++ b/source/screenshot.c
diff --git a/source/sdd1.cpp b/source/sdd1.c
index 7dc6f4a..7dc6f4a 100644
--- a/source/sdd1.cpp
+++ b/source/sdd1.c
diff --git a/source/sdd1emu.cpp b/source/sdd1emu.c
index bc32b43..bc32b43 100644
--- a/source/sdd1emu.cpp
+++ b/source/sdd1emu.c
diff --git a/source/seta.cpp b/source/seta.c
index 4e7d208..4e7d208 100644
--- a/source/seta.cpp
+++ b/source/seta.c
diff --git a/source/seta010.cpp b/source/seta010.c
index 13eab8a..13eab8a 100644
--- a/source/seta010.cpp
+++ b/source/seta010.c
diff --git a/source/seta011.cpp b/source/seta011.c
index b8fd213..b8fd213 100644
--- a/source/seta011.cpp
+++ b/source/seta011.c
diff --git a/source/seta018.cpp b/source/seta018.c
index cafca06..cafca06 100644
--- a/source/seta018.cpp
+++ b/source/seta018.c
diff --git a/source/snaporig.cpp b/source/snaporig.c
index 69ff33e..69ff33e 100644
--- a/source/snaporig.cpp
+++ b/source/snaporig.c
diff --git a/source/snapshot.cpp b/source/snapshot.c
index ac4abe4..ac4abe4 100644
--- a/source/snapshot.cpp
+++ b/source/snapshot.c
diff --git a/source/soundux.cpp b/source/soundux.c
index 10e0130..10e0130 100644
--- a/source/soundux.cpp
+++ b/source/soundux.c
diff --git a/source/spc700.cpp b/source/spc700.c
index 3bfeeac..3bfeeac 100644
--- a/source/spc700.cpp
+++ b/source/spc700.c
diff --git a/source/spc7110.cpp b/source/spc7110.c
index 3ae0cfd..3ae0cfd 100644
--- a/source/spc7110.cpp
+++ b/source/spc7110.c
diff --git a/source/srtc.cpp b/source/srtc.c
index 0e6f30e..0e6f30e 100644
--- a/source/srtc.cpp
+++ b/source/srtc.c
diff --git a/source/tile.cpp b/source/tile.c
index 3dcab74..3dcab74 100644
--- a/source/tile.cpp
+++ b/source/tile.c