Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107298100
D45885.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D45885.diff
View Options
diff --git a/stand/liblua/gfx_utils.c b/stand/liblua/gfx_utils.c
--- a/stand/liblua/gfx_utils.c
+++ b/stand/liblua/gfx_utils.c
@@ -263,7 +263,8 @@
"loader.fb_putimage = gfx.fb_putimage\n"
"loader.fb_setpixel = gfx.fb_setpixel\n"
"loader.term_drawrect = gfx.term_drawrect\n"
- "loader.term_putimage = gfx.term_putimage") != 0) {
+ "loader.term_putimage = gfx.term_putimage\n
+ "loader.gfx_moved = 1") != 0) {
lua_pop(L, 1);
const char *errstr = lua_tostring(L, -1);
errstr = errstr == NULL ? "unknown" : errstr;
diff --git a/stand/lua/core.lua b/stand/lua/core.lua
--- a/stand/lua/core.lua
+++ b/stand/lua/core.lua
@@ -546,7 +546,7 @@
-- Check here for any of the compat shims that we use elsewhere If we'reusing
-- the compat shim, your boot loader is too old.
--
-if not pager or loader.lua_path == nil or not loader.command_error then
+if not pager or loader.lua_path == nil or not loader.command_error or not loader.gfx_moved then
print("**********************************************************************")
print("**********************************************************************")
print("***** *****")
diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua
--- a/stand/lua/menu.lua
+++ b/stand/lua/menu.lua
@@ -419,7 +419,7 @@
end,
visible = function()
-- If we have to use compat shims
- return not pager or loader.lua_path == nil or not loader.command_error
+ return not pager or loader.lua_path == nil or not loader.command_error or not loader.gfx_moved
end
}
vendor = {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 13, 4:19 AM (20 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15776237
Default Alt Text
D45885.diff (1 KB)
Attached To
Mode
D45885: loader: Add gfx stuff to the mix
Attached
Detach File
Event Timeline
Log In to Comment