Skip to content

Commit ce9f2f1

Browse files
committed
merged some similar modules, removed some useless bits, lots of code cleanup
1 parent 80e40b2 commit ce9f2f1

File tree

139 files changed

+1747
-1659
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+1747
-1659
lines changed

ChangeLog

+3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
Version 2.5.13dev:
22

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

811
Version 2.5.12dev:
912

Makefile.am

+17-18
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,15 @@ fs_uae_device_helper_SOURCES = \
106106
fs_uae_device_helper_LDADD =
107107

108108
noinst_LIBRARIES += libuae.a
109+
AM_CPPFLAGS += -I$(s)/flac/include
109110
AM_CPPFLAGS += -I$(b)/gen
110111
AM_CPPFLAGS += -I$(s)/src
111112
AM_CPPFLAGS += -I$(s)/src/jit
112113
AM_CPPFLAGS += -I$(s)/src/include
113114
AM_CPPFLAGS += -I$(s)/src/od-fs
114115
AM_CPPFLAGS += -I$(s)/src/od-fs/include
115116
AM_CPPFLAGS += -I$(s)/src/od-win32
117+
AM_CPPFLAGS += -I$(s)/src/od-win32/caps
116118
fs_uae_LDADD += libuae.a
117119
libuae_a_SOURCES = \
118120
src/a2065.cpp \
@@ -300,6 +302,7 @@ libuae_a_SOURCES = \
300302
src/include/uae/asm.h \
301303
src/include/uae/assert.h \
302304
src/include/uae/caps.h \
305+
src/include/uae/cdrom.h \
303306
src/include/uae/cycleunit.h \
304307
src/include/uae/endian.h \
305308
src/include/uae/enum.h \
@@ -339,16 +342,6 @@ libuae_a_SOURCES = \
339342
src/ncr_scsi.cpp \
340343
src/newcpu.cpp \
341344
src/newcpu_common.cpp \
342-
src/od-fs/CapsAPI.h \
343-
src/od-fs/FLAC/all.h \
344-
src/od-fs/FLAC/assert.h \
345-
src/od-fs/FLAC/callback.h \
346-
src/od-fs/FLAC/export.h \
347-
src/od-fs/FLAC/format.h \
348-
src/od-fs/FLAC/metadata.h \
349-
src/od-fs/FLAC/ordinals.h \
350-
src/od-fs/FLAC/stream_decoder.h \
351-
src/od-fs/FLAC/stream_encoder.h \
352345
src/od-fs/ahi_winuae.cpp \
353346
src/od-fs/ahidsound.h \
354347
src/od-fs/ahidsound_new.cpp \
@@ -357,8 +350,6 @@ libuae_a_SOURCES = \
357350
src/od-fs/blkdev-linux.cpp \
358351
src/od-fs/bsdsocket_host.cpp \
359352
src/od-fs/callbacks.h \
360-
src/od-fs/caps.cpp \
361-
src/od-fs/caps_types.h \
362353
src/od-fs/cda_play.cpp \
363354
src/od-fs/cda_play.h \
364355
src/od-fs/cdimage_stubs.cpp \
@@ -367,7 +358,6 @@ libuae_a_SOURCES = \
367358
src/od-fs/clock.cpp \
368359
src/od-fs/defines.h \
369360
src/od-fs/driveclick.cpp \
370-
src/od-fs/dxwrap.h \
371361
src/od-fs/filesys_host.cpp \
372362
src/od-fs/fsdb_host.cpp \
373363
src/od-fs/fsdb_host.h \
@@ -409,16 +399,16 @@ libuae_a_SOURCES = \
409399
src/od-fs/threaddep/sem.h \
410400
src/od-fs/threaddep/thread.h \
411401
src/od-fs/threading.cpp \
412-
src/od-fs/uae_fs.h \
413402
src/od-fs/uae_host.cpp \
414-
src/od-fs/uae_host.h \
415-
src/od-fs/uae_util.h \
416403
src/od-fs/uaemisc.cpp \
417-
src/od-fs/util.cpp \
418404
src/od-fs/video.cpp \
419405
src/od-fs/winuae_compat.h \
406+
src/od-win32/caps/CapsAPI.h \
407+
src/od-win32/caps/Comtype.h \
408+
src/od-win32/caps/caps_win32.cpp \
420409
src/od-win32/caps/caps_win32.h \
421410
src/od-win32/debug_win32.h \
411+
src/od-win32/dxwrap.h \
422412
src/od-win32/md-fpp.h \
423413
src/od-win32/mman.cpp \
424414
src/od-win32/parser.h \
@@ -886,6 +876,15 @@ EXTRA_DIST = $(TESTS) $(EXTRA_TESTS) \
886876
debian/rules \
887877
debian/source \
888878
debian/source/format \
879+
flac/include/FLAC/all.h \
880+
flac/include/FLAC/assert.h \
881+
flac/include/FLAC/callback.h \
882+
flac/include/FLAC/export.h \
883+
flac/include/FLAC/format.h \
884+
flac/include/FLAC/metadata.h \
885+
flac/include/FLAC/ordinals.h \
886+
flac/include/FLAC/stream_decoder.h \
887+
flac/include/FLAC/stream_encoder.h \
889888
fs-uae.spec \
890889
libudis86/README \
891890
licenses/fs-uae.txt \
@@ -907,7 +906,7 @@ EXTRA_DIST = $(TESTS) $(EXTRA_TESTS) \
907906
src/jit/compemu_optimizer_x86.cpp \
908907
src/jit/compemu_raw_x86.cpp \
909908
src/od-fs/bsdsocket_posix.cpp \
910-
src/od-fs/bsdsocket_win32.cpp \
909+
src/od-win32/bsdsock.cpp \
911910
src/p96_blit.cpp \
912911
src/sinctable.cpp \
913912
src/table68k \
File renamed without changes.
File renamed without changes.

src/od-fs/FLAC/callback.h renamed to flac/include/FLAC/callback.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,12 @@ typedef int (*FLAC__IOCallback_Close) (FLAC__IOHandle handle);
167167
* a data sorce is not seekable by setting the \a seek field to \c NULL.
168168
*/
169169
typedef struct {
170-
FLAC__IOCallback_Read read;
171-
FLAC__IOCallback_Write write;
172-
FLAC__IOCallback_Seek seek;
173-
FLAC__IOCallback_Tell tell;
174-
FLAC__IOCallback_Eof eof;
175-
FLAC__IOCallback_Close close;
170+
FLAC__IOCallback_Read read;
171+
FLAC__IOCallback_Write write;
172+
FLAC__IOCallback_Seek seek;
173+
FLAC__IOCallback_Tell tell;
174+
FLAC__IOCallback_Eof eof;
175+
FLAC__IOCallback_Close close;
176176
} FLAC__IOCallbacks;
177177

178178
/* \} */

src/od-fs/FLAC/export.h renamed to flac/include/FLAC/export.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@
6161
#else
6262

6363
#ifdef FLAC_API_EXPORTS
64-
#define FLAC_API _declspec(dllexport)
64+
#define FLAC_API _declspec(dllexport)
6565
#else
66-
#define FLAC_API _declspec(dllimport)
66+
#define FLAC_API _declspec(dllimport)
6767

6868
#endif
6969
#endif

0 commit comments

Comments
 (0)