summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/main.lua
Commit message (Collapse)AuthorAgeFilesLines
* Updated GENie and changed Visual Studio target to Visual Studio 2022. (#13000) Patrick Mackinlay2024-11-271-14/+0
| | | | | * Updated to GENie 1181. * Applied local fix for GENie resource include directory bug, sent upstream as bkaradzic/GENie#572. * Set MSVC flags to use conformant preprocessor, standards conformance mode, and assume UTF-8 encoding.
* Added Zstandard support for zip archives and CHDs. (#11827) Vas Crabb2023-12-111-0/+1
| | | | | | * 3rdparty/zstd: Added Zstandard compression library version 1.5.5. * util/unzip.cpp: Added support for Zstandard compression (method 93). * util/chdcodec.cpp: Added support for Zstandard compression. * 3rdparty/flac: Always define NDEBUG to avoid log spam.
* Removed local copy of SDL source and update Android build support. (#10899) Miodrag Milanović2023-02-271-5/+9
| | | | | | | | | * Removed SDL2 source. * Updated gradle. * Updated SDL2 Java support glue code. * Increased minimum supported Android API version to 24. * Updated required asset files for Android app. * Added proper tag for Android logging. * Added SDL2 hint to make BGFX work on Android.
* Minor cleanup: Vas Crabb2022-07-111-2/+2
| | | | | | | | * Don't put full path to target resources in generated version resource file. * apple/sonora.cpp: Only #include "emu.h" as first thing in .cpp file to avoid PCH issues. * taito/rbisland.cpp: Cleaned up a few details.
* More quality of life features for new source layout: Vas Crabb2022-06-291-5/+5
| | | | | | | | | | | | Added support for wildcards in .flt filter files. You'll need to quote them to avoid /* being parsed as a comment initiator, like "seta/*.cpp" on a line including the quotes. Added an XSLT filter for listing system driver sources, like mame -lx | xsltproc scripts/xslt/list-system-sources.xslt Converted the ci subtarget (which isn't really used much) into a .flt rather than .lua and .lst files.
* Added make opions for filter file, adjusted source path display. Vas Crabb2022-06-281-59/+71
| | | | | | | | | | | | | | Added SOURCEFILTER option to specify a driver filter file in your make options, e.g. like make SUBTARGET=custom SOURCEFILTER=mydrivers.flt (or put it in your useroptions.mak if you'll be using it a lot). It functions more-or-less like SOURCES on steroids. Changed the way system/device source file paths are displayed to suit the new source layout better. INI file loading hasn't changed, that still just uses the base file name. Added overlooked trigger to src/bus.lua to include NES controller bus if the NES zapper sensor is needed.
* Acknowledge presence of circular dependencies to keep GNU ld happy on Linux. Vas Crabb2022-06-171-6/+6
|
* More scheduler optimisation, Visual Studio build fixes, and cleanup. Vas Crabb2022-06-171-0/+15
| | | | | | | | | | | | | emu/schedule.cpp: Fixed a few more pessimising assumptions. Gains a few percent in Ketsui and SNES SuperFX. util/endianness.h: Added some more operations on endian-swizzlers. Changed a few more drivers to use them. sun2.cpp: Fixed uninitialised variable that could cause corrupt video. Fixed some issues with Visual Studio project generation after the changes to Windows resource creation.
* Updated scripts to support SOURCES= builds after the reorganisation happens. Vas Crabb2022-06-151-30/+35
|
* -Got rid of some legacy MESS support glue. Vas Crabb2022-06-131-48/+90
| | | | | | | | | | | * Got rid of the special-casing for the "mess" subtarget name. * Got rid of the MESS-specific Windows resources, emuator info source and man page. * Added subtarget name to the internal name and original name in Windows resources. -ui: Put the system-specific items on the input settings menu together, and fixed the crosshair visibility settings.
* Fix build with newer versions of Emscripten; minimum supported version is ↵ Justin Kerk2021-12-231-56/+1
| | | | now 2.0.25.
* Remove uwp from build system Miodrag Milanovic2021-10-261-4/+0
|
* Remove of winstore/winphone Miodrag Milanovic2021-10-261-32/+0
|
* vs2019_clang target is now used instead of vsllvm Miodrag Milanovic2021-10-261-7/+0
|
* mips platform is not supported for Android for some time Miodrag Milanovic2021-10-261-6/+0
|
* rpi target was not used, but regular linux one anyway Miodrag Milanovic2021-10-261-3/+0
|
* Remove pnacl remains Miodrag Milanovic2021-10-261-9/+0
|
* ymfm: Refactor new FM engine into a 3rdparty library (#8046) Aaron Giles2021-05-141-0/+1
| | | | | | | | | | | | | | | ymfm: refactor the code into a separate 3rdparty library * Moved ymfm core implementation to 3rdparty/ymfm * Split out each family (OPM/OPN/OPL/etc) into its own source file * Added preliminary OPQ and OPZ support, still WIP * Put all 3rdparty code into its own namespace ymfm * Fixed various bugs reported in #8042 * Created interface class for communication between the 3rdparty engine and the emulator * Standardized MAME implementation of all Yamaha devices based on a template class * Created standard base class ym_generic that can be used when multiple YM chips are swapped in * Changed YM2203/2608/2610 to embed a YM2149 as a subdevice instead of deriving from ay8910_device * Also provided compile-time option to use a simplified built-in SSG rather than using MAME's at all (currently off) * Consolidated MAME header files from one-per-chip (ym2151.h, ym2203.h, etc) to one-per-family (ymopm.h, ymopn.h, etc)
* Goodbye 64 suffix on the main executable, it was nice knowing you. Vas Crabb2021-01-261-26/+2
| | | | | | If you want to build 64-bit and 32-bit in the same tree without them stomping on each other, use SEPARATE_BIN=1 (you already need to do this for TOOLS=1 anyway).
* Emscripten: Allow memory size to grow at runtime when targeting WebAssembly ↵ Justin Kerk2020-10-241-2/+13
| | | | as there is no longer a performance hit
* Remove embed files unintentionally added to Emscripten build Justin Kerk2020-09-281-2/+0
|
* netlist: code refactoring couriersud2020-09-241-0/+2
| | | | | | * use default move and copy constructors * various minor edits like adding noexcept * removed a lot of inline keywords - you can't beat the compiler
* emscripten: netlist and OpenGL improvements. (#7254) couriersud2020-09-181-2/+6
| | | | | | | | | | | * Most OpenGL link issues fixed. Two remain from drawogl.cpp. This isn't working anyhow. * "-video accel" now uses WebGL. This allows GL based scaling and provides a performance improvement. * Fixed pong and other games by adding another function to the exception whitelist * Target now is mame.html. This allows emrun to be used for testing. mame.js is created as well and thus the current behaviour unchanged.
* Only build asmjit on x86 and x86_64 Julian Sikorski2020-06-271-0/+4
|
* asmjit: new 3rdparty library Patrick Mackinlay2020-05-281-0/+1
|
* srcclean and manual cleanup (nw) Vas Crabb2020-04-261-3/+3
|
* main.lua: fix linking order of netlist. (nw) couriersud2020-04-181-5/+5
| | | | | | Moved netlist between dasm and utils,expat,... link statements This fixes the resolution of symbols in netlist code which may be used in machine/netlist.cpp. Change tested on ubuntu, windows and macosx.
* Maintenance: Vas Crabb2020-03-041-0/+1
| | | | | | | * Removed empty nl_examples from dist.mak * Added copyright acknowledgements and full text of licenses to binary distribution * Fixed up the list of third-party libraries * Moved WDL fft.c to 3rdparty
* Add bgfx artwork path for Emscripten build (nw) algestam2019-12-031-0/+1
|
* Build system maintenance: Vas Crabb2019-10-041-4/+4
| | | | | | | | | | | * Re-write makedep.py for better performance and better parsing front-end * Make srcclean deal with kinds of preprocessor abuse I never want to see in real life (nw) The new parser front-end is better at recognising C++ syntax and also substantially faster - bootstrapping a single-driver build should be noticeably quicker. Having a single parser for C++, .lst and .flt files also gets us a bit closer to making it simpler to create custom subtargets.
* (nw) Clean up the mess on master Vas Crabb2019-03-261-0/+8
| | | | | | | | | | | | | This effectively reverts b380514764cf857469bae61c11143a19f79a74c5 and c24473ddff715ecec2e258a6eb38960cf8c8e98e, restoring the state at 598cd5227223c3b04ca31f0dbc1981256d9ea3ff. Before pushing, please check that what you're about to push is sane. Check your local commit log and ensure there isn't anything out-of-place before pushing to mainline. When things like this happen, it wastes everyone's time. I really don't need this in a week when real work™ is busting my balls and I'm behind where I want to be with preparing for MAME release.
* Revert "conflict resolution (nw)" andreasnaive2019-03-251-8/+0
| | | | | This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing changes made to 009cba4fb8102102168ef32870892438327f3705.
* enable sub-second snapshot timers (nw) (#4493) Peter Ferrie2019-02-041-0/+7
| | | | | | | | | | | | | | * enable sub-second snapshot timers (nw) * switch to attotime, accept doubles * support LLVM extension in MSVC make vsllvm using extension from here: https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain
* r4000: experimental mips3 implementation (nw) Patrick Mackinlay2019-02-011-0/+1
| | | | | | WIP checkpoint: while I believe it's largely accurate (and very slow), neither jazz nor sgi systems can fully boot yet using this device, so it remains experimental. This implementation should go away when it has helped identify the improvements required for mips3.
* Fix errors with single-driver build of vsnes.cpp [Justin Kerk] Justin Kerk2018-12-301-2/+2
|
* Don't error on undefined GL symbols for the WebAssembly target (#4187) Justin Kerk2018-10-231-0/+1
|
* Better Emscripten parameter handling, & update docs (nw) Justin Kerk2018-07-211-4/+1
|
* Update WebAssembly parameters for current Emscripten (nw) Justin Kerk2018-07-151-1/+4
|
* Fixed issues with CHD loading under Emscripten. [Justin Kerk] Justin Kerk2018-03-281-1/+1
|
* Disable multithreading on the Emscripten target as it is not currently ↵ Justin Kerk2018-03-061-0/+1
| | | | supported. Fixes e.g. drivers using discrete audio components. [Justin Kerk]
* VS Compile Fix Björn Moser2018-01-081-2/+2
|
* Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all ↵ Miodrag Milanovic2017-12-011-0/+1
| | | | shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic]
* Attempted to sanitize/rationalize how we access UTF-8 command line arguments ↵ npwoods2017-09-181-5/+0
| | | | | | | | | | | (#2532) Specifically, this creates a call osd_get_command_line() that returns UTF-8 command line arguments as std::vector<std::string>. On non-Windows platforms, this does nothing more than build the vector. On Windows, this invokes GetCommandLineW() and CommandLineToArgvW(). This also attempts to unwind usage of wmain()/_tmain() on Windows, which is not standard. Related to this, this fixes a bug in Imgtool; specifically, non-7 bit ASCII was not being handled correctly in Windows. This is really an admission that the way that Windows handles Unicode and command line arguments sucks, and it is my belief that having a wmain() or _tmain() declaration specific for Windows is a worse solution. C'est la vie. I'm very open to the idea that src/osd/osdcore.[cpp|h] is not the best place to do this. Let me know if I should move it.
* Export soft_reset, hard_reset, exit, load, and save functions for Emscripten ↵ James Baicoianu2017-07-151-1/+1
| | | | builds
* Fix save/load states in Emscripten build (#2470) James Baicoianu2017-07-151-1/+1
| | | | | | | | | * Fix save/load states in Emscripten build * Simplified Emscripten integration points * Moved standalone JS functions to be static member functions of running_machine * Improved Emscripten main loop * Use convenience functions for cleaner code As an added bonus, this now allows for proper shutdown of the running machine when running in the Emscripten environment - previously, attempts to exit the program were just being ignored.
* linenoise: replace linenoise-ng with a different port that is simpler and ↵ cracyc2017-05-131-1/+1
| | | | | | uses a different UTF8 parser [Carl] plugins/console: better completions [Carl]
* Update build scripts, BX is now static library (nw) Miodrag Milanovic2017-02-051-0/+1
|
* Initial PortAudio backend with build script changes to support library ↵ inte alls2017-01-111-0/+10
| | | | version 20161030
* Introduced utf8proc and created wrapper code to expose a prettier API Nathan Woods2016-12-311-0/+1
|
* Enable building projects that are separate of MAME but use same core and ↵ Miodrag Milanovic2016-12-081-0/+4
| | | | lives in separate git tree (nw)