1
0

Implement GPAGE OUT VP,WP

This commit is contained in:
otya128
2016-12-20 21:32:05 +09:00
parent e00cee0344
commit a2aa152d5f

View File

@@ -477,6 +477,11 @@ class BuiltinFunction
p.graphic.showGRP = showPage; p.graphic.showGRP = showPage;
p.graphic.useGRP = usePage; p.graphic.useGRP = usePage;
} }
static void GPAGE(PetitComputer p, out int showPage, out int usePage)
{
showPage = p.graphic.showGRP;
usePage = p.graphic.useGRP;
}
static void GCLIP(PetitComputer p, int clipmode) static void GCLIP(PetitComputer p, int clipmode)
{ {
p.graphic.clip(cast(bool)clipmode/*not checked*/); p.graphic.clip(cast(bool)clipmode/*not checked*/);