Lower delay for setting up the new LFB address in memory
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1202
This commit is contained in:
parent
42cf596c56
commit
8cd083552e
1 changed files with 2 additions and 2 deletions
|
@ -197,13 +197,13 @@ bool lfb_update;
|
|||
|
||||
static void VGA_DoUpdateLFB(void) {
|
||||
lfb_update=false;
|
||||
MEM_SetLFB(vga.s3.la_window << 4,sizeof(vga.mem.linear)/4096,&vga.mem.linear[0]);
|
||||
MEM_SetLFB(vga.s3.la_window << 4 ,sizeof(vga.mem.linear)/4096,&vga.mem.linear[0]);
|
||||
}
|
||||
|
||||
void VGA_StartUpdateLFB(void) {
|
||||
if (!lfb_update) {
|
||||
lfb_update=true;
|
||||
PIC_AddEvent(VGA_DoUpdateLFB,2000); //2 milliseconds later
|
||||
PIC_AddEvent(VGA_DoUpdateLFB,100); //100 microseconds later
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue