| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* Note that the code to map excess buttons to switches doesn't actually do anything useful while INPUT_MAX_BUTTONS and MAX_BUTTONS happen to be defined to the same number.
|
| |
|
| |
|
|
|
| |
One folder less in the top-level.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
If e.g. kidniki is started with default gamma (1.0), changing gamma with
slider doesn't work. Setting to a gamma <> 1 and restarting MAME will
apply the gamma. This commit fixes this.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
gamma, brightness and contrast. Starting MAME with defaults,
i.e. gamma == 1.0, no rgb palette will be allocated.
If gamma than is changed, a new palette will be allocated. But the
texture will not be updated because the palette is not checked.
This fix will check for palette changes.
Note: if the palette is changed inplace, i.e. without reallocation, this
will fail. The correct fix would be that the texture palette is not only
a pointer to rgb_t * but to texture_palette_type. texture_palette_type
would hold the pointer, the length and a sequential id which is checked
in addition to pointer equality.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
thing as invalid (e.g. A S not A)
ioport.cpp:
* better than 50% reduction in compile time, and better locality for static data
* better encapsulation, const correctness and noexcept usage
|
| |
|
|
|
|
| |
64-bit ABI (nw)
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Got rid of some more simple_list in core debugger code
* Fixed a buffer overrun in wavwrite (buffer half requried size)
* Slightly reduced dependencies and overhead in wavwrite
* Made new disassembly windows in Qt debugger default to current CPU
|
|
|
|
| |
future-proofing [R. Belmont]
|
|
|
|
| |
Belmont]
|
|
|
|
|
|
|
|
|
|
| |
* Remove up to one frame of input latency. Makes MAME virtually lagless on VRR monitors.
* Use empty parentheses and clean interface member calls
* Add new option -instant_blit to make this feature optional
* Rename new option to -lowlatency, -ll
|
|
|
|
| |
plugins/discord: disconnect if timed out (nw)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
transposition properly (#5875)
* Sync bgfx with upstream revision 280420d
* Sync bx with upstream revision 267727d
* Sync bimg with upstream revision c1bab10
* Use bgfx helper functions to ensure correct matrix orientation
* Rebuild hlsl chain
|
| |
|
| |
|
| |
|
|
|
|
| |
out some unintentional screen changes
|
|
|
|
| |
on exit on Win7, nw
|
|
|
|
| |
textures in Vulkan backend on BGFX. nw
|
| |
|
| |
|
| |
|
|
|
|
| |
comments to doxygen format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Check that m_display is not null to prevent crash
https://mametesters.org/view.php?id=7372
* Probe method to check if X11 is actually being used
As per: https://github.com/mamedev/mame/pull/5725#issuecomment-540004475 this will help MAME verify X11 has no inputs when X11 is not actually being used (e.g. on RetroPie where SDL display is RPI).
* Fix issue where a lightgun with no name would return nullptr
As suggested by https://github.com/mamedev/mame/pull/5725#issuecomment-539914514 , a bug in create_lightgun_device() returned nullptr if the lightgun had no name. Now it will create the device with a name using the lightgun's device index
* Change older m_display change to assert
This module can now be probed and disabled correctly if X11 is not being used. Removed the if statements that would be called every cycle (and fail silently) in favor of asserts, as MAME does not currently handle dynamic hardware configuration changes.
* Fixing semicolons in asserts that were ifs
|
|
|
|
|
|
| |
* Actually honor VERBOSE setting
* Current shaders build setup is not capable of parallel build
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Sync with bgfx upstream revision b91d0b6
* Sync with bx upstream revision d60912b
* Sync with bimg upstream revision bd81f60
* Add astc-codec decoder
* Rename VertexDecl to VertexLayout
* Rename UniformType enum Int1 to Sampler.
* Add NVN stub
* Fix unused-const-variable error on macOS
* Drop redundant explicit language parameters
buildoptions_cpp are only applied to c++ files and buildoptions_objcpp are only
applied to objective c++ files. As such, hardcoding -x offers no benefit while
preventing overrides (such as one needed by 3rdparty/bgfx/src/renderer_vk.cpp on
macOS) from working.
* Re-introduce -x c++ in places where C code is compiled as C++ to prevent clang from throwing a warning
* Build bgfx as Objective-C++ on macOS
It is needed due to included headers
* Enable Direct3D12 and Vulkan bgfx rendering backends
* Enable building of spirv shaders
* Properly escape /c in cmd call
* Comment out dx12 bgfx renderer
* Honor VERBOSE setting during shaders build
* Only invert hlsl shader XYZ_TO_sRGB matrix for opengl
* Add spirv shaders
* OpenGL ES needs transposed matrix too
* Metal needs transposed matrix as well
|
|
|
|
|
| |
* imagedev/cassette: add bitwise operators for cassette_state so a lot of ugly casts can go away
* audio/leland.cpp, cubeqst.cpp: make better use of loops in machine configuration
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(nw) This has been a long time coming but it's here at last. It should
be easier now that logerror, popmessage and osd_printf_* behave like
string_format and stream_format. Remember the differences from printf:
* Any object with a stream out operator works with %s
* %d, %i, %o, %x, %X, etc. work out the size by magic
* No sign extending promotion to int for short/char
* No widening/narrowing conversions for characters/strings
* Same rules on all platforms, insulated from C runtime library
* No format warnings from compiler
* Assert in debug builds if number of arguments doesn't match format
(nw) Also removed a pile of redundant c_str and string_format, and some
workarounds for not being able to portably format 64-bit integers or
long long.
|
| |
|
|
|
|
| |
what this thing is supposed to do
|
| |
|
| |
|
| |
|
| |
|
| |
|