| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
-konami/konamigq.cpp: No need to cancel a newly allocated timer.
|
| |
|
|
|
|
|
|
|
| |
the limit.
* This makes it easier to see that you’ve hit the limit and MAME isn't
just ignoring your keystrokes.
-emu/inpttype.ipp: Restored tabulation.
|
| | |
|
| | |
|
| |
|
|
| |
force OpenGL. [R. Belmont]
|
| |
|
|
| |
accidental crashes
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes "amplification" effects that would happen if the frame rate
rose above 100 Hz (whether by unthrottling or otherwise).
Synchronise with wall clock any time inputs are read. Not doing this
has weird effects on relative inputs with frame skipping and contributes
to unresponsiveness of menus.
Reduce visual latency for mouse movement on menus when paused or
skipping frames. The rest of the code changes to menus won't provide
benefits until draw can happen after event handling.
|
| | |
|
| |
|
|
|
|
| |
This was a drain on performance. If anything is trying to poll inputs
in a loop, it needs to call input_update() to ensure it gets up-to-date
state.
|
| |
|
|
| |
Also fixed draw13.cpp upsetting older versions of clang.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't ignore the return status of OSD module initialisation. Attempt to
fall back to an alternate module if the selected module fails to
initialise. Log more useful diagnostic information at verbose level.
Fixed BGFX crash on exit after toggling fullscreen. Also persist more
settings than just the selected chains across toggling fullscreen.
Turned video modules into OSD modules in the same sense as all the other
OSD modules. They now use the same selection/fallback mechanism as all
the other modules without special extra code in the OSD implementations.
Untangled some object ownership mess. Windows own renderers, OSD
objects own windows. Fixed a refrence loop that caused the first window
object to always leak.
Don't create renderer object until after underlying window has been
created. Fixed issues with order of creation/destruction when toggling
fullscreen or changing prescale in fullscreen with -switchres in SDL
builds.
Use more smart pointers in BGFX and Direct3D render modules. Most of
the code now reutrns a smart pointer when handing over ownership or a
naked pointer when retaining ownership. Fixed a few leaks and
simplified cleanup code.
Encapsulated various OSD modules better.
|
| |
|
|
|
| |
* Clean up #includes in src/osd
* render/bgfx/view.cpp: Add license header
|
| |
|
|
|
|
|
| |
* -bgfx: Improved stability when encountering missing files, and improved multi-window stability. [Ryan Holtz]
* -osd: Added video-init fallback functionality to other OSDs. [Ryan Holtz]
* -bgfx: Fixed issues from the previous batch of changes. [Ryan Holtz]
* -osdwindow: Remove no-longer-needed addition of post_create(). [Ryan Holtz]
|
| |
|
|
| |
This reverts commit f5b75b74393646d1dc082ec807279451dc481854.
|
| |
|
|
|
| |
* -bgfx: Improved stability when encountering missing files, and improved multi-window stability. [Ryan Holtz]
* -osd: Added video-init fallback functionality to other OSDs. [Ryan Holtz]
|
| |
|
|
|
|
|
| |
- Undo inclusion of screen.h within render.h and update many source files that were stealth-including the former
- Move texture_format enum to rendertypes.h
- rendlay.h: Make a few methods static
- ui/info.cpp: Use C++11-style iteration for render targets
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* Works fine with an analog stick/wheel, difficult to steer on the
slippery "dotted" surface with keyboard/D-pad.
-osd: Moved GCC intrinsics out of eminline.h so MAME_NOASM will take the
pure C++ implementation with GCC (makes testing the fallback easier).
-Removed a bunch of [[maybe_unused]] that aren't actually needed.
|
| | |
|
| |
|
|
|
|
|
|
| |
-osd/modules/osdwindow.cpp: Clean up window title formatting.
* Show data type model in window title.
* Moved window title formatting to a single place.
-tools/chdman.cpp: Removed some unnecessary .c_str() calls.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove corestr.h from emu.h; update a few source files to not use it at all
- Change strtrimspace, strtrimrightspace and core_filename_extract_* to be pure functions taking a std::string_view by value and returning the same type
- Change strmakeupper and strmakelower to be pure functions taking a std::string_view and constructing a std::string
- Remove the string-modifying version of zippath_parent
- Change tag-based lookup functions in device_t to take std::string_view instead of const std::string & or const char *
- Remove the subdevice tag cache from device_t (since device finders are now recommended) and replace it with a map covering directly owned subdevices only
- Move the working directory setup method out of device_image_interface (only the UI seems to actually use the full version of this)
- Change output_manager to use std::string_view for output name arguments
- Change core_options to accept std::string_view for most name and value arguments (return values are still C strings for now)
- Change miscellaneous other functions to accept std::string_view arguments
- Remove a few string accessor macros from romload.h
- Remove many unnecessary c_str() calls from logging/error messages
|
| | |
|
| | |
|
| |
|
|
| |
menu and remove SDL hotkeys for same
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
* 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
|
| | |
|
| | |
|
|
|
This will compile, link, and run a driver all the way to the first info screen, provided you use -video bgfx.
However, although there's a valid NSWindow created, it never actually appears on screen for unknown (but likely silly) reasons.
Inputs are not implemented and fullscreen exists but is untried.
|