mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
DREAMWEB: Save registers in vsync, like in original sources
This commit is contained in:
parent
b66ca60088
commit
7745850808
@ -434,7 +434,23 @@ void DreamGenContext::doshake() {
|
||||
}
|
||||
|
||||
void DreamGenContext::vsync() {
|
||||
push(ax);
|
||||
push(bx);
|
||||
push(cx);
|
||||
push(dx);
|
||||
push(si);
|
||||
push(di);
|
||||
push(es);
|
||||
push(ds);
|
||||
engine->waitForVSync();
|
||||
ds = pop();
|
||||
es = pop();
|
||||
di = pop();
|
||||
si = pop();
|
||||
dx = pop();
|
||||
cx = pop();
|
||||
bx = pop();
|
||||
ax = pop();
|
||||
}
|
||||
|
||||
void DreamGenContext::setmode() {
|
||||
|
Loading…
Reference in New Issue
Block a user