mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
imported winuaesrc1610b3.zip
This commit is contained in:
parent
baa890be19
commit
325ad6846d
15
ar.c
Normal file → Executable file
15
ar.c
Normal file → Executable file
@ -686,7 +686,7 @@ static uae_u32 REGPARAM2 arram_lget (uaecptr addr)
|
||||
addr &= arram_mask;
|
||||
m = (uae_u32 *)(armemory_ram + addr);
|
||||
if (strncmp ("T8", (char*)m, 2) == 0)
|
||||
write_log_debug (L"Reading T8 from addr %088x PC=%p\n", addr, m68k_getpc (®s));
|
||||
write_log_debug (L"Reading T8 from addr %08x PC=%p\n", addr, m68k_getpc (®s));
|
||||
if (strncmp ("LAME", (char*)m, 4) == 0)
|
||||
write_log_debug (L"Reading LAME from addr %08x PC=%p\n", addr, m68k_getpc (®s));
|
||||
if (strncmp ("RES1", (char*)m, 4) == 0)
|
||||
@ -1479,7 +1479,8 @@ int action_replay_unload (int in_memory_reset)
|
||||
L"ACTION_REPLAY_HIDE",
|
||||
};
|
||||
|
||||
write_log_debug (L"Action Replay State:(%s)\nHrtmon State:(%s)\n", state[action_replay_flag+3],state[hrtmon_flag+3]);
|
||||
write_log_debug (L"Action Replay State:(%s)\nHrtmon State:(%s)\n",
|
||||
state[action_replay_flag + 3], state[hrtmon_flag + 3]);
|
||||
|
||||
if (armemory_rom && armodel == 1) {
|
||||
if (is_ar_pc_in_ram() || is_ar_pc_in_rom() || action_replay_flag == ACTION_REPLAY_WAIT_PC) {
|
||||
@ -1849,7 +1850,7 @@ int hrtmon_load (void)
|
||||
return 1;
|
||||
}
|
||||
|
||||
void hrtmon_map_banks ()
|
||||
void hrtmon_map_banks (void)
|
||||
{
|
||||
uaecptr addr;
|
||||
|
||||
@ -1876,7 +1877,7 @@ void hrtmon_map_banks ()
|
||||
map_banks (&hrtmem3_bank, hrtmem3_start >> 16, hrtmem3_size >> 16, 0);
|
||||
}
|
||||
|
||||
static void hrtmon_unmap_banks ()
|
||||
static void hrtmon_unmap_banks (void)
|
||||
{
|
||||
uaecptr addr;
|
||||
|
||||
@ -1917,8 +1918,8 @@ void action_replay_version(void)
|
||||
int iArVersionMinor = -1;
|
||||
char* pNext;
|
||||
uae_char sArDate[11];
|
||||
*sArDate = '\0';
|
||||
|
||||
*sArDate = '\0';
|
||||
if (!armemory_rom)
|
||||
return;
|
||||
|
||||
@ -1960,7 +1961,9 @@ void action_replay_version(void)
|
||||
}
|
||||
|
||||
if (iArVersionMajor > 0) {
|
||||
write_log (L"Version of cart is '%d.%.02d', date is '%s'\n", iArVersionMajor, iArVersionMinor, sArDate);
|
||||
TCHAR *s = au (sArDate);
|
||||
write_log (L"Version of cart is '%d.%.02d', date is '%s'\n", iArVersionMajor, iArVersionMinor, s);
|
||||
xfree (s);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
0
archivers/7z/7zBuf.c
Normal file → Executable file
0
archivers/7z/7zBuf.c
Normal file → Executable file
0
archivers/7z/7zBuf.h
Normal file → Executable file
0
archivers/7z/7zBuf.h
Normal file → Executable file
0
archivers/7z/7zCrc.c
Normal file → Executable file
0
archivers/7z/7zCrc.c
Normal file → Executable file
0
archivers/7z/7zCrc.h
Normal file → Executable file
0
archivers/7z/7zCrc.h
Normal file → Executable file
0
archivers/7z/7zStream.c
Normal file → Executable file
0
archivers/7z/7zStream.c
Normal file → Executable file
0
archivers/7z/7zVersion.h
Normal file → Executable file
0
archivers/7z/7zVersion.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zAlloc.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zAlloc.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zAlloc.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zAlloc.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zDecode.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zDecode.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zDecode.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zDecode.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zExtract.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zExtract.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zExtract.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zExtract.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zHeader.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zHeader.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zHeader.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zHeader.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zIn.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zIn.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zIn.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zIn.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zItem.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zItem.c
Normal file → Executable file
0
archivers/7z/Archive/7z/7zItem.h
Normal file → Executable file
0
archivers/7z/Archive/7z/7zItem.h
Normal file → Executable file
0
archivers/7z/Bcj2.c
Normal file → Executable file
0
archivers/7z/Bcj2.c
Normal file → Executable file
0
archivers/7z/Bcj2.h
Normal file → Executable file
0
archivers/7z/Bcj2.h
Normal file → Executable file
0
archivers/7z/Bra.c
Normal file → Executable file
0
archivers/7z/Bra.c
Normal file → Executable file
0
archivers/7z/Bra.h
Normal file → Executable file
0
archivers/7z/Bra.h
Normal file → Executable file
0
archivers/7z/Bra86.c
Normal file → Executable file
0
archivers/7z/Bra86.c
Normal file → Executable file
0
archivers/7z/CpuArch.h
Normal file → Executable file
0
archivers/7z/CpuArch.h
Normal file → Executable file
0
archivers/7z/LzmaDec.c
Normal file → Executable file
0
archivers/7z/LzmaDec.c
Normal file → Executable file
0
archivers/7z/LzmaDec.h
Normal file → Executable file
0
archivers/7z/LzmaDec.h
Normal file → Executable file
0
archivers/7z/Types.h
Normal file → Executable file
0
archivers/7z/Types.h
Normal file → Executable file
0
archivers/dms/cdata.h
Normal file → Executable file
0
archivers/dms/cdata.h
Normal file → Executable file
0
archivers/dms/crc_csum.c
Normal file → Executable file
0
archivers/dms/crc_csum.c
Normal file → Executable file
0
archivers/dms/crc_csum.h
Normal file → Executable file
0
archivers/dms/crc_csum.h
Normal file → Executable file
0
archivers/dms/getbits.c
Normal file → Executable file
0
archivers/dms/getbits.c
Normal file → Executable file
0
archivers/dms/getbits.h
Normal file → Executable file
0
archivers/dms/getbits.h
Normal file → Executable file
0
archivers/dms/maketbl.c
Normal file → Executable file
0
archivers/dms/maketbl.c
Normal file → Executable file
0
archivers/dms/maketbl.h
Normal file → Executable file
0
archivers/dms/maketbl.h
Normal file → Executable file
0
archivers/dms/pfile.c
Normal file → Executable file
0
archivers/dms/pfile.c
Normal file → Executable file
0
archivers/dms/pfile.h
Normal file → Executable file
0
archivers/dms/pfile.h
Normal file → Executable file
0
archivers/dms/tables.c
Normal file → Executable file
0
archivers/dms/tables.c
Normal file → Executable file
0
archivers/dms/tables.h
Normal file → Executable file
0
archivers/dms/tables.h
Normal file → Executable file
0
archivers/dms/u_deep.c
Normal file → Executable file
0
archivers/dms/u_deep.c
Normal file → Executable file
0
archivers/dms/u_deep.h
Normal file → Executable file
0
archivers/dms/u_deep.h
Normal file → Executable file
0
archivers/dms/u_heavy.c
Normal file → Executable file
0
archivers/dms/u_heavy.c
Normal file → Executable file
0
archivers/dms/u_heavy.h
Normal file → Executable file
0
archivers/dms/u_heavy.h
Normal file → Executable file
0
archivers/dms/u_init.c
Normal file → Executable file
0
archivers/dms/u_init.c
Normal file → Executable file
0
archivers/dms/u_init.h
Normal file → Executable file
0
archivers/dms/u_init.h
Normal file → Executable file
0
archivers/dms/u_medium.c
Normal file → Executable file
0
archivers/dms/u_medium.c
Normal file → Executable file
0
archivers/dms/u_medium.h
Normal file → Executable file
0
archivers/dms/u_medium.h
Normal file → Executable file
0
archivers/dms/u_quick.c
Normal file → Executable file
0
archivers/dms/u_quick.c
Normal file → Executable file
0
archivers/dms/u_quick.h
Normal file → Executable file
0
archivers/dms/u_quick.h
Normal file → Executable file
0
archivers/dms/u_rle.c
Normal file → Executable file
0
archivers/dms/u_rle.c
Normal file → Executable file
0
archivers/dms/u_rle.h
Normal file → Executable file
0
archivers/dms/u_rle.h
Normal file → Executable file
0
archivers/lha/crcio.c
Normal file → Executable file
0
archivers/lha/crcio.c
Normal file → Executable file
0
archivers/lha/dhuf.c
Normal file → Executable file
0
archivers/lha/dhuf.c
Normal file → Executable file
0
archivers/lha/header.c
Normal file → Executable file
0
archivers/lha/header.c
Normal file → Executable file
0
archivers/lha/huf.c
Normal file → Executable file
0
archivers/lha/huf.c
Normal file → Executable file
0
archivers/lha/larc.c
Normal file → Executable file
0
archivers/lha/larc.c
Normal file → Executable file
0
archivers/lha/lha.h
Normal file → Executable file
0
archivers/lha/lha.h
Normal file → Executable file
0
archivers/lha/lha_macro.h
Normal file → Executable file
0
archivers/lha/lha_macro.h
Normal file → Executable file
0
archivers/lha/lhamaketbl.c
Normal file → Executable file
0
archivers/lha/lhamaketbl.c
Normal file → Executable file
0
archivers/lha/lharc.c
Normal file → Executable file
0
archivers/lha/lharc.c
Normal file → Executable file
0
archivers/lha/shuf.c
Normal file → Executable file
0
archivers/lha/shuf.c
Normal file → Executable file
0
archivers/lha/slide.c
Normal file → Executable file
0
archivers/lha/slide.c
Normal file → Executable file
0
archivers/lha/uae_lha.c
Normal file → Executable file
0
archivers/lha/uae_lha.c
Normal file → Executable file
0
archivers/lha/util.c
Normal file → Executable file
0
archivers/lha/util.c
Normal file → Executable file
0
archivers/lzx/unlzx.c
Normal file → Executable file
0
archivers/lzx/unlzx.c
Normal file → Executable file
0
archivers/wrp/warp.c
Normal file → Executable file
0
archivers/wrp/warp.c
Normal file → Executable file
0
archivers/wrp/warp.h
Normal file → Executable file
0
archivers/wrp/warp.h
Normal file → Executable file
0
archivers/xfd/main.c
Normal file → Executable file
0
archivers/xfd/main.c
Normal file → Executable file
0
archivers/xfd/xfd.c
Normal file → Executable file
0
archivers/xfd/xfd.c
Normal file → Executable file
0
archivers/xfd/xfdmaster.h
Normal file → Executable file
0
archivers/xfd/xfdmaster.h
Normal file → Executable file
0
archivers/zip/unzip.c
Normal file → Executable file
0
archivers/zip/unzip.c
Normal file → Executable file
0
archivers/zip/unzip.h
Normal file → Executable file
0
archivers/zip/unzip.h
Normal file → Executable file
0
autoconf.c
Normal file → Executable file
0
autoconf.c
Normal file → Executable file
14
bsdsocket.c
Normal file → Executable file
14
bsdsocket.c
Normal file → Executable file
@ -691,6 +691,7 @@ static uae_u32 bsdsocklib_SetDTableSize (SB, int newSize)
|
||||
{
|
||||
int *newdtable;
|
||||
int *newftable;
|
||||
int *newmtable;
|
||||
int i;
|
||||
|
||||
if (newSize < sb->dtablesize) {
|
||||
@ -698,25 +699,32 @@ static uae_u32 bsdsocklib_SetDTableSize (SB, int newSize)
|
||||
return 0;
|
||||
}
|
||||
|
||||
newdtable = (int *)malloc(newSize * sizeof(*sb->dtable));
|
||||
newftable = (int *)malloc(newSize * sizeof(*sb->ftable));
|
||||
newdtable = (int *)calloc(newSize, sizeof(*sb->dtable));
|
||||
newftable = (int *)calloc(newSize, sizeof(*sb->ftable));
|
||||
newmtable = (int *)calloc(newSize, sizeof(*sb->mtable));
|
||||
|
||||
if (newdtable == NULL || newftable == NULL) {
|
||||
if (newdtable == NULL || newftable == NULL || newmtable == NULL) {
|
||||
sb->resultval = -1;
|
||||
bsdsocklib_seterrno(sb, ENOMEM);
|
||||
free (newdtable);
|
||||
free (newftable);
|
||||
free (newmtable);
|
||||
return -1;
|
||||
}
|
||||
|
||||
memcpy(newdtable, sb->dtable, sb->dtablesize * sizeof(*sb->dtable));
|
||||
memcpy(newftable, sb->ftable, sb->dtablesize * sizeof(*sb->ftable));
|
||||
memcpy(newmtable, sb->mtable, sb->dtablesize * sizeof(*sb->mtable));
|
||||
for (i = sb->dtablesize + 1; i < newSize; i++)
|
||||
newdtable[i] = -1;
|
||||
|
||||
sb->dtablesize = newSize;
|
||||
free(sb->dtable);
|
||||
free(sb->ftable);
|
||||
free(sb->mtable);
|
||||
sb->dtable = (SOCKET*)newdtable;
|
||||
sb->ftable = newftable;
|
||||
sb->mtable = newmtable;
|
||||
sb->resultval = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
0
build68k.c
Normal file → Executable file
0
build68k.c
Normal file → Executable file
0
catweasel.c
Normal file → Executable file
0
catweasel.c
Normal file → Executable file
0
cd32_fmv.c
Normal file → Executable file
0
cd32_fmv.c
Normal file → Executable file
2
cfgfile.c
Normal file → Executable file
2
cfgfile.c
Normal file → Executable file
@ -985,6 +985,7 @@ static int cfgfile_parse_host (struct uae_prefs *p, TCHAR *option, TCHAR *value)
|
||||
|| cfgfile_intval (option, value, L"gfx_height_fullscreen", &p->gfx_size_fs.height, 1)
|
||||
|| cfgfile_intval (option, value, L"gfx_refreshrate", &p->gfx_refreshrate, 1)
|
||||
|| cfgfile_intval (option, value, L"gfx_autoresolution", &p->gfx_autoresolution, 1)
|
||||
|| cfgfile_intval (option, value, L"gfx_backbuffers", &p->gfx_backbuffers, 1)
|
||||
|
||||
|| cfgfile_intval (option, value, L"gfx_center_horizontal_position", &p->gfx_xcenter_pos, 1)
|
||||
|| cfgfile_intval (option, value, L"gfx_center_vertical_position", &p->gfx_ycenter_pos, 1)
|
||||
@ -3172,6 +3173,7 @@ void default_prefs (struct uae_prefs *p, int type)
|
||||
p->gfx_max_vertical = 1;
|
||||
p->color_mode = 2;
|
||||
p->gfx_blackerthanblack = 0;
|
||||
p->gfx_backbuffers = 2;
|
||||
|
||||
p->x11_use_low_bandwidth = 0;
|
||||
p->x11_use_mitshm = 0;
|
||||
|
||||
0
core.cw4.c
Normal file → Executable file
0
core.cw4.c
Normal file → Executable file
0
cpu_small.c
Normal file → Executable file
0
cpu_small.c
Normal file → Executable file
0
cpustbl_small.c
Normal file → Executable file
0
cpustbl_small.c
Normal file → Executable file
0
cputbl_small.h
Normal file → Executable file
0
cputbl_small.h
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user