Skip to content

Commit

Permalink
Integrated latest from WinUAE
Browse files Browse the repository at this point in the history
  • Loading branch information
emoon committed Feb 14, 2024
1 parent c1e72e2 commit 40fcf4e
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dummy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1939,7 +1939,7 @@ void target_default_options(uae_prefs*, int) {
static int old_w = -1;
static int old_h = -1;

bool target_graphics_buffer_update(int monid) {
bool target_graphics_buffer_update(int monid, bool force) {
struct vidbuf_description* avidinfo = &adisplays[monid].gfxvidinfo;
struct vidbuffer* vb = avidinfo->drawbuffer.tempbufferinuse ? &avidinfo->tempbuffer : &avidinfo->drawbuffer;

Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions cia.cpp → uae_src/cia.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,9 @@ static void WriteCIAA(uae_u16 addr, uae_u8 val, uae_u32 *flags)
#endif
c->prb = val;
dongle_cia_write(0, reg, c->drb, val);
#ifdef ARCADIA
alg_parallel_port(c->drb, val);
#endif
#ifdef PARALLEL_PORT
if (isprinter()) {
if (isprinter() > 0) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 4 additions & 1 deletion memory.cpp → uae_src/memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2576,9 +2576,12 @@ static void allocate_memory (void)
restore_ram (a3000lmem_filepos, a3000lmem_bank.baseaddr);
if (a3000hmem_bank.allocated_size > 0)
restore_ram (a3000hmem_filepos, a3000hmem_bank.baseaddr);
} else {
}
#ifdef ARCADIA
else {
alg_flag = 0;
}
#endif
#ifdef AGA
chipmem_bank_ce2.baseaddr = chipmem_bank.baseaddr;
#endif
Expand Down
4 changes: 4 additions & 0 deletions uae_src/savestate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,10 @@ void restore_state (const TCHAR *filename)
end = restore_gayle_ide (chunk);
else if (!_tcsncmp (name, _T("CDU"), 3))
end = restore_cd (name[3] - '0', chunk);
#ifdef ARCADIA
else if (!_tcsncmp(name, _T("ALG "), 4))
end = restore_alg(chunk);
#endif
#ifdef A2065
else if (!_tcsncmp (name, _T("2065"), 4))
end = restore_a2065 (chunk);
Expand Down Expand Up @@ -1119,9 +1121,11 @@ static int save_state_internal (struct zfile *f, const TCHAR *description, int c
save_chunk (f, dst, len, _T("CD32"), 0);
xfree (dst);
#endif
#ifdef ARCADIA
dst = save_alg(&len);
save_chunk(f, dst, len, _T("ALG "), 0);
xfree(dst);
#endif
#ifdef CDTV
dst = save_cdtv (&len, NULL);
save_chunk (f, dst, len, _T("CDTV"), 0);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 40fcf4e

Please sign in to comment.