Skip to content

Commit

Permalink
DREAMWEB: 'worktoscreen' C++ flavour without dirtying the regs
Browse files Browse the repository at this point in the history
  • Loading branch information
tramboi committed Nov 18, 2011
1 parent 9913705 commit 8e7ea5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions engines/dreamweb/stubs.h
Expand Up @@ -46,6 +46,7 @@
void frameoutbh(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, uint16 x, uint16 y);
void frameoutfx(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, uint16 x, uint16 y);
void worktoscreen();
void workToScreenCPP();
void multiget();
void multiget(uint8 *dst, uint16 x, uint16 y, uint8 width, uint8 height);
void convertkey();
Expand Down
6 changes: 5 additions & 1 deletion engines/dreamweb/vgagrafx.cpp
Expand Up @@ -94,9 +94,13 @@ void DreamGenContext::multidump() {
cx = 0;
}

void DreamGenContext::workToScreenCPP() {
engine->blit(workspace(), 320, 0, 0, 320, 200);
}

void DreamGenContext::worktoscreen() {
workToScreenCPP();
uint size = 320 * 200;
engine->blit(workspace(), 320, 0, 0, 320, 200);
di = si = size;
cx = 0;
}
Expand Down

0 comments on commit 8e7ea5d

Please sign in to comment.