Jump to content

Robert

User Admin
  • Posts

    12,745
  • Joined

  • Last visited

  • Days Won

    280

Posts posted by Robert

  1. JR100

    Today I added a new hack into MESS/MESSUI only. This fixes a VIA bug by changing its clock frequency on the fly. The result is that the jr100 can save and load cassettes correctly. It's too much of a hack to be considered for MAME.

  2. DEFAULT INPUTS

    src/emu/inpttype.cpp

    lines 877, 878: change Pause button to the Pause key on the keyboard. The old P key is needed for other things.

    line 915: In MAME, the default Paste key doesn't work. Moved to RightShift+PgUp.

  3. DIRECT3D

    src/osd/modules/render/draw3d.cpp

    lines 1063-1113: various tests for old video cards have been commented out. In MAME you would get a fatal error or black screen. In MAMEUI the worst you'll get is a black screen, but more likely it will work. So, messages such as "Your graphics card does not fully support non-power-of-two" won't be seen.

  4. NONAG

    src/emu/video.cpp

    line 967: changed "> 0" to "> 1". Then you must choose -str 1 from the command line (or seconds to run = 1 in the GUI). This is for MESS/MESSUI/ARCADE64 only, in order to comply with licensing restrictions.

     

  5. INP_HEADER

    This is needed by all derivatives to allow the loading of INP files. However a pointless refactor 2 months ago made this class private, and not available.

    src/emu/ioport.cpp

    src/emu/ioport.h

    Moved the inp_header class from ioport.cpp back to ioport.h where it belongs.

  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. 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.

     

  13. 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.

  14. PLUGINS

    src/frontend/mame/mame.cpp

    line 174,184,195: If there's a problem with a plugin, MAME will crash. This has been changed so you get a console message and things continue without it instead.

    src/frontend/mame/pluginopts.cpp

    line 77,83: don't crash if bad plugin.

  15. LUA STARTUP

    src/frontend/mame/luaengine.cpp

    line 462, 540, 922, 927, 933: If LUA is unable to initialise itself, MAME will crash. This has been changed so that LUA will be disabled and the emulator will run without it.

×
×
  • Create New...