mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
Restore uismall.png for now so that Emscripten menus work (nw)
This commit is contained in:
parent
854fe5592f
commit
af0a67c0f7
@ -412,8 +412,17 @@ dependency {
|
||||
|
||||
}
|
||||
|
||||
if (_OPTIONS["targetos"]=="asmjs") then
|
||||
custombuildtask {
|
||||
{ MAME_DIR .. "src/emu/uismall.png" , GEN_DIR .. "emu/uismall.fh", { MAME_DIR.. "scripts/build/png2bdc.py", MAME_DIR .. "scripts/build/file2str.py" }, {"@echo Converting uismall.png...", PYTHON .. " $(1) $(<) temp.bdc", PYTHON .. " $(2) temp.bdc $(@) font_uismall UINT8" }},
|
||||
}
|
||||
else
|
||||
custombuildtask {
|
||||
{ MAME_DIR .. "scripts/font/NotoSans-Bold.bdc", GEN_DIR .. "emu/uismall.fh", { MAME_DIR .. "scripts/build/file2str.py" }, {"@echo Converting NotoSans-Bold.bdc...", PYTHON .. " $(1) $(<) $(@) font_uismall UINT8" }},
|
||||
}
|
||||
end
|
||||
|
||||
custombuildtask {
|
||||
{ MAME_DIR .. "scripts/font/NotoSans-Bold.bdc", GEN_DIR .. "emu/uismall.fh", { MAME_DIR .. "scripts/build/file2str.py" }, {"@echo Converting NotoSans-Bold.bdc...", PYTHON .. " $(1) $(<) $(@) font_uismall UINT8" }},
|
||||
{ MAME_DIR .. "src/emu/ui/uicmd14.png" , GEN_DIR .. "emu/ui/uicmd14.fh", { MAME_DIR.. "scripts/build/png2bdc.py", MAME_DIR .. "scripts/build/file2str.py" }, {"@echo Converting uicmd14.png...", PYTHON .. " $(1) $(<) temp_cmd.bdc", PYTHON .. " $(2) temp_cmd.bdc $(@) font_uicmd14 UINT8" }},
|
||||
|
||||
layoutbuildtask("emu/layout", "dualhovu"),
|
||||
|
BIN
src/emu/uismall.png
Normal file
BIN
src/emu/uismall.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in New Issue
Block a user