]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
imported winuaesrc1610b4.zip
authorToni Wilen <twilen@winuae.net>
Sun, 14 Jun 2009 11:00:07 +0000 (14:00 +0300)
committerToni Wilen <twilen@winuae.net>
Mon, 22 Feb 2010 19:46:52 +0000 (21:46 +0200)
557 files changed:
ChangeLog [changed mode: 0755->0644]
a2091.c [changed mode: 0755->0644]
adide.c [changed mode: 0755->0644]
akiko.c [changed mode: 0755->0644]
akiko2.c [changed mode: 0755->0644]
amax.c [changed mode: 0755->0644]
ar.c [changed mode: 0755->0644]
arcadia.c [changed mode: 0755->0644]
archivers/7z/7zBuf.c [changed mode: 0755->0644]
archivers/7z/7zBuf.h [changed mode: 0755->0644]
archivers/7z/7zCrc.c [changed mode: 0755->0644]
archivers/7z/7zCrc.h [changed mode: 0755->0644]
archivers/7z/7zStream.c [changed mode: 0755->0644]
archivers/7z/7zVersion.h [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zAlloc.c [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zAlloc.h [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zDecode.c [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zDecode.h [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zExtract.c [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zExtract.h [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zHeader.c [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zHeader.h [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zIn.c [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zIn.h [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zItem.c [changed mode: 0755->0644]
archivers/7z/Archive/7z/7zItem.h [changed mode: 0755->0644]
archivers/7z/Bcj2.c [changed mode: 0755->0644]
archivers/7z/Bcj2.h [changed mode: 0755->0644]
archivers/7z/Bra.c [changed mode: 0755->0644]
archivers/7z/Bra.h [changed mode: 0755->0644]
archivers/7z/Bra86.c [changed mode: 0755->0644]
archivers/7z/CpuArch.h [changed mode: 0755->0644]
archivers/7z/LzmaDec.c [changed mode: 0755->0644]
archivers/7z/LzmaDec.h [changed mode: 0755->0644]
archivers/7z/Types.h [changed mode: 0755->0644]
archivers/dms/cdata.h [changed mode: 0755->0644]
archivers/dms/crc_csum.c [changed mode: 0755->0644]
archivers/dms/crc_csum.h [changed mode: 0755->0644]
archivers/dms/getbits.c [changed mode: 0755->0644]
archivers/dms/getbits.h [changed mode: 0755->0644]
archivers/dms/maketbl.c [changed mode: 0755->0644]
archivers/dms/maketbl.h [changed mode: 0755->0644]
archivers/dms/pfile.c [changed mode: 0755->0644]
archivers/dms/pfile.h [changed mode: 0755->0644]
archivers/dms/tables.c [changed mode: 0755->0644]
archivers/dms/tables.h [changed mode: 0755->0644]
archivers/dms/u_deep.c [changed mode: 0755->0644]
archivers/dms/u_deep.h [changed mode: 0755->0644]
archivers/dms/u_heavy.c [changed mode: 0755->0644]
archivers/dms/u_heavy.h [changed mode: 0755->0644]
archivers/dms/u_init.c [changed mode: 0755->0644]
archivers/dms/u_init.h [changed mode: 0755->0644]
archivers/dms/u_medium.c [changed mode: 0755->0644]
archivers/dms/u_medium.h [changed mode: 0755->0644]
archivers/dms/u_quick.c [changed mode: 0755->0644]
archivers/dms/u_quick.h [changed mode: 0755->0644]
archivers/dms/u_rle.c [changed mode: 0755->0644]
archivers/dms/u_rle.h [changed mode: 0755->0644]
archivers/lha/crcio.c [changed mode: 0755->0644]
archivers/lha/dhuf.c [changed mode: 0755->0644]
archivers/lha/header.c [changed mode: 0755->0644]
archivers/lha/huf.c [changed mode: 0755->0644]
archivers/lha/larc.c [changed mode: 0755->0644]
archivers/lha/lha.h [changed mode: 0755->0644]
archivers/lha/lha_macro.h [changed mode: 0755->0644]
archivers/lha/lhamaketbl.c [changed mode: 0755->0644]
archivers/lha/lharc.c [changed mode: 0755->0644]
archivers/lha/shuf.c [changed mode: 0755->0644]
archivers/lha/slide.c [changed mode: 0755->0644]
archivers/lha/uae_lha.c [changed mode: 0755->0644]
archivers/lha/util.c [changed mode: 0755->0644]
archivers/lzx/unlzx.c [changed mode: 0755->0644]
archivers/wrp/warp.c [changed mode: 0755->0644]
archivers/wrp/warp.h [changed mode: 0755->0644]
archivers/xfd/main.c [changed mode: 0755->0644]
archivers/xfd/xfd.c [changed mode: 0755->0644]
archivers/xfd/xfdmaster.h [changed mode: 0755->0644]
archivers/zip/unzip.c [changed mode: 0755->0644]
archivers/zip/unzip.h [changed mode: 0755->0644]
audio.c [changed mode: 0755->0644]
autoconf.c [changed mode: 0755->0644]
blitops.c [changed mode: 0755->0644]
blitter.c [changed mode: 0755->0644]
blkdev.c [changed mode: 0755->0644]
bsdsocket.c [changed mode: 0755->0644]
build68k.c [changed mode: 0755->0644]
catweasel.c [changed mode: 0755->0644]
cd32_fmv.c [changed mode: 0755->0644]
cdrom.c [changed mode: 0755->0644]
cdtv.c [changed mode: 0755->0644]
cfgfile.c [changed mode: 0755->0644]
cia.c [changed mode: 0755->0644]
core.cw4.c [changed mode: 0755->0644]
cpu_small.c [changed mode: 0755->0644]
cpummu.c [changed mode: 0755->0644]
cpuopti.c [changed mode: 0755->0644]
cpustbl_small.c [changed mode: 0755->0644]
cputbl_small.h [changed mode: 0755->0644]
crc32.c [changed mode: 0755->0644]
custom.c [changed mode: 0755->0644]
debug.c [changed mode: 0755->0644]
disk.c [changed mode: 0755->0644]
diskutil.c [changed mode: 0755->0644]
drawing.c [changed mode: 0755->0644]
driveclick.c [changed mode: 0755->0644]
enforcer.c [changed mode: 0755->0644]
epsonprinter.c [changed mode: 0755->0644]
ersatz.c [changed mode: 0755->0644]
expansion.c [changed mode: 0755->0644]
fdi2raw.c [changed mode: 0755->0644]
filesys.asm [changed mode: 0755->0644]
filesys.c [changed mode: 0755->0644]
filesys.sh [changed mode: 0755->0644]
filesys_bootrom.c [changed mode: 0755->0644]
fpp.c [changed mode: 0755->0644]
fsdb.c [changed mode: 0755->0644]
fsdb_unix.c [changed mode: 0755->0644]
fsusage.c [changed mode: 0755->0644]
gayle.c [changed mode: 0755->0644]
genblitter.c [changed mode: 0755->0644]
gencpu.c [changed mode: 0755->0644]
gencpu_mini.c [changed mode: 0755->0644]
gengenblitter.c [changed mode: 0755->0644]
genlinetoscr.c [changed mode: 0755->0644]
genp2c.c [changed mode: 0755->0644]
gfxlib.c [changed mode: 0755->0644]
gfxutil.c [changed mode: 0755->0644]
gtkui.c [changed mode: 0755->0644]
hardfile.c [changed mode: 0755->0644]
hrtmon_rom.c [changed mode: 0755->0644]
identify.c [changed mode: 0755->0644]
include/a2091.h [changed mode: 0755->0644]
include/akiko.h [changed mode: 0755->0644]
include/amax.h [changed mode: 0755->0644]
include/ar.h [changed mode: 0755->0644]
include/arcadia.h [changed mode: 0755->0644]
include/audio.h [changed mode: 0755->0644]
include/autoconf.h [changed mode: 0755->0644]
include/blitter.h [changed mode: 0755->0644]
include/blkdev.h [changed mode: 0755->0644]
include/bsdsocket.h [changed mode: 0755->0644]
include/catweasel.h [changed mode: 0755->0644]
include/cd32_fmv.h [changed mode: 0755->0644]
include/cdtv.h [changed mode: 0755->0644]
include/cia.h [changed mode: 0755->0644]
include/clipboard.h [changed mode: 0755->0644]
include/commpipe.h [changed mode: 0755->0644]
include/cpu_prefetch.h [changed mode: 0755->0644]
include/cpu_small.h [changed mode: 0755->0644]
include/cpummu.h [changed mode: 0755->0644]
include/crc32.h [changed mode: 0755->0644]
include/custom.h [changed mode: 0755->0644]
include/debug.h [changed mode: 0755->0644]
include/disk.h [changed mode: 0755->0644]
include/diskutil.h [changed mode: 0755->0644]
include/drawing.h [changed mode: 0755->0644]
include/driveclick.h [changed mode: 0755->0644]
include/enforcer.h [changed mode: 0755->0644]
include/epsonprinter.h [changed mode: 0755->0644]
include/ersatz.h [changed mode: 0755->0644]
include/events.h [changed mode: 0755->0644]
include/events_jit.h [changed mode: 0755->0644]
include/events_normal.h [changed mode: 0755->0644]
include/execio.h [changed mode: 0755->0644]
include/execlib.h [changed mode: 0755->0644]
include/fdi2raw.h [changed mode: 0755->0644]
include/filesys.h [changed mode: 0755->0644]
include/flags_x86.h [changed mode: 0755->0644]
include/fpp-ieee-be.h [changed mode: 0755->0644]
include/fpp-unknown.h [changed mode: 0755->0644]
include/fsdb.h [changed mode: 0755->0644]
include/fsusage.h [changed mode: 0755->0644]
include/gayle.h [changed mode: 0755->0644]
include/genblitter.h [changed mode: 0755->0644]
include/gensound.h [changed mode: 0755->0644]
include/gfxfilter.h [changed mode: 0755->0644]
include/gui.h [changed mode: 0755->0644]
include/identify.h [changed mode: 0755->0644]
include/inputdevice.h [changed mode: 0755->0644]
include/keyboard.h [changed mode: 0755->0644]
include/keybuf.h [changed mode: 0755->0644]
include/mackbd.h [changed mode: 0755->0644]
include/memory.h [changed mode: 0755->0644]
include/moduleripper.h [changed mode: 0755->0644]
include/native2amiga.h [changed mode: 0755->0644]
include/native2amiga_api.h [changed mode: 0755->0644]
include/ncr_scsi.h [changed mode: 0755->0644]
include/newcpu.h [changed mode: 0755->0644]
include/options.h [changed mode: 0755->0644]
include/osemu.h [changed mode: 0755->0644]
include/parallel.h [changed mode: 0755->0644]
include/picasso96.h [changed mode: 0755->0644]
include/readcpu.h [changed mode: 0755->0644]
include/rtgmodes.h [changed mode: 0755->0644]
include/sana2.h [changed mode: 0755->0644]
include/savestate.h [changed mode: 0755->0644]
include/scsi.h [changed mode: 0755->0644]
include/scsidev.h [changed mode: 0755->0644]
include/serial.h [changed mode: 0755->0644]
include/statusline.h [changed mode: 0755->0644]
include/sysdeps.h [changed mode: 0755->0644]
include/traps.h [changed mode: 0755->0644]
include/uae.h [changed mode: 0755->0644]
include/uaeexe.h [changed mode: 0755->0644]
include/uaeipc.h [changed mode: 0755->0644]
include/uaeresource.h [changed mode: 0755->0644]
include/uaeserial.h [changed mode: 0755->0644]
include/xwin.h [changed mode: 0755->0644]
include/zarchive.h [changed mode: 0755->0644]
include/zfile.h [changed mode: 0755->0644]
inprec.c [changed mode: 0755->0644]
inputdevice.c [changed mode: 0755->0644]
inputevents.def [changed mode: 0755->0644]
jit/codegen_x86.c [changed mode: 0755->0644]
jit/codegen_x86.h [changed mode: 0755->0644]
jit/compemu.h [changed mode: 0755->0644]
jit/compemu_codegen.h [changed mode: 0755->0644]
jit/compemu_fpp.c [changed mode: 0755->0644]
jit/compemu_optimizer_x86.c [changed mode: 0755->0644]
jit/compemu_raw_x86.c [changed mode: 0755->0644]
jit/compemu_support.c [changed mode: 0755->0644]
jit/compemu_support_codegen.c [changed mode: 0755->0644]
jit/gencomp.c [changed mode: 0755->0644]
keybuf.c [changed mode: 0755->0644]
main.c [changed mode: 0755->0644]
memory.c [changed mode: 0755->0644]
missing.c [changed mode: 0755->0644]
moduleripper.c [changed mode: 0755->0644]
native2amiga.c [changed mode: 0755->0644]
ncr_scsi.c [changed mode: 0755->0644]
newcpu.c [changed mode: 0755->0644]
nogui.c [changed mode: 0755->0644]
od-win32/7zplugin.c [changed mode: 0755->0644]
od-win32/WinUAE_Install.nsi [changed mode: 0755->0644]
od-win32/ahidsound.h [changed mode: 0755->0644]
od-win32/ahidsound_dsonly.c [changed mode: 0755->0644]
od-win32/ahidsound_new.c [changed mode: 0755->0644]
od-win32/ahidsound_new.h [changed mode: 0755->0644]
od-win32/ahidsound_new2.c [changed mode: 0755->0644]
od-win32/ahidsound_unified.c [changed mode: 0755->0644]
od-win32/ahidsoundx_new.c [changed mode: 0755->0644]
od-win32/asm.cmd [changed mode: 0755->0644]
od-win32/avioutput.c [changed mode: 0755->0644]
od-win32/avioutput.h [changed mode: 0755->0644]
od-win32/blkdev_win32_aspi.c [changed mode: 0755->0644]
od-win32/blkdev_win32_ioctl.c [changed mode: 0755->0644]
od-win32/blkdev_win32_spti.c [changed mode: 0755->0644]
od-win32/bsdsock.c [changed mode: 0755->0644]
od-win32/build68k_msvc/build68k_msvc.rc [changed mode: 0755->0644]
od-win32/build68k_msvc/build68k_msvc.vcproj [changed mode: 0755->0644]
od-win32/build68k_msvc/build68k_msvc.vcxproj [changed mode: 0755->0644]
od-win32/build68k_msvc/build68k_msvc.vcxproj.filters [changed mode: 0755->0644]
od-win32/caps/CapsAPI.h [changed mode: 0755->0644]
od-win32/caps/CapsLib.h [changed mode: 0755->0644]
od-win32/caps/Comlib.h [changed mode: 0755->0644]
od-win32/caps/Comtype.h [changed mode: 0755->0644]
od-win32/caps/caps_win32.c [changed mode: 0755->0644]
od-win32/caps/caps_win32.h [changed mode: 0755->0644]
od-win32/clipboard_win32.c [changed mode: 0755->0644]
od-win32/clipboard_win32.h [changed mode: 0755->0644]
od-win32/clirun.c [changed mode: 0755->0644]
od-win32/cloanto/RetroPlatformGuestIPC.c [changed mode: 0755->0644]
od-win32/cloanto/RetroPlatformGuestIPC.h [changed mode: 0755->0644]
od-win32/cloanto/RetroPlatformIPC.h [changed mode: 0755->0644]
od-win32/cloanto/RetroPlatformIPC_doc_draft.txt [changed mode: 0755->0644]
od-win32/debug_win32.c [changed mode: 0755->0644]
od-win32/debug_win32.h [changed mode: 0755->0644]
od-win32/dinput.c [changed mode: 0755->0644]
od-win32/direct3d.c [changed mode: 0755->0644]
od-win32/direct3d.h [changed mode: 0755->0644]
od-win32/diskutil.c [changed mode: 0755->0644]
od-win32/diskutil.h [changed mode: 0755->0644]
od-win32/driveclick_win32.c [changed mode: 0755->0644]
od-win32/dxwrap.c [changed mode: 0755->0644]
od-win32/dxwrap.h [changed mode: 0755->0644]
od-win32/fdrawcmd.c [changed mode: 0755->0644]
od-win32/fsdb_mywin32.c [changed mode: 0755->0644]
od-win32/fsdb_win32.c [changed mode: 0755->0644]
od-win32/genblitter_msvc/genblitter_msvc.vcproj [changed mode: 0755->0644]
od-win32/genblitter_msvc/genblitter_msvc.vcxproj [changed mode: 0755->0644]
od-win32/genblitter_msvc/genblitter_msvc.vcxproj.filters [changed mode: 0755->0644]
od-win32/gencomp_msvc/gencomp_msvc.vcproj [changed mode: 0755->0644]
od-win32/gencomp_msvc/gencomp_msvc.vcxproj [changed mode: 0755->0644]
od-win32/gencomp_msvc/gencomp_msvc.vcxproj.filters [changed mode: 0755->0644]
od-win32/gencpu_msvc/gencpu.exe.manifest [changed mode: 0755->0644]
od-win32/gencpu_msvc/gencpu_msvc.vcproj [changed mode: 0755->0644]
od-win32/gencpu_msvc/gencpu_msvc.vcxproj [changed mode: 0755->0644]
od-win32/gencpu_msvc/gencpu_msvc.vcxproj.filters [changed mode: 0755->0644]
od-win32/genlinetoscr_msvc/genlinetoscr_msvc.vcproj [changed mode: 0755->0644]
od-win32/genlinetoscr_msvc/genlinetoscr_msvc.vcxproj [changed mode: 0755->0644]
od-win32/genlinetoscr_msvc/genlinetoscr_msvc.vcxproj.filters [changed mode: 0755->0644]
od-win32/graphics/amiga_header.bmp [changed mode: 0755->0644]
od-win32/graphics/amiga_welcome.bmp [changed mode: 0755->0644]
od-win32/graphics/installer_icon.ico [changed mode: 0755->0644]
od-win32/hardfile_win32.c [changed mode: 0755->0644]
od-win32/hq2x16.asm [changed mode: 0755->0644]
od-win32/hq2x32.asm [changed mode: 0755->0644]
od-win32/hq2x_d3d.c [changed mode: 0755->0644]
od-win32/hq2x_d3d.h [changed mode: 0755->0644]
od-win32/hq3x16.asm [changed mode: 0755->0644]
od-win32/hq3x32.asm [changed mode: 0755->0644]
od-win32/hq4x16.asm [changed mode: 0755->0644]
od-win32/hq4x32.asm [changed mode: 0755->0644]
od-win32/ioport.c [changed mode: 0755->0644]
od-win32/ioport.h [changed mode: 0755->0644]
od-win32/ipctester.c [changed mode: 0755->0644]
od-win32/keyboard_win32.c [changed mode: 0755->0644]
od-win32/lcd.c [changed mode: 0755->0644]
od-win32/lcd.h [changed mode: 0755->0644]
od-win32/machdep/m68k.h [changed mode: 0755->0644]
od-win32/machdep/maccess.h [changed mode: 0755->0644]
od-win32/machdep/rpt.h [changed mode: 0755->0644]
od-win32/machdep/support.c [changed mode: 0755->0644]
od-win32/makeexe.cmd [changed mode: 0755->0644]
od-win32/md-fpp.h [changed mode: 0755->0644]
od-win32/midi.c [changed mode: 0755->0644]
od-win32/midi.h [changed mode: 0755->0644]
od-win32/midiin.c [changed mode: 0755->0644]
od-win32/mman.c [changed mode: 0755->0644]
od-win32/opengl.c [changed mode: 0755->0644]
od-win32/opengl.h [changed mode: 0755->0644]
od-win32/parser.c [changed mode: 0755->0644]
od-win32/parser.h [changed mode: 0755->0644]
od-win32/picasso96_win.c [changed mode: 0755->0644]
od-win32/picasso96_win.h [changed mode: 0755->0644]
od-win32/posixemu.c [changed mode: 0755->0644]
od-win32/posixemu.h [changed mode: 0755->0644]
od-win32/registry.c [changed mode: 0755->0644]
od-win32/registry.h [changed mode: 0755->0644]
od-win32/resources/35floppy.ico [changed mode: 0755->0644]
od-win32/resources/Mycomp.ico [changed mode: 0755->0644]
od-win32/resources/WinUAE_German.rc [changed mode: 0755->0644]
od-win32/resources/amiga.png [changed mode: 0755->0644]
od-win32/resources/amigainfo.ico [changed mode: 0755->0644]
od-win32/resources/avioutput.ico [changed mode: 0755->0644]
od-win32/resources/base floppy.png [new file with mode: 0644]
od-win32/resources/chip.ico [changed mode: 0755->0644]
od-win32/resources/cpu.ico [changed mode: 0755->0644]
od-win32/resources/diskimage.ico [new file with mode: 0644]
od-win32/resources/drive.ico [changed mode: 0755->0644]
od-win32/resources/drive_click.wav [changed mode: 0755->0644]
od-win32/resources/drive_snatch.wav [changed mode: 0755->0644]
od-win32/resources/drive_spin.wav [changed mode: 0755->0644]
od-win32/resources/drive_spinnd.wav [changed mode: 0755->0644]
od-win32/resources/drive_startup.wav [changed mode: 0755->0644]
od-win32/resources/file.ico [changed mode: 0755->0644]
od-win32/resources/folder.ico [changed mode: 0755->0644]
od-win32/resources/h_arrow.cur [changed mode: 0755->0644]
od-win32/resources/icon3.ico [new file with mode: 0644]
od-win32/resources/joystick.ico [changed mode: 0755->0644]
od-win32/resources/lcd.bmp [changed mode: 0755->0644]
od-win32/resources/misc.ico [changed mode: 0755->0644]
od-win32/resources/move_dow.ico [changed mode: 0755->0644]
od-win32/resources/move_up.ico [changed mode: 0755->0644]
od-win32/resources/paths.ico [changed mode: 0755->0644]
od-win32/resources/quickstart.ico [changed mode: 0755->0644]
od-win32/resources/resource [changed mode: 0755->0644]
od-win32/resources/root.ico [changed mode: 0755->0644]
od-win32/resources/screen.ico [changed mode: 0755->0644]
od-win32/resources/sound.ico [changed mode: 0755->0644]
od-win32/resources/winuae.exe.manifest [changed mode: 0755->0644]
od-win32/resources/winuae.ico [changed mode: 0755->0644]
od-win32/resources/winuae.rc [changed mode: 0755->0644]
od-win32/resources/winuae9.exe.manifest [changed mode: 0755->0644]
od-win32/resources/winuae_minimal.rc [changed mode: 0755->0644]
od-win32/resources/winuae_old.rc [changed mode: 0755->0644]
od-win32/resources/xarcade-winuae.bmp [changed mode: 0755->0644]
od-win32/rp.c [changed mode: 0755->0644]
od-win32/rp.h [changed mode: 0755->0644]
od-win32/scaler.c [changed mode: 0755->0644]
od-win32/scaler2.c [changed mode: 0755->0644]
od-win32/scaler_more.c [changed mode: 0755->0644]
od-win32/screenshot.c [changed mode: 0755->0644]
od-win32/scsidef.h [changed mode: 0755->0644]
od-win32/serial_win32.c [changed mode: 0755->0644]
od-win32/sfhelper.c [changed mode: 0755->0644]
od-win32/shm.c [changed mode: 0755->0644]
od-win32/soundcheck.c [changed mode: 0755->0644]
od-win32/sounddep/sound.c [changed mode: 0755->0644]
od-win32/sounddep/sound.h [changed mode: 0755->0644]
od-win32/srcrelease.cmd [changed mode: 0755->0644]
od-win32/support.c [changed mode: 0755->0644]
od-win32/sys/ipc.h [changed mode: 0755->0644]
od-win32/sys/mman.h [changed mode: 0755->0644]
od-win32/sys/shm.h [changed mode: 0755->0644]
od-win32/sysconfig.h [changed mode: 0755->0644]
od-win32/target.h [changed mode: 0755->0644]
od-win32/threaddep/thread.h [changed mode: 0755->0644]
od-win32/tun.c [changed mode: 0755->0644]
od-win32/tun.h [changed mode: 0755->0644]
od-win32/tun_uae.h [changed mode: 0755->0644]
od-win32/uaeunp/uaeunp.vcproj [changed mode: 0755->0644]
od-win32/uaeunp/uaeunp.vcxproj [changed mode: 0755->0644]
od-win32/uaeunp/uaeunp.vcxproj.filters [changed mode: 0755->0644]
od-win32/uaeunp_win32.c [changed mode: 0755->0644]
od-win32/unicode.c [changed mode: 0755->0644]
od-win32/unistd.h [changed mode: 0755->0644]
od-win32/win32.c [changed mode: 0755->0644]
od-win32/win32.h [changed mode: 0755->0644]
od-win32/win32_decompress.c [changed mode: 0755->0644]
od-win32/win32_filesys.c [changed mode: 0755->0644]
od-win32/win32_nogui.c [changed mode: 0755->0644]
od-win32/win32_scale2x.c [changed mode: 0755->0644]
od-win32/win32_uaenet.c [changed mode: 0755->0644]
od-win32/win32_uaenet.h [changed mode: 0755->0644]
od-win32/win32gfx.c [changed mode: 0755->0644]
od-win32/win32gfx.h [changed mode: 0755->0644]
od-win32/win32gui.c [changed mode: 0755->0644]
od-win32/win32gui.h [changed mode: 0755->0644]
od-win32/win32gui_extra.c [changed mode: 0755->0644]
od-win32/wintablet.h [changed mode: 0755->0644]
od-win32/winuae_msvc/winuae_msvc.vcproj [changed mode: 0755->0644]
od-win32/winuaechangelog.txt [changed mode: 0755->0644]
od-win32/writelog.c [changed mode: 0755->0644]
p96_blit.c [changed mode: 0755->0644]
picasso96.c [changed mode: 0755->0644]
prowizard/include/extern.h [changed mode: 0755->0644]
prowizard/include/globals.h [changed mode: 0755->0644]
prowizard/include/ptktable.h [changed mode: 0755->0644]
prowizard/include/tuning.h [changed mode: 0755->0644]
prowizard/include/vars.h [changed mode: 0755->0644]
prowizard/misc/misc.c [changed mode: 0755->0644]
prowizard/misc/testbag.c [changed mode: 0755->0644]
prowizard/prowiz.c [changed mode: 0755->0644]
prowizard/rippers/AC1D_packer.c [changed mode: 0755->0644]
prowizard/rippers/AMOS-MusicBank.c [changed mode: 0755->0644]
prowizard/rippers/AMOS-PowerPackerBank.c [changed mode: 0755->0644]
prowizard/rippers/BP-Soundmonitor.c [changed mode: 0755->0644]
prowizard/rippers/BSI-FutureComposer.c [changed mode: 0755->0644]
prowizard/rippers/Bytekiller.c [changed mode: 0755->0644]
prowizard/rippers/ChipTracker.c [changed mode: 0755->0644]
prowizard/rippers/Crunchmania-Address.c [changed mode: 0755->0644]
prowizard/rippers/Crunchmania-Simple.c [changed mode: 0755->0644]
prowizard/rippers/DefjamCruncher32-pro.c [changed mode: 0755->0644]
prowizard/rippers/DigiBooster17.c [changed mode: 0755->0644]
prowizard/rippers/DigitalIllusion.c [changed mode: 0755->0644]
prowizard/rippers/DoubleAction.c [changed mode: 0755->0644]
prowizard/rippers/Dragpack100.c [changed mode: 0755->0644]
prowizard/rippers/Dragpack252.c [changed mode: 0755->0644]
prowizard/rippers/EurekaPacker.c [changed mode: 0755->0644]
prowizard/rippers/FC-M-Packer.c [changed mode: 0755->0644]
prowizard/rippers/FastTracker2.c [changed mode: 0755->0644]
prowizard/rippers/FuchsTracker.c [changed mode: 0755->0644]
prowizard/rippers/FutureComposer13.c [changed mode: 0755->0644]
prowizard/rippers/FutureComposer14.c [changed mode: 0755->0644]
prowizard/rippers/FuzzacPacker.c [changed mode: 0755->0644]
prowizard/rippers/GNUPacker12.c [changed mode: 0755->0644]
prowizard/rippers/GPMO.c [changed mode: 0755->0644]
prowizard/rippers/GameMusicCreator.c [changed mode: 0755->0644]
prowizard/rippers/GnuPlayer.c [changed mode: 0755->0644]
prowizard/rippers/HQC2.c [changed mode: 0755->0644]
prowizard/rippers/HeatseekerMC10.c [changed mode: 0755->0644]
prowizard/rippers/HornetPacker.c [changed mode: 0755->0644]
prowizard/rippers/JamCracker.c [changed mode: 0755->0644]
prowizard/rippers/KefrensSoundMachine.c [changed mode: 0755->0644]
prowizard/rippers/MED-Octamed.c [changed mode: 0755->0644]
prowizard/rippers/MOD-compatible.c [changed mode: 0755->0644]
prowizard/rippers/MasterCruncher30-Address.c [changed mode: 0755->0644]
prowizard/rippers/MaxPacker12.c [changed mode: 0755->0644]
prowizard/rippers/MegaCruncher-Object.c [changed mode: 0755->0644]
prowizard/rippers/MegaCruncher.c [changed mode: 0755->0644]
prowizard/rippers/ModuleProtector.c [changed mode: 0755->0644]
prowizard/rippers/Mugician.c [changed mode: 0755->0644]
prowizard/rippers/Newtron.c [changed mode: 0755->0644]
prowizard/rippers/NewtronOld.c [changed mode: 0755->0644]
prowizard/rippers/NoiseFromHeaven.c [changed mode: 0755->0644]
prowizard/rippers/NoisePacker1.c [changed mode: 0755->0644]
prowizard/rippers/NoisePacker2.c [changed mode: 0755->0644]
prowizard/rippers/NoisePacker3.c [changed mode: 0755->0644]
prowizard/rippers/NoiseRunner.c [changed mode: 0755->0644]
prowizard/rippers/NovoTrade.c [changed mode: 0755->0644]
prowizard/rippers/PhaPacker.c [changed mode: 0755->0644]
prowizard/rippers/PolkaPacker.c [changed mode: 0755->0644]
prowizard/rippers/PowerMusic.c [changed mode: 0755->0644]
prowizard/rippers/PowerPacker23.c [changed mode: 0755->0644]
prowizard/rippers/PowerPacker30.c [changed mode: 0755->0644]
prowizard/rippers/PowerPacker40-library.c [changed mode: 0755->0644]
prowizard/rippers/PowerPacker40.c [changed mode: 0755->0644]
prowizard/rippers/ProPacker10.c [changed mode: 0755->0644]
prowizard/rippers/ProPacker21.c [changed mode: 0755->0644]
prowizard/rippers/ProPacker30.c [changed mode: 0755->0644]
prowizard/rippers/Promizer01.c [changed mode: 0755->0644]
prowizard/rippers/Promizer10c.c [changed mode: 0755->0644]
prowizard/rippers/Promizer18a.c [changed mode: 0755->0644]
prowizard/rippers/Promizer20.c [changed mode: 0755->0644]
prowizard/rippers/Promizer40.c [changed mode: 0755->0644]
prowizard/rippers/Prorunner10.c [changed mode: 0755->0644]
prowizard/rippers/Prorunner20.c [changed mode: 0755->0644]
prowizard/rippers/QuadraComposer.c [changed mode: 0755->0644]
prowizard/rippers/RelokIt10.c [changed mode: 0755->0644]
prowizard/rippers/SGT-Packer.c [changed mode: 0755->0644]
prowizard/rippers/SkytPacker.c [changed mode: 0755->0644]
prowizard/rippers/SoundFX.c [changed mode: 0755->0644]
prowizard/rippers/SoundTracker.c [changed mode: 0755->0644]
prowizard/rippers/SoundTracker26.c [changed mode: 0755->0644]
prowizard/rippers/SpikeCruncher.c [changed mode: 0755->0644]
prowizard/rippers/StartrekkerPack.c [changed mode: 0755->0644]
prowizard/rippers/StimPacker.c [changed mode: 0755->0644]
prowizard/rippers/StoneArtsPlayer.c [changed mode: 0755->0644]
prowizard/rippers/StoneCracker270.c [changed mode: 0755->0644]
prowizard/rippers/StoneCracker299.c [changed mode: 0755->0644]
prowizard/rippers/StoneCracker299b.c [changed mode: 0755->0644]
prowizard/rippers/StoneCracker299d.c [changed mode: 0755->0644]
prowizard/rippers/StoneCracker300.c [changed mode: 0755->0644]
prowizard/rippers/StoneCracker310.c [changed mode: 0755->0644]
prowizard/rippers/SuperCruncher27.c [changed mode: 0755->0644]
prowizard/rippers/SyncroPacker46.c [changed mode: 0755->0644]
prowizard/rippers/TMK.c [changed mode: 0755->0644]
prowizard/rippers/TNMCruncher.c [changed mode: 0755->0644]
prowizard/rippers/TetraPack102.c [changed mode: 0755->0644]
prowizard/rippers/TetraPack21.c [changed mode: 0755->0644]
prowizard/rippers/TetraPack22.c [changed mode: 0755->0644]
prowizard/rippers/TheDarkDemon.c [changed mode: 0755->0644]
prowizard/rippers/ThePlayer22a.c [changed mode: 0755->0644]
prowizard/rippers/ThePlayer30a.c [changed mode: 0755->0644]
prowizard/rippers/ThePlayer40.c [changed mode: 0755->0644]
prowizard/rippers/ThePlayer41a.c [changed mode: 0755->0644]
prowizard/rippers/ThePlayer50a.c [changed mode: 0755->0644]
prowizard/rippers/ThePlayer60a.c [changed mode: 0755->0644]
prowizard/rippers/ThePlayer61a.c [changed mode: 0755->0644]
prowizard/rippers/TimeCruncher17.c [changed mode: 0755->0644]
prowizard/rippers/TitanicsPlayer.c [changed mode: 0755->0644]
prowizard/rippers/TrackerPacker1.c [changed mode: 0755->0644]
prowizard/rippers/TrackerPacker2.c [changed mode: 0755->0644]
prowizard/rippers/TrackerPacker3.c [changed mode: 0755->0644]
prowizard/rippers/TreasurePattern.c [changed mode: 0755->0644]
prowizard/rippers/TryItCruncher101.c [changed mode: 0755->0644]
prowizard/rippers/TurboSqueezer61.c [changed mode: 0755->0644]
prowizard/rippers/UnicTracker.c [changed mode: 0755->0644]
prowizard/rippers/UnicTracker2.c [changed mode: 0755->0644]
prowizard/rippers/Viruz2.c [changed mode: 0755->0644]
prowizard/rippers/WantonPacker.c [changed mode: 0755->0644]
prowizard/rippers/XannPlayer.c [changed mode: 0755->0644]
prowizard/rippers/ZenPacker.c [changed mode: 0755->0644]
prowizard/rippers/datacrunchers.c [changed mode: 0755->0644]
prowizard/rippers/skizzo.c [changed mode: 0755->0644]
readcpu.c [changed mode: 0755->0644]
readdisk.c [changed mode: 0755->0644]
rpc.c [changed mode: 0755->0644]
sana2.c [changed mode: 0755->0644]
savestate.c [changed mode: 0755->0644]
scsi.c [changed mode: 0755->0644]
scsidev.c [changed mode: 0755->0644]
scsiemul.c [changed mode: 0755->0644]
serial.c [changed mode: 0755->0644]
sinctable.c [changed mode: 0755->0644]
table68k [changed mode: 0755->0644]
traps.c [changed mode: 0755->0644]
uaeexe.c [changed mode: 0755->0644]
uaeipc.c [changed mode: 0755->0644]
uaelib.c [changed mode: 0755->0644]
uaeresource.c [changed mode: 0755->0644]
uaeserial.c [changed mode: 0755->0644]
uaeunp.c [changed mode: 0755->0644]
writelog.c [changed mode: 0755->0644]
zfile.c [changed mode: 0755->0644]
zfile_archive.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
diff --git a/a2091.c b/a2091.c
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/adide.c b/adide.c
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/akiko.c b/akiko.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/amax.c b/amax.c
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/ar.c b/ar.c
old mode 100755 (executable)
new mode 100644 (file)
index ac72981..cac97b7
--- a/ar.c
+++ b/ar.c
@@ -1669,7 +1669,7 @@ int action_replay_load (void)
        return 0;
     }
     action_replay_flag = ACTION_REPLAY_INACTIVE;
-    armemory_rom = (uae_u8*)xmalloc (ar_rom_file_size);
+    armemory_rom = xmalloc (ar_rom_file_size);
     zfile_fread (armemory_rom, 1, ar_rom_file_size, f);
     zfile_fclose (f);
     if (ar_rom_file_size == 65536) {
@@ -1688,7 +1688,7 @@ int action_replay_load (void)
     }
     arram_mask = arram_size - 1;
     arrom_mask = arrom_size - 1;
-    armemory_ram = (uae_u8*)xcalloc (arram_size, 1);
+    armemory_ram = xcalloc (arram_size, 1);
     write_log (L"Action Replay %d installed at %08X, size %08X\n", armodel, arrom_start, arrom_size);
     action_replay_version();
     return armodel;
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/audio.c b/audio.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/cdrom.c b/cdrom.c
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/cdtv.c b/cdtv.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 9212d6c..7cac94b
--- a/cfgfile.c
+++ b/cfgfile.c
@@ -272,10 +272,13 @@ static void cfg_dowrite (struct zfile *f, const TCHAR *option, const TCHAR *valu
     cfg_write (tmp, f);
     if (utf8 && !unicode_config) {
        char *opt = ua (option);
-       if (target)
-           sprintf (tmpa, "%s.%s.utf8=%s", TARGET_NAME, opt, tmp2);
-       else
+       if (target) {
+           char *tna = ua (TARGET_NAME);
+           sprintf (tmpa, "%s.%s.utf8=%s", tna, opt, tmp2);
+           xfree (tna);
+       } else {
            sprintf (tmpa, "%s.utf8=%s", opt, tmp2);
+       }
        xfree (opt);
        zfile_fwrite (tmpa, strlen (tmpa), 1, f);
        zfile_fwrite (&lf, 1, 1, f);
@@ -1995,6 +1998,8 @@ static int isobsolete (TCHAR *s)
        }
        i++;
     }
+    if (_tcslen (s) > 2 && !_tcsncmp (s, L"w.", 2))
+       return 1;
     if (_tcslen (s) >= 10 && !_tcsncmp (s, L"gfx_opengl", 10)) {
        write_log (L"obsolete config entry '%s\n", s);
        return 1;
diff --git a/cia.c b/cia.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/crc32.c b/crc32.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index f48e7f0..2a46ba5
--- a/custom.c
+++ b/custom.c
@@ -3237,6 +3237,7 @@ static int isehb (uae_u16 bplcon0, uae_u16 bplcon2)
        bplehb = ((bplcon0 & 0xFC00) == 0x6000 || (bplcon0 & 0xFC00) == 0x7000) && !currprefs.cs_denisenoehb;
     return bplehb;
 }
+
 static void BPLCON0 (int hpos, uae_u16 v)
 {
     if (! (currprefs.chipset_mask & CSMASK_ECS_DENISE))
diff --git a/debug.c b/debug.c
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/disk.c b/disk.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index e111d49..508ef9c
--- a/drawing.c
+++ b/drawing.c
@@ -1310,7 +1310,7 @@ static void init_ham_decoding (void)
            int pv = pixdata.apixels[ham_decode_pixel + unpainted_amiga - 1];
 #ifdef AGA
            if (currprefs.chipset_mask & CSMASK_AGA)
-               ham_lastcolor = colors_for_drawing.color_regs_aga[pv];
+               ham_lastcolor = colors_for_drawing.color_regs_aga[pv ^ bplxor];
            else
 #endif
                ham_lastcolor = colors_for_drawing.color_regs_ecs[pv];
@@ -1319,7 +1319,7 @@ static void init_ham_decoding (void)
     } else if (currprefs.chipset_mask & CSMASK_AGA) {
        if (bplplanecnt >= 7) { /* AGA mode HAM8 */
            while (unpainted_amiga-- > 0) {
-               int pv = pixdata.apixels[ham_decode_pixel++];
+               int pv = pixdata.apixels[ham_decode_pixel++] ^ bplxor;
                switch (pv & 0x3)
                {
                    case 0x0: ham_lastcolor = colors_for_drawing.color_regs_aga[pv >> 2]; break;
@@ -1330,7 +1330,7 @@ static void init_ham_decoding (void)
            }
        } else { /* AGA mode HAM6 */
            while (unpainted_amiga-- > 0) {
-               int pv = pixdata.apixels[ham_decode_pixel++];
+               int pv = pixdata.apixels[ham_decode_pixel++] ^ bplxor;
                switch (pv & 0x30)
                {
                    case 0x00: ham_lastcolor = colors_for_drawing.color_regs_aga[pv]; break;
@@ -1365,7 +1365,7 @@ static void decode_ham (int pix, int stoppos)
            int pv = pixdata.apixels[ham_decode_pixel];
 #ifdef AGA
            if (currprefs.chipset_mask & CSMASK_AGA)
-               ham_lastcolor = colors_for_drawing.color_regs_aga[pv];
+               ham_lastcolor = colors_for_drawing.color_regs_aga[pv ^ bplxor];
            else
 #endif
                ham_lastcolor = colors_for_drawing.color_regs_ecs[pv];
@@ -1376,7 +1376,7 @@ static void decode_ham (int pix, int stoppos)
     } else if (currprefs.chipset_mask & CSMASK_AGA) {
        if (bplplanecnt >= 7) { /* AGA mode HAM8 */
            while (todraw_amiga-- > 0) {
-               int pv = pixdata.apixels[ham_decode_pixel];
+               int pv = pixdata.apixels[ham_decode_pixel] ^ bplxor;
                switch (pv & 0x3)
                {
                    case 0x0: ham_lastcolor = colors_for_drawing.color_regs_aga[pv >> 2]; break;
@@ -1388,7 +1388,7 @@ static void decode_ham (int pix, int stoppos)
            }
        } else { /* AGA mode HAM6 */
            while (todraw_amiga-- > 0) {
-               int pv = pixdata.apixels[ham_decode_pixel];
+               int pv = pixdata.apixels[ham_decode_pixel] ^ bplxor;
                switch (pv & 0x30)
                {
                    case 0x00: ham_lastcolor = colors_for_drawing.color_regs_aga[pv]; break;
@@ -1841,6 +1841,25 @@ static void pfield_expand_dp_bplcon (void)
 #endif
 }
 
+static int isham (uae_u16 bplcon0)
+{
+    int p = GET_PLANES (bplcon0);
+    if (!(bplcon0 & 0x800))
+       return 0;
+    if (currprefs.chipset_mask & CSMASK_AGA) {
+       // AGA only has 6 or 8 plane HAM
+       if (p == 6 || p == 8)
+           return 1;
+    } else {
+       // OCS/ECS also supports 5 plane HAM
+       if (GET_RES_DENISE (bplcon0) > 0)
+           return 0;
+       if (p >= 5)
+           return 1;
+    }
+    return 0;
+}
+
 static void pfield_expand_dp_bplcon2 (int regno, int v)
 {
     regno -= 0x1000;
@@ -1850,7 +1869,7 @@ static void pfield_expand_dp_bplcon2 (int regno, int v)
        dp_for_drawing->bplcon0 = v;
        dp_for_drawing->bplres = GET_RES_DENISE (v);
        dp_for_drawing->nr_planes = GET_PLANES (v);
-       dp_for_drawing->ham_seen = !! (v & 0x800);
+       dp_for_drawing->ham_seen = isham (v);
        break;
        case 0x104:
        dp_for_drawing->bplcon2 = v;
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 5a5b809..df38f39
--- a/filesys.c
+++ b/filesys.c
@@ -566,9 +566,9 @@ int move_filesys_unitconfig (struct uae_prefs *p, int nr, int to)
 }
 
 
-static void filesys_addexternals(void);
+static void filesys_addexternals (void);
 
-static void initialize_mountinfo(void)
+static void initialize_mountinfo (void)
 {
     int i;
     struct uaedev_config_info *uci;
@@ -5003,7 +5003,6 @@ static void filesys_reset2 (void)
     key_uniq = 0;
     a_uniq = 0;
     free_mountinfo ();
-    initialize_mountinfo ();
 }
 
 void filesys_reset (void)
@@ -5011,6 +5010,7 @@ void filesys_reset (void)
     if (savestate_state == STATE_RESTORE)
        return;
     filesys_reset2 ();
+    initialize_mountinfo ();
 }
 
 static void filesys_prepare_reset2 (void)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/fpp.c b/fpp.c
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/fsdb.c b/fsdb.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/gayle.c b/gayle.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/gtkui.c b/gtkui.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index c4d8ed1..1dd2a1c
@@ -180,7 +180,14 @@ STATIC_INLINE int GET_RES_AGNUS (uae_u16 con0)
 /* get sprite width from FMODE */
 #define GET_SPRITEWIDTH(FMODE) ((((FMODE) >> 2) & 3) == 3 ? 64 : (((FMODE) >> 2) & 3) == 0 ? 16 : 32)
 /* Compute the number of bitplanes from a value written to BPLCON0  */
-#define GET_PLANES(x) ((((x) >> 12) & 7) | (((x) & 0x10) >> 1))
+STATIC_INLINE int GET_PLANES(uae_u16 bplcon0)
+{
+    if ((bplcon0 & 0x0010) && (bplcon0 & 0x7000))
+       return 0;
+    if (bplcon0 & 0x0010)
+       return 8;
+    return (bplcon0 >> 12) & 7;
+}
 
 extern void fpscounter_reset (void);
 extern unsigned long idletime;
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index cfcb277..60f9ce1
@@ -892,18 +892,29 @@ static uaecptr get_base (const uae_char *name)
        uae_u8 *p;
        b = &get_mem_bank (v);
        if (!b || !b->check (v, 32) || b->flags != ABFLAG_RAM)
-           return 0xffffffff;
+           goto fail;
        v2 = get_long (v + 10); // name
        b = &get_mem_bank (v2);
        if (!b || !b->check (v2, 20))
-           return 0xffffffff;
+           goto fail;
        if (b->flags != ABFLAG_ROM && b->flags != ABFLAG_RAM)
            return 0;
        p = b->xlateaddr (v2);
-       if (!memcmp (p, name, strlen (name) + 1))
+       if (!memcmp (p, name, strlen (name) + 1)) {
+           TCHAR *s = au (name);
+           write_log (L"get_base('%s')=%08x\n", s, v);
+           xfree (s);
            return v;
+       }
     }
     return 0;
+fail:
+    {
+       TCHAR *s = au (name);
+       write_log (L"get_base('%s') failed, invalid library list\n", s);
+       xfree (s);
+    }
+    return 0xffffffff;
 }
 
 static uaecptr get_intuitionbase (void)
@@ -1455,7 +1466,7 @@ end:
            x += dx;
            y += dy;
        }
-       if (!dmaen(DMA_SPRITE))
+       if (!dmaen (DMA_SPRITE))
            setmouseactivexy (x, y, 0);
        else
            setmouseactivexy (x, y, dir);
@@ -1532,37 +1543,38 @@ static void mouseupdate (int pct, int vsync)
 {
     int v, i;
     int max = 127;
+    static int mxd, myd;
 
     if (pct > 1000)
        pct = 1000;
 
     if (vsync) {
-       if (mouse_delta[0][0] < 0) {
+       if (mxd < 0) {
            if (mouseedge_x > 0)
                mouseedge_x = 0;
            else
-               mouseedge_x += mouse_delta[0][0];
+               mouseedge_x += mxd;
            mouseedge_time = MOUSEEDGE_TIME;
        }
-       if (mouse_delta[0][0] > 0) {
+       if (mxd > 0) {
            if (mouseedge_x < 0)
                mouseedge_x = 0;
            else
-               mouseedge_x += mouse_delta[0][0];
+               mouseedge_x += mxd;
            mouseedge_time = MOUSEEDGE_TIME;
        }
-       if (mouse_delta[0][1] < 0) {
+       if (myd < 0) {
            if (mouseedge_y > 0)
                mouseedge_y = 0;
            else
-               mouseedge_y += mouse_delta[0][1];
+               mouseedge_y += myd;
            mouseedge_time = MOUSEEDGE_TIME;
        }
-       if (mouse_delta[0][1] > 0) {
+       if (myd > 0) {
            if (mouseedge_y < 0)
                mouseedge_y = 0;
            else
-               mouseedge_y += mouse_delta[0][1];
+               mouseedge_y += myd;
            mouseedge_time = MOUSEEDGE_TIME;
        }
        if (mouseedge_time > 0) {
@@ -1572,14 +1584,18 @@ static void mouseupdate (int pct, int vsync)
                mouseedge_y = 0;
            }
        }
+       mxd = 0;
+       myd = 0;
     }
 
     for (i = 0; i < 2; i++) {
 
        v = getvelocity (i, 0, pct);
+       mxd += v;
        mouse_x[i] += v;
 
        v = getvelocity (i, 1, pct);
+       myd += v;
        mouse_y[i] += v;
 
        v = getvelocity (i, 2, pct);
@@ -2386,6 +2402,7 @@ int handle_input_event (int nr, int state, int max, int autofire)
                int delta;
                int deadzone = currprefs.input_joymouse_deadzone * max / 100;
                int unit = ie->data & 0x7f;
+
                if (max) {
                    if (state <= deadzone && state >= -deadzone) {
                        state = 0;
@@ -2410,6 +2427,7 @@ int handle_input_event (int nr, int state, int max, int autofire)
                    else if (state < 0)
                        delta = -JOYMOUSE_CDTV;
                }
+
                mouse_delta[joy][unit] += delta * ((ie->data & IE_INVERT) ? -1 : 1);
 
            } else if (ie->type & 32) { /* button mouse emulation vertical */
@@ -4105,6 +4123,7 @@ void setmousestate (int mouse, int axis, int data, int isabs)
     for (i = 0; i < MAX_INPUT_SUB_EVENT; i++)
        handle_input_event (id->eventid[ID_AXIS_OFFSET + axis][i], v, 0, 0);
 }
+
 int getmousestate (int joy)
 {
     if (testmode)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/main.c b/main.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index bf9eeca..4f358e6
--- a/memory.c
+++ b/memory.c
@@ -3920,33 +3920,39 @@ uae_u8 *restore_rom (uae_u8 *src)
     crcdet = 0;
     for (i = 0; i < romlist_cnt; i++) {
        if (rl[i].rd->crc32 == crc32 && crc32) {
+           if (zfile_exists (rl[i].path)) {
+               switch (mem_type)
+               {
+                   case 0:
+                   _tcsncpy (changed_prefs.romfile, rl[i].path, 255);
+                   break;
+                   case 1:
+                   _tcsncpy (changed_prefs.romextfile, rl[i].path, 255);
+                   break;
+               }
+               write_log (L"ROM '%s' = '%s'\n", romn, rl[i].path);
+               crcdet = 1;
+           } else {
+               write_log (L"ROM '%s' = '%s' invalid rom scanner path!", romn, rl[i].path);
+           }
+           break;
+       }
+    }
+    s = restore_string ();
+    if (!crcdet) {
+       if (zfile_exists (s)) {
            switch (mem_type)
            {
                case 0:
-               _tcsncpy (changed_prefs.romfile, rl[i].path, 255);
+               _tcsncpy (changed_prefs.romfile, s, 255);
                break;
                case 1:
-               _tcsncpy (changed_prefs.romextfile, rl[i].path, 255);
+               _tcsncpy (changed_prefs.romextfile, s, 255);
                break;
            }
-           write_log (L"ROM '%s' = '%s'\n", romn, rl[i].path);
+           write_log (L"ROM detected (path) as '%s'\n", s);
            crcdet = 1;
-           break;
-       }
-    }
-    s = restore_string ();
-    if (!crcdet && zfile_exists (s)) {
-       switch (mem_type)
-       {
-           case 0:
-           _tcsncpy (changed_prefs.romfile, s, 255);
-           break;
-           case 1:
-           _tcsncpy (changed_prefs.romextfile, s, 255);
-           break;
        }
-       write_log (L"ROM detected (path) as '%s'\n", s);
-       crcdet = 1;
     }
     xfree (s);
     if (!crcdet)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 7c03253..acb0091
--- a/newcpu.c
+++ b/newcpu.c
@@ -187,6 +187,8 @@ static void build_cpufunctbl (void)
        break;
 #endif
 #endif
+       default:
+       changed_prefs.cpu_model = currprefs.cpu_model = 68000;
        case 68000:
        lvl = 0;
        tbl = op_smalltbl_5_ff;
@@ -202,7 +204,7 @@ static void build_cpufunctbl (void)
     }
 
     if (tbl == 0) {
-       write_log (L"no CPU emulation cores available!");
+       write_log (L"no CPU emulation cores available CPU=%d!", currprefs.cpu_model);
        abort ();
     }
 
@@ -3062,7 +3064,7 @@ uae_u8 *restore_cpu (uae_u8 *src)
            currprefs.m68k_speed = changed_prefs.m68k_speed = 0;
     }
     write_log (L"CPU %d%s%03d, PC=%08X\n",
-       model / 1000, flags & 1 ? "EC" : "", model % 1000, regs.pc);
+       model / 1000, flags & 1 ? L"EC" : L"", model % 1000, regs.pc);
 
     return src;
 }
diff --git a/nogui.c b/nogui.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/od-win32/resources/base floppy.png b/od-win32/resources/base floppy.png
new file mode 100644 (file)
index 0000000..b6eb69c
Binary files /dev/null and b/od-win32/resources/base floppy.png differ
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/od-win32/resources/diskimage.ico b/od-win32/resources/diskimage.ico
new file mode 100644 (file)
index 0000000..b966b99
Binary files /dev/null and b/od-win32/resources/diskimage.ico differ
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/od-win32/resources/icon3.ico b/od-win32/resources/icon3.ico
new file mode 100644 (file)
index 0000000..f1282c6
Binary files /dev/null and b/od-win32/resources/icon3.ico differ
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index da47534..7632b67
 #define IDS_JOYMODE_MOUSE_CDTV          343
 #define IDS_JOYMODE_JOYSTICK_CD32       344
 #define IDS_TABLET_BOTH_CURSORS         345
+#define IDI_DISKIMAGE                   345
 #define IDS_TABLET_NATIVE_CURSOR        346
 #define IDS_TABLET_HOST_CURSOR          347
 #define IDS_AUTOSCALE_DISABLED          348
 #ifndef APSTUDIO_READONLY_SYMBOLS
 #define _APS_NO_MFC                     1
 #define _APS_3D_CONTROLS                     1
-#define _APS_NEXT_RESOURCE_VALUE        345
+#define _APS_NEXT_RESOURCE_VALUE        346
 #define _APS_NEXT_COMMAND_VALUE         40045
 #define _APS_NEXT_CONTROL_VALUE         1790
 #define _APS_NEXT_SYMED_VALUE           101
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 820a135..975b10e
@@ -115,8 +115,8 @@ BEGIN
     RTEXT           "Resolution:",IDC_STATIC,27,152,59,15,SS_CENTERIMAGE\r
     COMBOBOX        IDC_LORES,100,152,102,150,CBS_DROPDOWNLIST | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP\r
     CONTROL         "Remove interlace artifacts",IDC_FLICKERFIXER,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,139,99,10\r
-    RTEXT           "Windowed:",IDC_STATIC,18,46,38,15,SS_CENTERIMAGE\r
-    RTEXT           "Fullscreen:",IDC_STATIC,17,19,38,15,SS_CENTERIMAGE\r
+    RTEXT           "Windowed:",IDC_STATIC,17,46,40,15,SS_CENTERIMAGE\r
+    RTEXT           "Fullscreen:",IDC_STATIC,17,19,40,15,SS_CENTERIMAGE\r
 END\r
 \r
 IDD_MEMORY DIALOGEX 0, 0, 300, 239\r
@@ -1473,6 +1473,15 @@ LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
 #pragma code_page(1252)\r
 #endif //_WIN32\r
 \r
+/////////////////////////////////////////////////////////////////////////////\r
+//\r
+// Icon\r
+//\r
+\r
+// Icon with lowest ID value placed first to ensure application icon\r
+// remains consistent on all systems.\r
+IDI_DISKIMAGE           ICON                    "diskimage.ico"\r
+\r
 #ifdef APSTUDIO_INVOKED\r
 /////////////////////////////////////////////////////////////////////////////\r
 //\r
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index cc1bac6..d0cc982
@@ -138,14 +138,7 @@ void update_sound (int freq, int longframe)
        lines += 1.0;
 
     if (have_sound) {
-       if (isvsync () || currprefs.chipset_refreshrate) {
-           if (currprefs.ntscmode)
-               scaled_sample_evtime_orig = (MAXHPOS_NTSC * (MAXVPOS_NTSC + lines) * freq * CYCLE_UNIT) / (float)sdp->obtainedfreq;
-           else
-               scaled_sample_evtime_orig = (MAXHPOS_PAL * (MAXVPOS_PAL + lines) * freq * CYCLE_UNIT) / (float)sdp->obtainedfreq;
-       } else {
-           scaled_sample_evtime_orig = 227.0 * (lines + 312) * 50 * CYCLE_UNIT / (float)sdp->obtainedfreq;
-       }
+       scaled_sample_evtime_orig = 227.0 * (lines + maxvpos) * freq * CYCLE_UNIT / (float)sdp->obtainedfreq;
        scaled_sample_evtime = scaled_sample_evtime_orig;
     }
 }
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 16f8997..b8302d8
@@ -2685,7 +2685,7 @@ static int shell_deassociate (const TCHAR *extension)
 }
 
 static int shell_associate_2 (const TCHAR *extension, const TCHAR *shellcommand, const TCHAR *command, const TCHAR *perceivedtype,
-                             const TCHAR *description, const TCHAR *ext2)
+                             const TCHAR *description, const TCHAR *ext2, int icon)
 {
     TCHAR rpath1[MAX_DPATH], rpath2[MAX_DPATH], progid2[MAX_DPATH];
     HKEY rkey, key1, key2;
@@ -2728,12 +2728,14 @@ static int shell_associate_2 (const TCHAR *extension, const TCHAR *shellcommand,
                RegSetValueEx (key2, L"", 0, REG_SZ, (CONST BYTE *)defprogid, (_tcslen (defprogid) + 1) * sizeof (TCHAR));
                RegCloseKey (key2);
            }
-           _tcscpy (tmp, rpath2);
-           _tcscat (tmp, L"\\DefaultIcon");
-           if (RegCreateKeyEx (rkey, tmp, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE | KEY_READ, NULL, &key2, &disposition) == ERROR_SUCCESS) {
-               _stprintf (tmp, L"%s,-1", _wpgmptr);
-               RegSetValueEx (key2, L"", 0, REG_SZ, (CONST BYTE *)tmp, (_tcslen (tmp) + 1) * sizeof (TCHAR));
-               RegCloseKey (key2);
+           if (icon) {
+               _tcscpy (tmp, rpath2);
+               _tcscat (tmp, L"\\DefaultIcon");
+               if (RegCreateKeyEx (rkey, tmp, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE | KEY_READ, NULL, &key2, &disposition) == ERROR_SUCCESS) {
+                   _stprintf (tmp, L"%s,%d", _wpgmptr, -icon);
+                   RegSetValueEx (key2, L"", 0, REG_SZ, (CONST BYTE *)tmp, (_tcslen (tmp) + 1) * sizeof (TCHAR));
+                   RegCloseKey (key2);
+               }
            }
            RegCloseKey (key1);
        }
@@ -2758,11 +2760,11 @@ static int shell_associate_2 (const TCHAR *extension, const TCHAR *shellcommand,
     regclosetree (fkey);
     return 1;
 }
-static int shell_associate (const TCHAR *extension, const TCHAR *command, const TCHAR *perceivedtype, const TCHAR *description, const TCHAR *ext2)
+static int shell_associate (const TCHAR *extension, const TCHAR *command, const TCHAR *perceivedtype, const TCHAR *description, const TCHAR *ext2, int icon)
 {
-    int v = shell_associate_2 (extension, NULL, command, perceivedtype, description, ext2);
+    int v = shell_associate_2 (extension, NULL, command, perceivedtype, description, ext2, icon);
     if (!_tcscmp (extension, L".uae"))
-       shell_associate_2 (extension, L"edit", L"-f \"%1\" -s use_gui=yes", L"text", description, NULL);
+       shell_associate_2 (extension, L"edit", L"-f \"%1\" -s use_gui=yes", L"text", description, NULL, 0);
     return v;
 }
 
@@ -2785,7 +2787,7 @@ static int shell_associate_is (const TCHAR *extension)
     _tcscpy (rpath1, L"Software\\Classes\\");
     _tcscpy (rpath2, rpath1);
     _tcscat (rpath2, extension);
-    size = sizeof tmp;
+    size = sizeof tmp / sizeof (TCHAR);
     if (RegOpenKeyEx (rkey, rpath2, 0, KEY_READ, &key1) == ERROR_SUCCESS) {
        if (RegQueryValueEx (key1, NULL, NULL, NULL, (LPBYTE)tmp, &size) == ERROR_SUCCESS) {
            if (_tcscmp (tmp, def ? progid : progid2)) {
@@ -2807,13 +2809,13 @@ static int shell_associate_is (const TCHAR *extension)
 }
 
 struct assext exts[] = {
-    { L".uae", L"-f \"%1\"", L"WinUAE configuration file", },
-    { L".adf", L"-0 \"%1\" -s use_gui=no", L"WinUAE floppy disk image" },
-    { L".adz", L"-0 \"%1\" -s use_gui=no", L"WinUAE floppy disk image" },
-    { L".dms", L"-0 \"%1\" -s use_gui=no", L"WinUAE floppy disk image" },
-    { L".fdi", L"-0 \"%1\" -s use_gui=no", L"WinUAE floppy disk image" },
-    { L".ipf", L"-0 \"%1\" -s use_gui=no", L"WinUAE floppy disk image" },
-    { L".uss", L"-s statefile=\"%1\" -s use_gui=no", L"WinUAE statefile" },
+    { L".uae", L"-f \"%1\"", L"WinUAE configuration file", IDI_APPICON },
+    { L".adf", L"-0 \"%1\" -s use_gui=no", L"WinUAE floppy disk image", IDI_DISKIMAGE },
+    { L".adz", L"-0 \"%1\" -s use_gui=no", L"WinUAE floppy disk image", IDI_DISKIMAGE },
+    { L".dms", L"-0 \"%1\" -s use_gui=no", L"WinUAE floppy disk image", IDI_DISKIMAGE },
+    { L".fdi", L"-0 \"%1\" -s use_gui=no", L"WinUAE floppy disk image", IDI_DISKIMAGE },
+    { L".ipf", L"-0 \"%1\" -s use_gui=no", L"WinUAE floppy disk image", IDI_DISKIMAGE },
+    { L".uss", L"-s statefile=\"%1\" -s use_gui=no", L"WinUAE statefile", IDI_APPICON },
     { NULL }
 };
 
@@ -2830,13 +2832,39 @@ static void associate_init_extensions (void)
     if (!regexiststree (NULL, L"FileAssociations")) {
        UAEREG *fkey;
        if (exts[0].enabled == 0) {
-           shell_associate (exts[0].ext, exts[0].cmd, NULL, exts[0].desc, NULL);
+           shell_associate (exts[0].ext, exts[0].cmd, NULL, exts[0].desc, NULL, exts[0].icon);
            exts[0].enabled = shell_associate_is (exts[0].ext);
        }
         fkey = regcreatetree (NULL, L"FileAssociations");
        regsetstr (fkey, exts[0].ext, L"");
        regclosetree (fkey);
     }
+    if (os_winnt_admin > 1) {
+       DWORD disposition;
+       TCHAR rpath[MAX_DPATH];
+        HKEY rkey = HKEY_LOCAL_MACHINE;
+       HKEY key1;
+       int setit = 1;
+
+       _tcscpy (rpath, L"Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\winuae.exe");
+       if (RegOpenKeyEx (rkey, rpath, 0, KEY_READ, &key1) == ERROR_SUCCESS) {
+           TCHAR tmp[MAX_DPATH];
+           DWORD size = sizeof tmp / sizeof (TCHAR);
+           if (RegQueryValueEx (key1, NULL, NULL, NULL, (LPBYTE)tmp, &size) == ERROR_SUCCESS) {
+               if (!_tcscmp (tmp, _wpgmptr))
+                   setit = 0;
+           }
+           RegCloseKey (key1);
+       }
+       if (setit) {
+           if (RegCreateKeyEx (rkey, rpath, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_READ | KEY_WRITE, NULL, &key1, &disposition) == ERROR_SUCCESS) {
+               RegSetValueEx (key1, L"", 0, REG_SZ, (CONST BYTE *)_wpgmptr, (_tcslen (_wpgmptr) + 1) * sizeof (TCHAR));
+               RegCloseKey (key1);
+               SHChangeNotify (SHCNE_ASSOCCHANGED, 0, 0, 0); 
+           }
+       }
+   }
+
 #if 0
     UAEREG *fkey;
     fkey = regcreatetree (NULL, L"FileAssociations");
@@ -2892,12 +2920,14 @@ void associate_file_extensions (void)
        if (exts[i].enabled == 0 && already) {
            shell_deassociate (exts[i].ext);
            exts[i].enabled = shell_associate_is (exts[i].ext);
-           if (exts[i].enabled)
+           if (exts[i].enabled) {
                modified = 1;
-       } else if (exts[i].enabled && already == 0) {
-           shell_associate (exts[i].ext, exts[i].cmd, NULL, exts[i].desc, NULL);
+               shell_associate (exts[i].ext, exts[i].cmd, NULL, exts[i].desc, NULL, exts[i].icon);
+           }
+       } else if (exts[i].enabled) {
+           shell_associate (exts[i].ext, exts[i].cmd, NULL, exts[i].desc, NULL, exts[i].icon);
            exts[i].enabled = shell_associate_is (exts[i].ext);
-           if (exts[i].enabled == 0)
+           if (exts[i].enabled != already)
                modified = 1;
        }
     }
old mode 100755 (executable)
new mode 100644 (file)
index a03e24d..320b094
@@ -17,8 +17,8 @@
 
 #define WINUAEPUBLICBETA 1
 
-#define WINUAEBETA L"Beta 3"
-#define WINUAEDATE MAKEBD(2009, 6, 10)
+#define WINUAEBETA L"Beta 4"
+#define WINUAEDATE MAKEBD(2009, 6, 14)
 #define WINUAEEXTRA L""
 #define WINUAEREV L""
 
@@ -173,6 +173,7 @@ struct assext {
     TCHAR *ext;
     TCHAR *cmd;
     TCHAR *desc;
+    int icon;
     int enabled;
 };
 struct assext exts[];
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index b8fbecb..be8a85f
@@ -2773,7 +2773,7 @@ static void update_listview_input (HWND hDlg)
 static int clicked_entry = -1;
 
 #define LOADSAVE_COLUMNS 2
-#define INPUT_COLUMNS 4
+#define INPUT_COLUMNS 5
 #define HARDDISK_COLUMNS 8
 #define DISK_COLUMNS 3
 #define MISC2_COLUMNS 2
@@ -2781,7 +2781,7 @@ static int clicked_entry = -1;
 
 #define LV_LOADSAVE 1
 #define LV_HARDDISK 2
-#define LV_INPUT 4
+#define LV_INPUT 3
 #define LV_DISK 4
 #define LV_MISC2 5
 
@@ -2807,6 +2807,7 @@ void InitializeListView (HWND hDlg)
     int listview_column_width[HARDDISK_COLUMNS];
 
     if (hDlg == pages[HARDDISK_ID]) {
+
        listview_num_columns = HARDDISK_COLUMNS;
        lv_type = LV_HARDDISK;
        _tcscpy (column_heading[0], L"*");
@@ -2818,7 +2819,9 @@ void InitializeListView (HWND hDlg)
        WIN32GUI_LoadUIString(IDS_HFDSIZE, column_heading[6], MAX_COLUMN_HEADING_WIDTH);
        WIN32GUI_LoadUIString(IDS_BOOTPRI, column_heading[7], MAX_COLUMN_HEADING_WIDTH);
        list = GetDlgItem(hDlg, IDC_VOLUMELIST);
+
     } else if (hDlg == pages[INPUT_ID]) {
+
        listview_num_columns = INPUT_COLUMNS;
        lv_type = LV_INPUT;
        WIN32GUI_LoadUIString(IDS_INPUTHOSTWIDGET, column_heading[0], MAX_COLUMN_HEADING_WIDTH);
@@ -2827,19 +2830,23 @@ void InitializeListView (HWND hDlg)
        WIN32GUI_LoadUIString(IDS_INPUTTOGGLE, column_heading[3], MAX_COLUMN_HEADING_WIDTH);
        _tcscpy (column_heading[4], L"#");
        list = GetDlgItem(hDlg, IDC_INPUTLIST);
+
     } else if (hDlg == pages[MISC2_ID]) {
+
        listview_num_columns = MISC2_COLUMNS;
        lv_type = LV_MISC2;
        _tcscpy (column_heading[0], L"Extension");
        _tcscpy (column_heading[1], L"");
        list = GetDlgItem (hDlg, IDC_ASSOCIATELIST);
     } else {
+
        listview_num_columns = DISK_COLUMNS;
        lv_type = LV_DISK;
        _tcscpy (column_heading[0], L"#");
        WIN32GUI_LoadUIString(IDS_DISK_IMAGENAME, column_heading[1], MAX_COLUMN_HEADING_WIDTH);
        WIN32GUI_LoadUIString(IDS_DISK_DRIVENAME, column_heading[2], MAX_COLUMN_HEADING_WIDTH);
        list = GetDlgItem (hDlg, IDC_DISK);
+
     }
 
     cachedlist = list;
@@ -2860,7 +2867,9 @@ void InitializeListView (HWND hDlg)
            ListView_InsertColumn (list, i, &lvcolumn);
        }
     }
+
     if (lv_type == LV_MISC2) {
+
        listview_column_width[0] = 180;
        listview_column_width[1] = 10;
        for (i = 0; exts[i].ext; i++) {
@@ -2873,6 +2882,7 @@ void InitializeListView (HWND hDlg)
            ListView_SetItemText (list, result, 1, exts[i].enabled ? L"*" : L"");
        }
     } else if (lv_type == LV_INPUT) {
+
        for (i = 0; input_total_devices && i < inputdevice_get_widget_num (input_selected_device); i++) {
            TCHAR name[100];
            inputdevice_get_widget_type (input_selected_device, i, name);
@@ -2892,7 +2902,9 @@ void InitializeListView (HWND hDlg)
        listview_column_width [3] = 65;
        listview_column_width [4] = 30;
        update_listview_input (hDlg);
+
     } else if (lv_type == LV_DISK) {
+
        for (i = 0; i < MAX_SPARE_DRIVES; i++) {
            int drv;
            _stprintf (tmp, L"%d", i + 1);
@@ -9056,7 +9068,6 @@ static void enable_for_gameportsdlg (HWND hDlg)
 {
     int v = full_property_sheet;
     ew (hDlg, IDC_PORT_TABLET_FULL, v && is_tablet () && workprefs.input_tablet > 0);
-    ew (hDlg, IDC_PORT_MOUSETRICK, v);
     ew (hDlg, IDC_PORT_TABLET_CURSOR, v && workprefs.input_tablet > 0);
     ew (hDlg, IDC_PORT_TABLET, v);
 }
@@ -9201,7 +9212,7 @@ static void values_from_gameportsdlg (HWND hDlg, int d)
        if (success)
            currprefs.input_mouse_speed = workprefs.input_mouse_speed = i;
 
-       workprefs.input_magic_mouse = IsDlgButtonChecked (hDlg, IDC_PORT_MOUSETRICK) ? -1 : 0;
+       currprefs.input_magic_mouse = workprefs.input_magic_mouse = IsDlgButtonChecked (hDlg, IDC_PORT_MOUSETRICK) ? -1 : 0;
        workprefs.input_magic_mouse_cursor = SendDlgItemMessage (hDlg, IDC_PORT_TABLET_CURSOR, CB_GETCURSEL, 0, 0L);
        workprefs.input_tablet = 0;
        if (IsDlgButtonChecked (hDlg, IDC_PORT_TABLET)) {
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index f0609bc..4c9d7d6
                                        RelativePath="..\resources\cpu.ico"
                                        >
                                </File>
+                               <File
+                                       RelativePath=".\diskimage.ico"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\resources\diskimage.ico"
+                                       >
+                               </File>
                                <File
                                        RelativePath="..\resources\Drive.ico"
                                        >
old mode 100755 (executable)
new mode 100644 (file)
index 848ffcb..3dfa2ec
@@ -1,4 +1,25 @@
 
+Beta 4:
+
+- mixed disk swapper panel id and number of input panel columns..
+- magic mouse was unreliable in directinput mouse mode ("mouse *")
+- magic mouse can be switched on/off on the fly
+- utf8 configuration entries didn't work correctly and caused
+  duplicate entries. (fix by loading and saving config again)
+- added generic disk icon image (from Cloanto) that is associated
+  with disk image extensions (if enabled in associations panel) This
+  may change before 1.6.1 if my brother feels less lazy next week :)
+- App Paths winuae.exe reg key created if winuae is run as admin
+  at least once, this fixes some file association issues (wrong or
+  missing icon for example), also some other association updates
+- statefile harddisk restore problem fixed (still not guaranteed
+  to work..)
+- 60Hz on PAL (or NTSC in 50Hz) sound sync/vsync calculation was
+  incorrect
+- in AGA only HAM6 or HAM8 supported. HAM mode bit set with 5 or 7
+  planes seems to be ignored (OCS/ECS has "HAM5")
+- HAM ignored AGA BPLAM (BPLCON4) bits
+
 Beta 3:
 
 - added exception handler that writes log message if openal or
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/rpc.c b/rpc.c
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/sana2.c b/sana2.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/scsi.c b/scsi.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/traps.c b/traps.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/zfile.c b/zfile.c
old mode 100755 (executable)
new mode 100644 (file)
index dd38088..2e003c2
--- a/zfile.c
+++ b/zfile.c
@@ -1061,24 +1061,14 @@ struct zfile *zfile_dup (struct zfile *zf)
 
 int zfile_exists (const TCHAR *name)
 {
-    TCHAR fname[MAX_DPATH];
-    struct zfile *f;
+    struct zfile *z;
 
-    if (_tcslen (name) == 0)
+    if (my_existsfile (name))
+       return 1;
+    z = zfile_fopen (name, L"rb", ZFD_NORMAL);
+    if (!z)
        return 0;
-    manglefilename (fname, name);
-    f = openzip (fname);
-    if (!f) {
-       FILE *f2;
-       manglefilename (fname, name);
-       if (!my_existsfile (fname))
-           return 0;
-       f2 = _tfopen (fname, L"rb");
-       if (!f2)
-           return 0;
-       fclose (f2);
-    }
-    zfile_fclose (f);
+    zfile_fclose (z);
     return 1;
 }
 
old mode 100755 (executable)
new mode 100644 (file)