diff --git a/CHANGES.wii b/CHANGES.wii index cc59218..d5dbbdc 100644 --- a/CHANGES.wii +++ b/CHANGES.wii @@ -1,3 +1,10 @@ +version 9: + * Added dms and zip support + * Added drive sound + * (build) Compiled against libogc 1.8.9 + + -- Fabio Olimpieri , Apr 21 CEST 2012 + version 8: * Added rumble support * Added configurable aspect ratio diff --git a/Makefile.wii b/Makefile.wii index 1d437d6..290ca34 100644 --- a/Makefile.wii +++ b/Makefile.wii @@ -144,10 +144,10 @@ COMMON_FLAGS := -g -O3 -G8 -mrvl -Wall -D__inline__=__inline__ $(MACHDEP) -Wno-u INCLUDES := -Isrc/md-generic/ -Isrc/include -Isrc -I$(DEVKITPRO)/libogc/include -I$(DEVKITPRO)/libogc/include/SDL -I$(PORTLIBS)/include DEFINES := -DOS_WITHOUT_MEMORY_MANAGEMENT -DSAVESTATE -DUSE_SDL -DSUPPORT_THREADS -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 \ -DFPUEMU -DAGA -DAUTOCONFIG -DFILESYS \ - -DTD_START_HEIGHT=16 -DDRIVESOUND + -DTD_START_HEIGHT=16 -DDRIVESOUND CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(DEFINES) -#unused defines; -DFDI2RAW +#unused defines; -DCAPS (to enable ipf file) -DFDI2RAW (to enable DFI file) # Test link flags. LDFLAGS := $(COMMON_FLAGS) -L$(LIB_DIR) -L$(PORTLIBS)/lib -L$(DEVKITPRO)/libogc/lib -L$(DEVKITPRO)/libogc/lib/wii -lz -lSDL_ttf -lSDL -lfreetype -lfat -lwiiuse -lbte -logc -lm -lwiikeyboard -ltinysmb @@ -161,6 +161,7 @@ dist:uae.dol install -d $@/uae/harddisks install -d $@/uae/harddir install -d $@/uae/saves + install -d $@/uae/wave echo "dummy" > $@/uae/roms/put-your-kick-dot-rom-here echo "dummy" > $@/uae/floppies/dummy echo "dummy" > $@/uae/harddisks/dummy @@ -176,6 +177,7 @@ dist:uae.dol cp uaerc.smb $@/uae/ cp docs/configuration.txt $@/apps/uae/ cp docs/Joystick_mapping.txt $@/apps/uae/ + cp src/resource/*.wav $@/uae/wave cd $@ && tar -czf ../uae-wii-bin.tar.gz * distsource: diff --git a/meta.xml b/meta.xml index 8010a43..a52e9c1 100644 --- a/meta.xml +++ b/meta.xml @@ -2,8 +2,8 @@ UAE Simon Kagstrom - 8 - 20111231 + 9 + 21120421 Amiga emulator UAE is an Amiga emulator written by Bernd Schmidt et al, see http://amigaemulator.org. The port to Wii was done by Simon Kagstrom, with help from Christopher Follett, "Knitax" and Fabio Olimpieri (Oibaf) diff --git a/src/driveclick.c b/src/driveclick.c index 55f8eeb..d502bb0 100644 --- a/src/driveclick.c +++ b/src/driveclick.c @@ -90,7 +90,7 @@ static int loadsample (const char *path, struct drvsample *ds) write_log ("driveclick: can't open '%s'\n", path); return 0; } - // ("driveclick: loading '%s'\n", path); + // write_log("driveclick: loading '%s'\n", path); zfile_fseek (f, 0, SEEK_END); size = zfile_ftell (f); buf = malloc (size); @@ -223,7 +223,7 @@ void driveclick_init (void) } drvs[i][DS_CLICK].pos = drvs[i][DS_CLICK].len; drvs[i][DS_SNATCH].pos = drvs[i][DS_SNATCH].len; - vv += currprefs.dfxclick[i]; + vv += abs (currprefs.dfxclick[i]); } } diff --git a/src/gui-sdl/menu.c b/src/gui-sdl/menu.c index f046fa2..7f882d9 100644 --- a/src/gui-sdl/menu.c +++ b/src/gui-sdl/menu.c @@ -276,8 +276,9 @@ static const char **get_file_list(const char *base_dir) de = readdir(d)) { char buf[255]; - const char *exts[] = {".adf", ".ADF", ".adz", ".ADZ", ".ipf", ".IPF", ".fdi", ".FDI", - ".sav", ".SAV", ".uss", ".USS", ".rom", ".ROM", ".zip",".ZIP",".dms", ".DMS",NULL}; + //ipf files are not enabled in UAE Wii + const char *exts[] = {".adf", ".ADF", ".adz", ".ADZ", ".zip",".ZIP",".dms", ".DMS", + ".sav", ".SAV", ".uss", ".USS", ".rom", ".ROM", NULL}; struct stat st; snprintf(buf, 255, "%s/%s", base_dir, de->d_name); diff --git a/uaerc.wii b/uaerc.wii index 4f74c81..aa70be7 100644 --- a/uaerc.wii +++ b/uaerc.wii @@ -170,7 +170,7 @@ floppy1type=0 floppy2type=-1 floppy3type=-1 -# Enable floppy sound +# Enable floppy sound - set floppysound to -1 to load wave file - set to 0 to disable floppy0sound=1 floppy1sound=1 floppy_volume=33