diff options
| author | 2026-04-06 05:16:43 +1000 | |
|---|---|---|
| committer | 2026-04-06 05:16:43 +1000 | |
| commit | 7ff17615ba95d57befd8cf050b9a88bcb9aaf83c (patch) | |
| tree | 2fcdb28a05180d9c2cd2632caa403960852faef3 /scripts | |
| parent | d2e952322e057e42ab059035157c7136e0565727 (diff) | |
Cleaned up unsupportable legacy stuff:
cpu/drcbex86.cpp: Removed i686 recompiler back-end. Without a practical
way to make Windows i686 builds, it's just going to rot. Also, x86-64
is now older than Pac-Man was when MAME was initially created. It's
dead on the desktop
tools: Removed aueffectutil - it's no longer useful.
emu/video/rgbutil.cpp: Removed Altivec/VMX bilinear filtering
implementation. PowerPC on desktop is dead.
file/posixptty.cpp, sdl, sdl3, scripts: Removed support for SysV
operating systems. They’re dead on the desktop.
scripts: Removed outdated Lua compatibility macros. They weren't doing
anything sice we updated to Lua 5.4 (the compatibility options changed,
but we just left the old macros in place, which no longer had any
effect).
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/genie.lua | 7 | ||||
| -rwxr-xr-x | scripts/src/3rdparty.lua | 8 | ||||
| -rw-r--r-- | scripts/src/cpu.lua | 4 | ||||
| -rw-r--r-- | scripts/src/tools.lua | 42 | ||||
| -rw-r--r-- | scripts/toolchain.lua | 34 |
5 files changed, 1 insertions, 94 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index a11e84548dd..d9957789bce 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -153,7 +153,6 @@ newoption { { "macosx", "OSX" }, { "windows", "Windows" }, { "haiku", "Haiku" }, - { "solaris", "Solaris SunOS" }, }, } @@ -696,12 +695,6 @@ elseif (_OPTIONS["PLATFORM"] == "x86") or (_OPTIONS["PLATFORM"] == "arm64") then } end - defines { - "LUA_COMPAT_ALL", - "LUA_COMPAT_5_1", - "LUA_COMPAT_5_2", - } - if _ACTION == "gmake" or _ACTION == "ninja" then --we compile C-only to C99 standard with GNU extensions diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 011af653653..60a4731e1b4 100755 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -1006,11 +1006,6 @@ elseif _OPTIONS["vs"]=="intel-15" then end configuration { } - defines { - "LUA_COMPAT_ALL", - "LUA_COMPAT_5_1", - "LUA_COMPAT_5_2", - } if (_OPTIONS["targetos"] ~= "windows") and (_OPTIONS["targetos"] ~= "asmjs") then defines { "LUA_USE_POSIX", @@ -1100,9 +1095,6 @@ elseif _OPTIONS["vs"]=="clangcl" then end configuration { } - defines { - "LUA_COMPAT_ALL", - } includedirs { MAME_DIR .. "3rdparty", diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index f6922a00a9f..743d36f279a 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -13,7 +13,7 @@ -- Dynamic recompiler objects -------------------------------------------------- -DRC_CPUS = { "E1", "SH", "MIPS3", "POWERPC", "ADSP21062", "MB86235", "DSP16", "UNSP", "SWP30", "DSPP" } +DRC_CPUS = { "ADSP21062", "DSP16", "DSPP", "E1", "MB86235", "MIPS3", "POWERPC", "SH", "SWP30", "UNSP" } CPU_INCLUDE_DRC = false for i, v in ipairs(DRC_CPUS) do if (CPUS[v]~=null) then @@ -49,8 +49,6 @@ if CPU_INCLUDE_DRC_NATIVE then MAME_DIR .. "src/devices/cpu/drcbearm64.h", MAME_DIR .. "src/devices/cpu/drcbex64.cpp", MAME_DIR .. "src/devices/cpu/drcbex64.h", - MAME_DIR .. "src/devices/cpu/drcbex86.cpp", - MAME_DIR .. "src/devices/cpu/drcbex86.h", } end diff --git a/scripts/src/tools.lua b/scripts/src/tools.lua index 1c79e7da848..33695f26de6 100644 --- a/scripts/src/tools.lua +++ b/scripts/src/tools.lua @@ -730,48 +730,6 @@ configuration { } strip() -------------------------------------------------- --- aueffectutil --------------------------------------------------- - -if _OPTIONS["targetos"] == "macosx" then - project("aueffectutil") - uuid ("3db8316d-fad7-4f5b-b46a-99373c91550e") - kind "ConsoleApp" - - flags { - "Symbols", -- always include minimum symbols for executables - } - - if _OPTIONS["SEPARATE_BIN"]~="1" then - targetdir(MAME_DIR) - end - - linkoptions { - "-sectcreate __TEXT __info_plist " .. _MAKE.esc(MAME_DIR) .. "src/tools/aueffectutil-Info.plist", - } - - dependency { - { "aueffectutil", MAME_DIR .. "src/tools/aueffectutil-Info.plist", true }, - } - - links { - "AudioUnit.framework", - "AudioToolbox.framework", - "CoreAudio.framework", - "CoreAudioKit.framework", - "CoreServices.framework", - } - - files { - MAME_DIR .. "src/tools/aueffectutil.mm", - } - - configuration { } - - strip() -end - --------------------------------------------------- -- testkeys -------------------------------------------------- diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 6e8c96605b3..d00f426ba9a 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -33,7 +33,6 @@ newoption { { "openbsd-clang", "OpenBSD (clang compiler)"}, { "osx", "OSX (GCC compiler)" }, { "osx-clang", "OSX (Clang compiler)" }, - { "solaris", "Solaris" }, }, } @@ -145,10 +144,6 @@ function toolchain(_buildDir, _subDir) location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-linux") end - if "solaris" == _OPTIONS["gcc"] then - location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-solaris") - end - if "linux-clang" == _OPTIONS["gcc"] then premake.gcc.cc = "clang" @@ -376,35 +371,6 @@ function toolchain(_buildDir, _subDir) configuration { "linux-clang", "x64", "Debug" } targetdir (_buildDir .. "linux_clang" .. "/bin/x64/Debug") - configuration { "solaris", "x32" } - objdir (_buildDir .. "solaris" .. "/obj") - buildoptions { - "-m32", - } - - configuration { "solaris", "x32", "Release" } - targetdir (_buildDir .. "solaris" .. "/bin/x32/Release") - - configuration { "solaris", "x32", "Debug" } - targetdir (_buildDir .. "solaris" .. "/bin/x32/Debug") - - configuration { "solaris", "x64" } - objdir (_buildDir .. "solaris" .. "/obj") - buildoptions { - "-m64", - } - - configuration { "solaris", "x64", "Release" } - targetdir (_buildDir .. "solaris" .. "/bin/x64/Release") - - configuration { "solaris", "x64", "Debug" } - targetdir (_buildDir .. "solaris" .. "/bin/x64/Debug") - - configuration { "freebsd", "x32" } - objdir (_buildDir .. "freebsd" .. "/obj") - buildoptions { - "-m32", - } configuration { "freebsd", "x32", "Release" } targetdir (_buildDir .. "freebsd" .. "/bin/x32/Release") |
