Skip to content

Commit

Permalink
merged some similar modules, removed some useless bits, lots of code …
Browse files Browse the repository at this point in the history
…cleanup
  • Loading branch information
FrodeSolheim committed Aug 20, 2014
1 parent 80e40b2 commit ce9f2f1
Show file tree
Hide file tree
Showing 139 changed files with 1,747 additions and 1,659 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
Version 2.5.13dev:

* Added another fix for --disable-cpuboard.
* Add internal HRTMon rom to the rom list on startup.
* Show GUI warning when some config incompatibilities are detected.
* GUI warning when custom uae_ options fails or are not recognized.
* Added more compiler warnings by default.
* More code cleanup, especially in src/od-fs.
* Merged several modules which were similar between FS-UAE and WinUAE.

Version 2.5.12dev:

Expand Down
35 changes: 17 additions & 18 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,15 @@ fs_uae_device_helper_SOURCES = \
fs_uae_device_helper_LDADD =

noinst_LIBRARIES += libuae.a
AM_CPPFLAGS += -I$(s)/flac/include
AM_CPPFLAGS += -I$(b)/gen
AM_CPPFLAGS += -I$(s)/src
AM_CPPFLAGS += -I$(s)/src/jit
AM_CPPFLAGS += -I$(s)/src/include
AM_CPPFLAGS += -I$(s)/src/od-fs
AM_CPPFLAGS += -I$(s)/src/od-fs/include
AM_CPPFLAGS += -I$(s)/src/od-win32
AM_CPPFLAGS += -I$(s)/src/od-win32/caps
fs_uae_LDADD += libuae.a
libuae_a_SOURCES = \
src/a2065.cpp \
Expand Down Expand Up @@ -300,6 +302,7 @@ libuae_a_SOURCES = \
src/include/uae/asm.h \
src/include/uae/assert.h \
src/include/uae/caps.h \
src/include/uae/cdrom.h \
src/include/uae/cycleunit.h \
src/include/uae/endian.h \
src/include/uae/enum.h \
Expand Down Expand Up @@ -339,16 +342,6 @@ libuae_a_SOURCES = \
src/ncr_scsi.cpp \
src/newcpu.cpp \
src/newcpu_common.cpp \
src/od-fs/CapsAPI.h \
src/od-fs/FLAC/all.h \
src/od-fs/FLAC/assert.h \
src/od-fs/FLAC/callback.h \
src/od-fs/FLAC/export.h \
src/od-fs/FLAC/format.h \
src/od-fs/FLAC/metadata.h \
src/od-fs/FLAC/ordinals.h \
src/od-fs/FLAC/stream_decoder.h \
src/od-fs/FLAC/stream_encoder.h \
src/od-fs/ahi_winuae.cpp \
src/od-fs/ahidsound.h \
src/od-fs/ahidsound_new.cpp \
Expand All @@ -357,8 +350,6 @@ libuae_a_SOURCES = \
src/od-fs/blkdev-linux.cpp \
src/od-fs/bsdsocket_host.cpp \
src/od-fs/callbacks.h \
src/od-fs/caps.cpp \
src/od-fs/caps_types.h \
src/od-fs/cda_play.cpp \
src/od-fs/cda_play.h \
src/od-fs/cdimage_stubs.cpp \
Expand All @@ -367,7 +358,6 @@ libuae_a_SOURCES = \
src/od-fs/clock.cpp \
src/od-fs/defines.h \
src/od-fs/driveclick.cpp \
src/od-fs/dxwrap.h \
src/od-fs/filesys_host.cpp \
src/od-fs/fsdb_host.cpp \
src/od-fs/fsdb_host.h \
Expand Down Expand Up @@ -409,16 +399,16 @@ libuae_a_SOURCES = \
src/od-fs/threaddep/sem.h \
src/od-fs/threaddep/thread.h \
src/od-fs/threading.cpp \
src/od-fs/uae_fs.h \
src/od-fs/uae_host.cpp \
src/od-fs/uae_host.h \
src/od-fs/uae_util.h \
src/od-fs/uaemisc.cpp \
src/od-fs/util.cpp \
src/od-fs/video.cpp \
src/od-fs/winuae_compat.h \
src/od-win32/caps/CapsAPI.h \
src/od-win32/caps/Comtype.h \
src/od-win32/caps/caps_win32.cpp \
src/od-win32/caps/caps_win32.h \
src/od-win32/debug_win32.h \
src/od-win32/dxwrap.h \
src/od-win32/md-fpp.h \
src/od-win32/mman.cpp \
src/od-win32/parser.h \
Expand Down Expand Up @@ -886,6 +876,15 @@ EXTRA_DIST = $(TESTS) $(EXTRA_TESTS) \
debian/rules \
debian/source \
debian/source/format \
flac/include/FLAC/all.h \
flac/include/FLAC/assert.h \
flac/include/FLAC/callback.h \
flac/include/FLAC/export.h \
flac/include/FLAC/format.h \
flac/include/FLAC/metadata.h \
flac/include/FLAC/ordinals.h \
flac/include/FLAC/stream_decoder.h \
flac/include/FLAC/stream_encoder.h \
fs-uae.spec \
libudis86/README \
licenses/fs-uae.txt \
Expand All @@ -907,7 +906,7 @@ EXTRA_DIST = $(TESTS) $(EXTRA_TESTS) \
src/jit/compemu_optimizer_x86.cpp \
src/jit/compemu_raw_x86.cpp \
src/od-fs/bsdsocket_posix.cpp \
src/od-fs/bsdsocket_win32.cpp \
src/od-win32/bsdsock.cpp \
src/p96_blit.cpp \
src/sinctable.cpp \
src/table68k \
Expand Down
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions src/od-fs/FLAC/callback.h → flac/include/FLAC/callback.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,12 @@ typedef int (*FLAC__IOCallback_Close) (FLAC__IOHandle handle);
* a data sorce is not seekable by setting the \a seek field to \c NULL.
*/
typedef struct {
FLAC__IOCallback_Read read;
FLAC__IOCallback_Write write;
FLAC__IOCallback_Seek seek;
FLAC__IOCallback_Tell tell;
FLAC__IOCallback_Eof eof;
FLAC__IOCallback_Close close;
FLAC__IOCallback_Read read;
FLAC__IOCallback_Write write;
FLAC__IOCallback_Seek seek;
FLAC__IOCallback_Tell tell;
FLAC__IOCallback_Eof eof;
FLAC__IOCallback_Close close;
} FLAC__IOCallbacks;

/* \} */
Expand Down
4 changes: 2 additions & 2 deletions src/od-fs/FLAC/export.h → flac/include/FLAC/export.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
#else

#ifdef FLAC_API_EXPORTS
#define FLAC_API _declspec(dllexport)
#define FLAC_API _declspec(dllexport)
#else
#define FLAC_API _declspec(dllimport)
#define FLAC_API _declspec(dllimport)

#endif
#endif
Expand Down
Loading

0 comments on commit ce9f2f1

Please sign in to comment.