420 Commits

Author SHA1 Message Date
cracyc
15745c7d26 hiscore.dat: updates 2025-08-19 16:49:19 -05:00
hap
b7f5030606 mameinfo/messinfo dat plugins: support driver sourcefile path 2025-08-08 15:07:08 +02:00
Vas Crabb
af10f3f21c Various fixes:
ui: The new menus were unusable with a touchscreen, and not conducive to
localisation.  It's still not possible to add sound routes with a
touchscreen, but at least it's possible to configure routes that exist.

emu/sound.cpp: Fixed localisation issues, less temporary objects.

emu/audio_effects: Fixed some localisation issues.

plugins/autofire, plugins/inputmacro: Allow deleting autofire buttons or
input macros without needing to use the UI Clear input.

ui/selmenu.cpp, ui/imgcntrl.cpp: Use terse messages for bad media.
Making these messages longer hasn't reduced support burden.  Adding the
version will just perpetuate the myth that you need to redownload all
your ROMs for every release.

ui/ui.cpp: Allow info screens to be dismissed by mouse clicks or
touches.

ui/sliders.cpp: Hiding the menu should preserve state.  This is a design
choice.

sound: Avoid anything that could possibly depend on static
initialisation order across transaltion units.  Allow speaker position
names to be localised.

sound/none.cpp: Don't pretend it can create output streams.
2025-06-25 03:56:09 +10:00
cracyc
2b33f811ec hiscore.dat: Updates 2025-01-25 09:30:13 -06:00
hap
f1b0eee723 ui pointer options: set inc/dec to 1s (hold shift for shorter 0.1s), reset options to default when pressing Del 2024-08-06 11:33:53 +02:00
Vas Crabb
9f6c0de566 Cleaned up various stuff.
* sony_news.xml: Added proper compatibility flags for different
  generations.
* cpu/pic16x8x: This is very much a derivative work.
* cpu/tms32025.cpp: Allow stack push/pop to be inlined.
* tecmo/bombjack.cpp: Avoid needing to remove and replace devices in
  machine configuration.
* Various other cleanup.
2024-06-30 17:43:02 +10:00
udance4ever
cdef2ed274 coco: add Zonx (The Rainbow) support (software list and hiscore) (#12378)
New working software list items
-------------------------------
coco_flop:
Zonx (The Rainbow)
2024-06-15 20:12:46 -04:00
Mike Sheehan
802c95229d hiscore.dat: Add delay to ballbomb/lupin3 entry to fix saved hiscore loading (#12462) 2024-06-10 08:18:43 -04:00
udance4ever
c4bc1e075a hiscore.dat: Add support for Donkey Kong Jr (New Wide Screen) (#12377) 2024-06-07 21:43:19 -04:00
Vas Crabb
34a31ac42d Fixed various issues in internal layouts:
* plugins/layout: Log script errors at warning level rather than verbose
  level.
* microtouch.lay, pntnpuzl.lay: Improved pointer mapping code.
* Reordered all layouts to place views after element and group
  definitions and scripts last.  This matches how layout files are
  interpreted by MAME.
* Fixed various errors identified by validating layout files against an
  XSD schema.
2024-05-14 05:11:16 +10:00
Vas Crabb
e22aae63a1 -merit/mtouchxl.cpp: Added touch-enabled layout.
-ui/tapectrl.cpp: Ensure device monitored for media change is up-to-date.

-osd/windows: Changed a pointer to a const reference in an API.
2024-05-09 04:43:56 +10:00
eientei95
662bc48d9a cheat: Make string.char and string.format available to cheats (#12183) 2024-03-27 15:35:30 -05:00
cracyc
c2c61bf29c hiscore.dat: fix renamed sets 2024-03-18 09:03:13 -05:00
Vas Crabb
59cbd883f8 sega/sega_beena.cpp: Hooked up barcode cards.
Systems promoted to working
---------------------------
Sega TV Ocha-Ken [QUFB]

Software list items promoted to working (tvochken.xml)
------------------------------------------------------
TV to Ocha-Card: Ocha-Ken 'Ho' to Seikatsu [Vas Crabb]
2023-12-14 13:14:26 +11:00
Vas Crabb
6e60af32c1 sega/sega_beena.cpp: Added basic book page display.
sega_beena_cart.xml: Put page scans in individual data areas.

frontend/mame/luaengine_mem.cpp: Added a raw read function for memory
regions.

plugins/layout: Added bitmap classes to layout sandbox.
2023-11-04 00:37:48 +11:00
cracyc
94bf1367ad hiscore.dat: fix renamed sets 2023-09-21 18:01:59 -05:00
hap
c13ec72934 plugins: enable layout plugin by default 2023-07-31 11:04:49 +02:00
GregWeil
93771fee59 plugins/hiscore: Fixed detection of software item lines, and added high score support for Mega Drive Sonic Spinball. (#11282) 2023-07-07 05:49:56 +10:00
cracyc
76e5e89fed hiscore.dat: update changed sets 2023-06-23 19:10:39 -05:00
Vas Crabb
b67b969bf0 -Improved some Lua APIs:
* Moved several machine lifecycle callbacks to the notifier/subscriber
  model.  The old callback registration model is still available for
  them for now, but prints a deprecation warning.
* Added pre-save/post-load notifications.
* Use a single allocated timer rather than one anonymous timer per
  waiter.  Waiters no longer prevent saved states from being loaded.
* Clean up outstanding waiters on stop or state load rather than just
  leaking them.
* Started documenting parts of the emulator interface object that should
  be relatively stable.

-imagedev/avivideo.cpp: Fixed an object leak on unload.  Also changed
 some other media image devices to use smart pointers.
2023-04-07 06:20:40 +10:00
Vas Crabb
5f97af903c -Lua engine: run everything in coroutines. (#11019)
* This lets you use emu.wait(...) directly without mucking around creating coroutines.
* Allow emu.wait to accept an attotime argument.
* Added a couple more wait helper functions.

-emu/profiler.h: Actually use scope-based profiling helpers.
* This makes the comment at the top of emu/profile.h less dishonest, and makes it easier to write exception-safe code.
* Got rid of some do { ... } while (0) loops that only existed so break could be used like a goto.
2023-03-25 05:53:58 +11:00
Vas Crabb
00f317b3d3 -ui/menu.cpp: Don't pass IPT_UI_BACK event to the implementation when dismissing the menu.
-plugins/autofire, plugins/inputmacro: Don't be so eager to create empty settings folders.
2023-03-23 03:39:54 +11:00
Vas Crabb
ab6a4f1b94 plugins/data: Use local sqlite3 library variable. 2023-03-13 05:51:22 +11:00
Vas Crabb
f2a5f52526 Lua: Be more strict with concurrency and multiple contexts. 2023-03-08 04:09:22 +11:00
Vas Crabb
6dea565343 plugins/console: Fixed tab completion after linenoise update.
* Can now cycle through candidates by repeatedly pushing Tab.
* Also cleaned up Lua thread context object a little, and made it
  possible to pass any Lua object as a status value.
2023-03-08 03:18:21 +11:00