mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 15:26:43 +00:00
Merge branch 'master' into actions
This commit is contained in:
commit
dff361a2fa
2 changed files with 9 additions and 3 deletions
|
@ -395,10 +395,16 @@ U0 GrUpdateScreen32()
|
||||||
while (src < size) //draw 2 pixels at a time
|
while (src < size) //draw 2 pixels at a time
|
||||||
*dst++ = gr_palette[*src++ & 0xFF] | gr_palette[*src++ & 0xFF] << 32;
|
*dst++ = gr_palette[*src++ & 0xFF] | gr_palette[*src++ & 0xFF] << 32;
|
||||||
|
|
||||||
GrCalcScreenUpdates;
|
|
||||||
|
|
||||||
if (LBtr(&sys_semas[SEMA_FLUSH_VBE_IMAGE], 0))
|
if (LBtr(&sys_semas[SEMA_FLUSH_VBE_IMAGE], 0))
|
||||||
|
{
|
||||||
MemCopy(text.fb_alias, text.raw_screen, text.buffer_size);
|
MemCopy(text.fb_alias, text.raw_screen, text.buffer_size);
|
||||||
|
src -= GR_WIDTH * GR_HEIGHT; // Reset src ptr
|
||||||
|
MemCopy(gr.screen_cache, src, GR_WIDTH * GR_HEIGHT);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
GrCalcScreenUpdates;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
U0 GrUpdateScreen()
|
U0 GrUpdateScreen()
|
||||||
|
|
|
@ -41,7 +41,7 @@ U0 Cvt(U8 *ff_mask="*", U8 *fu_flags="+r+l-i+S")
|
||||||
Find("ExtDft", ff_mask, fu_flags, "ExtDefault");
|
Find("ExtDft", ff_mask, fu_flags, "ExtDefault");
|
||||||
Find("ExtChg", ff_mask, fu_flags, "ExtChange");
|
Find("ExtChg", ff_mask, fu_flags, "ExtChange");
|
||||||
Find("RegDft", ff_mask, fu_flags, "RegDefault");
|
Find("RegDft", ff_mask, fu_flags, "RegDefault");
|
||||||
Find("\"HC\"", ff_mask, fu_flags, "\"CC\"");
|
Find("\"HC\"", ff_mask, fu_flags, "\"ZC\"");
|
||||||
Find("CDrv", ff_mask, fu_flags, "CDrive");
|
Find("CDrv", ff_mask, fu_flags, "CDrive");
|
||||||
Find("CDbgInfo", ff_mask, fu_flags, "CDebugInfo");
|
Find("CDbgInfo", ff_mask, fu_flags, "CDebugInfo");
|
||||||
Find("dbg_info", ff_mask, fu_flags, "debug_info");
|
Find("dbg_info", ff_mask, fu_flags, "debug_info");
|
||||||
|
|
Loading…
Reference in a new issue