Added initialisation of paging screens when the game starts
svn-id: r42370
This commit is contained in:
parent
99d81ac2ed
commit
2c96ca84f3
3 changed files with 8 additions and 0 deletions
|
@ -217,6 +217,12 @@ void gfxCopyRect(const uint8 *sourceBuffer, int width, int height, byte *dest, i
|
|||
}
|
||||
}
|
||||
|
||||
void gfxModuleData_Init(void) {
|
||||
memset(globalScreen, 0, 320 * 200);
|
||||
memset(page00, 0, 320 * 200);
|
||||
memset(page10, 0, 320 * 200);
|
||||
}
|
||||
|
||||
void gfxModuleData_flipScreen(void) {
|
||||
memcpy(globalScreen, gfxModuleData.pPage00, 320 * 200);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue