Jump to content

List of changes to MAME core


Robert
 Share

Recommended Posts

DEFAULT OPTIONS

src/osd/windows/winmain.cpp

line 174: MESS/MESSUI only - enable NewUI by default. (The white menubar that shows when a game is running).

line 292-335: new main function for winui, it become necessary several years ago after a pointless refactor.

src/osd/windows/winmain.h

line 273: link to new main function

src/osd/module/lib/osdobj_common.cpp

line 59: default to window instead of full-screen

line 97: turn bilinear filter off by default.

src/emu/emuopts.cpp

line 35: MESS/MESSUI/MAMEUI - the writeconfig option is turned on default. This means whenever you run a game, a new inifile will be created. You can turn it off in mame.ini . Having it on is handy for MESS (imagine having to completely rebuild a pc every time you wanted to use it), but not useful for arcade. You can make arcade.ini with one line: writeconfig 0

line 701: if option not found (can occur with BML3 with 1802 slot), MAME will blow up. This is changed to handle it gracefully.

src/lib/util/options.cpp

line 284: crash if attempt to set an invalid option. This has been commented out, need to find out if needed.

Link to comment
Share on other sites

  • Replies 30
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

BIOS ERROR

(Updated 2022-04-24)

src/emu/romload.cpp

lines 370, 375, 392: stops the menu from complaining about invalid bios

src\frontend\mame\ui\selmenu.cpp

lines 634-638: gets rid of the bogus 'files are missing' after running a neogeo game.

 

Link to comment
Share on other sites

MANDATORY IMAGES, NewUI MOUSE

src/frontend/mame/ui/ui.cpp

line 562: if the system requires software before it will start (nes for example), you get the filemanager. This line has been commented out, allowing you to start the system without software, and you can load it later if you want.

line 677: fix when the mouse pointer should show. If NewUI is on, then the mouse pointer is always there.

Link to comment
Share on other sites

AUDITING OF ROMS

src/frontend/mame/audit.cpp

line 710-783: only report on roms that the user can fix. There's no point complaining of no dumps and bad dumps, when there's nothing the user can do about it.

src/emu/romload.h

line 415: returns number of no-dumps and bad-dumps. We don't need this, so return 0.

src/frontend/mame/audit.cpp

line 707 to the end: new audit routine to support the above ideas.

src/frontend/mame/audit.h

line 162: pointer to the above.

Link to comment
Share on other sites

VIDEO SPEED from NewUI.

src/emu/video.h

line 58: addition of pointer to the speed adjuster. This had been removed in a pointless refactor a few years back, but we need it.

 

Link to comment
Share on other sites

SOFTWARE LISTS

src/emu/softlist_dev.cpp

Many pointless changes were reverted to keep winui working, mostly to do with the dangerous string_view statement.

line 94, 294-305: this area was refactored and it broke things, reverted to a working state.

src/emu/softlist_dev.h

line 152: added back needed definition of m_file.

src/emu/softlist.cpp

line 122, 140, 146, 564: get rid of string_view so things can work again.

src/emu/softlist.h

line 124, 142: adjust pointers to fit with the above.

Link to comment
Share on other sites

WARNING OF NO SOUND

src/frontend/mame/ui/info.cpp

line 211: line has been commented out. Not sure exactly what it's about.

The note says "The no sound hardware warning doesn't make sense when you plug in a sound card". Need to find out more.

Link to comment
Share on other sites

SLOTS

src/emu/mconfig.cpp

line 102: there's a fatal error if an unknown slot option is encountered. This has been changed to a warning because the system will handle the problem gracefully anyway. MAME has more than enough ways to crash as it is.

Link to comment
Share on other sites

ABOUT

src/frontend/mame/ui/about.cpp

line 51: In the About header, MAME shows a revision number, however this only works if the exe was compiled on an internet-enabled computer. For me, it always says "unknown" which is useless. Therefore it's changed to show the creation date instead.

Link to comment
Share on other sites

  • Robert pinned this topic
  • Robert unlocked and unpinned this topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...