Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PUAE
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
PUAE
Commits
7d9b7ea8
Commit
7d9b7ea8
authored
Nov 20, 2010
by
Mustafa 'GnoStiC' TUFAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
puae 2.3.1
parent
168d9d13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
custom.c
src/custom.c
+2
-0
savestate.c
src/savestate.c
+12
-2
No files found.
src/custom.c
View file @
7d9b7ea8
...
@@ -5107,7 +5107,9 @@ static void vsync_handler_pre (void)
...
@@ -5107,7 +5107,9 @@ static void vsync_handler_pre (void)
picasso_handle_vsync
();
picasso_handle_vsync
();
#endif
#endif
audio_vsync
();
audio_vsync
();
#ifdef SCSIEMU
blkdev_vsync
();
blkdev_vsync
();
#endif
CIA_vsync_prehandler
();
CIA_vsync_prehandler
();
if
(
quit_program
>
0
)
{
if
(
quit_program
>
0
)
{
...
...
src/savestate.c
View file @
7d9b7ea8
...
@@ -679,8 +679,12 @@ void savestate_restore_finish (void)
...
@@ -679,8 +679,12 @@ void savestate_restore_finish (void)
restore_audio_finish
();
restore_audio_finish
();
restore_disk_finish
();
restore_disk_finish
();
restore_blitter_finish
();
restore_blitter_finish
();
#ifdef CD32
restore_akiko_finish
();
restore_akiko_finish
();
#endif
#ifdef CDTV
restore_cdtv_finish
();
restore_cdtv_finish
();
#endif
restore_p96_finish
();
restore_p96_finish
();
#ifdef A2065
#ifdef A2065
restore_a2065_finish
();
restore_a2065_finish
();
...
@@ -927,6 +931,7 @@ static int save_state_internal (struct zfile *f, const TCHAR *description, int c
...
@@ -927,6 +931,7 @@ static int save_state_internal (struct zfile *f, const TCHAR *description, int c
}
}
}
}
#endif
#endif
#ifdef GAYLE
dst
=
save_gayle
(
&
len
,
NULL
);
dst
=
save_gayle
(
&
len
,
NULL
);
if
(
dst
)
{
if
(
dst
)
{
save_chunk
(
f
,
dst
,
len
,
"GAYL"
,
0
);
save_chunk
(
f
,
dst
,
len
,
"GAYL"
,
0
);
...
@@ -939,7 +944,8 @@ static int save_state_internal (struct zfile *f, const TCHAR *description, int c
...
@@ -939,7 +944,8 @@ static int save_state_internal (struct zfile *f, const TCHAR *description, int c
xfree
(
dst
);
xfree
(
dst
);
}
}
}
}
#endif
#ifdef CDTV
for
(
i
=
0
;
i
<
MAX_TOTAL_SCSI_DEVICES
;
i
++
)
{
for
(
i
=
0
;
i
<
MAX_TOTAL_SCSI_DEVICES
;
i
++
)
{
dst
=
save_cd
(
i
,
&
len
);
dst
=
save_cd
(
i
,
&
len
);
if
(
dst
)
{
if
(
dst
)
{
...
@@ -947,7 +953,7 @@ static int save_state_internal (struct zfile *f, const TCHAR *description, int c
...
@@ -947,7 +953,7 @@ static int save_state_internal (struct zfile *f, const TCHAR *description, int c
save_chunk
(
f
,
dst
,
len
,
name
,
0
);
save_chunk
(
f
,
dst
,
len
,
name
,
0
);
}
}
}
}
#endif
dst
=
save_debug_memwatch
(
&
len
,
NULL
);
dst
=
save_debug_memwatch
(
&
len
,
NULL
);
if
(
dst
)
{
if
(
dst
)
{
save_chunk
(
f
,
dst
,
len
,
"DMWP"
,
0
);
save_chunk
(
f
,
dst
,
len
,
"DMWP"
,
0
);
...
@@ -1223,12 +1229,14 @@ void savestate_rewind (void)
...
@@ -1223,12 +1229,14 @@ void savestate_rewind (void)
if
(
restore_u32_func
(
&
p
))
if
(
restore_u32_func
(
&
p
))
p
=
restore_dmac
(
p
);
p
=
restore_dmac
(
p
);
#endif
#endif
#ifdef GAYLE
if
(
restore_u32_func
(
&
p
))
if
(
restore_u32_func
(
&
p
))
p
=
restore_gayle
(
p
);
p
=
restore_gayle
(
p
);
for
(
i
=
0
;
i
<
4
;
i
++
)
{
for
(
i
=
0
;
i
<
4
;
i
++
)
{
if
(
restore_u32_func
(
&
p
))
if
(
restore_u32_func
(
&
p
))
p
=
restore_ide
(
p
);
p
=
restore_ide
(
p
);
}
}
#endif
p
+=
4
;
p
+=
4
;
if
(
p
!=
p2
)
{
if
(
p
!=
p2
)
{
gui_message
(
"reload failure, address mismatch %p != %p"
,
p
,
p2
);
gui_message
(
"reload failure, address mismatch %p != %p"
,
p
,
p2
);
...
@@ -1565,6 +1573,7 @@ retry2:
...
@@ -1565,6 +1573,7 @@ retry2:
p
+=
len
;
p
+=
len
;
}
}
#endif
#endif
#ifdef GAYLE
if
(
bufcheck
(
st
,
p
,
0
))
if
(
bufcheck
(
st
,
p
,
0
))
goto
retry
;
goto
retry
;
p3
=
p
;
p3
=
p
;
...
@@ -1587,6 +1596,7 @@ retry2:
...
@@ -1587,6 +1596,7 @@ retry2:
p
+=
len
;
p
+=
len
;
}
}
}
}
#endif
save_u32_func
(
&
p
,
tlen
);
save_u32_func
(
&
p
,
tlen
);
st
->
end
=
p
;
st
->
end
=
p
;
st
->
inuse
=
1
;
st
->
inuse
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment