Previous | 199869 Revisions | Next |
r194890 Friday 31st March, 2023 at 00:40:34 UTC by AJR |
---|
API change for device_image_interface - Remove the seterror method for recording error messages and conditions. Condition codes have been made return values for call_load, call_create and various related callbacks. Error messages (which many devices weren't generating) are now displayed through osd_printf_error. - Eliminate the image_init_result and image_verify_result pass/fail enumeration types. Update many functions that were returning these enumerations or simply bools to return std::error_condition instead. In some cases, this type is now passed down from internal parsing/loading functions which were already returning it. In various other cases, the former default UNSPECIFIED has been used as a catchall for I/O errors; anticipated future refactorings should make these error returns more specific. - Expand the image_error categories to include INVALIDLENGTH, NOSOFTWARE and BADSOFTWARE. The first is largely self-explanatory. The second is generated by the core to indicate failure to find software items in lists. The third is provided for devices to indicate semantic errors in software list entries. - Change the return type of floppy_image_device::identify to a pair so the potential error condition can be passed along to the UI without storing it in a member variable. - Move device_image_interface::message down into snapshot_image_device and change its implementation to use string_format instead of printf. - Correct a typo in the shortname of the generic snapshot device. |
[docs/source/techspecs] | luareference.rst |
[src/devices/bus/a7800] | a78_slot.cpp a78_slot.h |
[src/devices/bus/a800] | a800_slot.cpp a800_slot.h |
[src/devices/bus/acorn/system] | 8k.cpp 8k.h |
[src/devices/bus/adam] | exp.cpp exp.h |
[src/devices/bus/apf] | slot.cpp slot.h |
[src/devices/bus/aquarius] | slot.cpp slot.h |
[src/devices/bus/arcadia] | slot.cpp slot.h |
[src/devices/bus/astrocde] | slot.cpp slot.h |
[src/devices/bus/bbc/1mhzbus] | datacentre.cpp |
[src/devices/bus/bbc/rom] | slot.cpp slot.h |
[src/devices/bus/c64] | exp.cpp exp.h |
[src/devices/bus/cbm2] | exp.cpp exp.h |
[src/devices/bus/cgenie/expansion] | floppy.cpp |
[src/devices/bus/chanf] | slot.cpp slot.h |
[src/devices/bus/coco] | cococart.cpp cococart.h |
[src/devices/bus/coleco/cartridge] | exp.cpp exp.h |
[src/devices/bus/cpc] | cpc_rom.cpp cpc_rom.h |
[src/devices/bus/crvision] | slot.cpp slot.h |
[src/devices/bus/ekara] | slot.cpp slot.h |
[src/devices/bus/electron] | plus1.cpp plus1.h plus2.cpp plus2.h rombox.cpp rombox.h romboxp.cpp romboxp.h sidewndr.cpp sidewndr.h |
[src/devices/bus/electron/cart] | ap5.cpp ap5.h romp144.cpp romp144.h slot.cpp slot.h |
[src/devices/bus/gamate] | slot.cpp slot.h |
[src/devices/bus/gameboy] | camera.cpp gbck003.cpp gbslot.cpp gbslot.h huc1.cpp huc3.cpp liebao.cpp mbc.cpp mbc2.cpp mbc3.cpp mbc6.cpp mbc7.cpp mdslot.cpp mdslot.h mmm01.cpp ntnew.cpp rom.cpp slmulti.cpp slot.cpp slot.h tama5.cpp |
[src/devices/bus/gba] | gba_slot.cpp gba_slot.h |
[src/devices/bus/generic] | slot.cpp slot.h |
[src/devices/bus/intellec4] | insdatastor.cpp prommemory.cpp tapereader.cpp |
[src/devices/bus/intv] | slot.cpp slot.h |
[src/devices/bus/iq151] | iq151.cpp iq151.h |
[src/devices/bus/isa] | omti8621.cpp sc499.cpp sc499.h |
[src/devices/bus/jakks_gamekey] | slot.cpp slot.h |
[src/devices/bus/kc] | kc.cpp kc.h |
[src/devices/bus/m5] | slot.cpp slot.h |
[src/devices/bus/mc10] | mc10_cart.cpp mc10_cart.h pak.cpp pak.h |
[src/devices/bus/megadrive] | md_slot.cpp md_slot.h |
[src/devices/bus/mononcol] | slot.cpp slot.h |
[src/devices/bus/msx/beecard] | beecard.cpp |
[src/devices/bus/msx/cart] | arc.cpp arc.h ascii.cpp ascii.h beepack.cpp beepack.h crossblaim.cpp crossblaim.h disk.cpp dooly.cpp dooly.h easi_speech.cpp easi_speech.h fmpac.cpp fmpac.h fs_sr022.cpp fs_sr022.h halnote.cpp halnote.h hfox.cpp hfox.h holy_quran.cpp holy_quran.h ink.cpp ink.h kanji.cpp kanji.h konami.cpp konami.h korean.cpp korean.h majutsushi.cpp majutsushi.h msx_audio.cpp msx_audio.h msxdos2.cpp nomapper.cpp nomapper.h rtype.cpp rtype.h softcard.cpp softcard.h super_swangi.cpp super_swangi.h superloderunner.cpp superloderunner.h |
[src/devices/bus/msx/slot] | cartridge.cpp cartridge.h |
[src/devices/bus/msx/softcard] | softcard.cpp |
[src/devices/bus/mtx] | exp.cpp exp.h |
[src/devices/bus/nabupc] | adapter.cpp adapter.h |
[src/devices/bus/neogeo] | slot.cpp slot.h |
[src/devices/bus/nes] | aladdin.cpp aladdin.h datach.cpp datach.h karastudio.cpp karastudio.h nes_slot.cpp nes_slot.h sunsoft_dcs.cpp sunsoft_dcs.h |
[src/devices/bus/nubus] | nubus_image.cpp |
[src/devices/bus/odyssey2] | slot.cpp slot.h |
[src/devices/bus/pce] | pce_slot.cpp pce_slot.h |
[src/devices/bus/plus4] | exp.cpp exp.h |
[src/devices/bus/pofo] | ccm.cpp ccm.h |
[src/devices/bus/psx] | memcard.cpp memcard.h |
[src/devices/bus/qbus] | pc11.cpp pc11.h |
[src/devices/bus/ql] | rom.cpp rom.h |
[src/devices/bus/saturn] | sat_slot.cpp sat_slot.h |
[src/devices/bus/scv] | slot.cpp slot.h |
[src/devices/bus/sdk85] | memexp.cpp memexp.h |
[src/devices/bus/sega8] | sega8_slot.cpp sega8_slot.h |
[src/devices/bus/snes] | snes_slot.cpp snes_slot.h |
[src/devices/bus/spectrum] | intf2.cpp intf2.h |
[src/devices/bus/ti99/gromport] | cartridges.cpp cartridges.h |
[src/devices/bus/ti99/peb] | ti_rs232.cpp ti_rs232.h tipi.cpp tipi.h |
[src/devices/bus/ti99x] | 990_hd.cpp 990_hd.h 990_tap.cpp |
[src/devices/bus/vboy] | rom.cpp rom.h slot.cpp slot.h |
[src/devices/bus/vc4000] | slot.cpp slot.h |
[src/devices/bus/vcs] | vcs_slot.cpp vcs_slot.h |
[src/devices/bus/vectrex] | slot.cpp slot.h |
[src/devices/bus/vic10] | exp.cpp exp.h |
[src/devices/bus/vic20] | exp.cpp exp.h |
[src/devices/bus/vidbrain] | exp.cpp exp.h |
[src/devices/bus/vsmile] | vsmile_slot.cpp vsmile_slot.h |
[src/devices/bus/wswan] | slot.cpp slot.h |
[src/devices/bus/z88] | z88.cpp z88.h |
[src/devices/imagedev] | avivideo.cpp avivideo.h bitbngr.cpp bitbngr.h cassette.cpp cassette.h chd_cd.cpp chd_cd.h diablo.cpp diablo.h flopdrv.cpp flopdrv.h floppy.cpp floppy.h harddriv.cpp harddriv.h mfmhd.cpp mfmhd.h microdrv.cpp microdrv.h midiin.cpp midiin.h midiout.cpp midiout.h picture.cpp picture.h printer.cpp printer.h snapquik.cpp snapquik.h wafadrive.cpp wafadrive.h |
[src/devices/machine] | ds6417.cpp ds6417.h hp_dc100_tape.cpp hp_dc100_tape.h i7220.cpp i7220.h pccard_sram.cpp pccard_sram.h smartmed.cpp smartmed.h |
[src/emu] | diimage.cpp diimage.h image.cpp softlist_dev.cpp softlist_dev.h |
[src/emu/debug] | debugcmd.cpp |
[src/frontend/mame] | luaengine.cpp luaengine.ipp |
[src/frontend/mame/ui] | floppycntrl.cpp imgcntrl.cpp |
[src/mame/acorn] | atom.cpp atom.h electron.h electron_m.cpp z88_impexp.cpp z88_impexp.h |
[src/mame/altos] | altos5.cpp |
[src/mame/amstrad] | amstrad_m.cpp pda600.cpp |
[src/mame/apollo] | apollo.h apollo_m.cpp |
[src/mame/apple] | apple1.cpp |
[src/mame/appliedconcepts] | ggm.cpp |
[src/mame/atari] | jaguar.cpp jaguar.h lynx.cpp lynx.h lynx_m.cpp |
[src/mame/ausnz] | aussiebyte.cpp binbug.cpp d6800.cpp eti660.cpp mbee.h mbee_m.cpp pegasus.cpp pipbug.cpp super80_m.cpp |
[src/mame/bandai] | design_master.cpp rx78.cpp sv8000.cpp |
[src/mame/booth] | apexc_m.cpp apexc_m.h |
[src/mame/canon] | x07.cpp |
[src/mame/cantab] | jupace.cpp |
[src/mame/casio] | casio_rompack.cpp casloopy.cpp pv1000.cpp pv2000.cpp |
[src/mame/chess] | ave_arb.cpp |
[src/mame/coleco] | coleco.cpp |
[src/mame/commodore] | cbm2.cpp cbm_snqk.cpp cbm_snqk.h vic20.cpp |
[src/mame/comx] | comx35.cpp |
[src/mame/cybiko] | cybiko_m.cpp |
[src/mame/ddr] | jtc.cpp kc_m.cpp sprachmg.cpp |
[src/mame/dec] | pdp1.cpp pdp1.h |
[src/mame/entex] | sag.cpp |
[src/mame/epson] | hx20.cpp qx10.cpp |
[src/mame/exidy] | sorcerer_m.cpp |
[src/mame/force] | force68k.cpp |
[src/mame/fujitsu] | fmt_icmem.cpp fmt_icmem.h |
[src/mame/funtech] | supracan.cpp |
[src/mame/handheld] | chessking.cpp gameking.cpp hh_tms1k.cpp lk3000.cpp |
[src/mame/homebrew] | phunsy.cpp ravens.cpp uzebox.cpp z80clock.cpp |
[src/mame/homelab] | homelab.cpp |
[src/mame/hp] | hp48_port.cpp hp48_port.h hp80_optrom.cpp hp80_optrom.h hp9825_optrom.cpp hp9825_optrom.h hp9845_optrom.cpp hp9845_optrom.h hp_ipc_optrom.cpp hp_ipc_optrom.h |
[src/mame/igs] | pgm2_memcard.cpp pgm2_memcard.h |
[src/mame/intel] | imm6_76.cpp imm6_76.h rex6000.cpp |
[src/mame/interton] | vc4000.cpp |
[src/mame/kaypro] | kaypro_m.cpp |
[src/mame/leapfrog] | leapfrog_iquest.cpp leapfrog_leappad.cpp leapfrog_leapster_explorer.cpp leapster.cpp |
[src/mame/luxor] | abc80.cpp abc80x.cpp |
[src/mame/matsushita] | jr100.cpp |
[src/mame/mchester] | ssem.cpp |
[src/mame/memotech] | mtx_m.cpp |
[src/mame/microkey] | primo_m.cpp |
[src/mame/miltonbradley] | microvsn.cpp |
[src/mame/misc] | mtu130.cpp |
[src/mame/mit] | tx0.cpp |
[src/mame/mits] | altair.cpp |
[src/mame/motorola] | m68705prg.cpp mekd2.cpp |
[src/mame/nascom] | nascom1.cpp |
[src/mame/neogeo] | ng_memcard.cpp ng_memcard.h |
[src/mame/netronics] | elf.cpp |
[src/mame/nichibutsu] | myvision.cpp |
[src/mame/nintendo] | n64.cpp nes_vt09.cpp pokemini.cpp |
[src/mame/pc] | ibmpcjr.cpp |
[src/mame/pce] | tourvis.cpp |
[src/mame/pitronics] | beta.cpp |
[src/mame/poly88] | poly88_m.cpp |
[src/mame/psion] | psion_pack.cpp psion_pack.h psion_ssd.cpp psion_ssd.h |
[src/mame/rca] | studio2.cpp vip.cpp |
[src/mame/robotron] | z1013.cpp |
[src/mame/rockwell] | aim65.cpp aim65.h |
[src/mame/roland] | roland_cm32p.cpp roland_r8.cpp roland_tnsc1.cpp |
[src/mame/sega] | mdconsole.cpp megatech.cpp sega_beena.cpp stv.cpp stv.h svmu.cpp |
[src/mame/sfrj] | galaxy.cpp |
[src/mame/sgi] | iris3130.cpp |
[src/mame/shared] | z80bin.cpp z80bin.h |
[src/mame/sharp] | pce220_ser.cpp pce220_ser.h wizard.cpp x68k_hdc.cpp x68k_hdc.h |
[src/mame/sinclair] | spec_snqk.cpp timex.cpp |
[src/mame/skeleton] | c2color.cpp cd2650.cpp cosmicos.cpp cp1.cpp digiblast.cpp dmv.cpp easy_karaoke.cpp i7000.cpp pockchal.cpp squale.cpp |
[src/mame/snk] | ngp.cpp |
[src/mame/sony] | pockstat.cpp psx.cpp psxcd.cpp psxcd.h smc777.cpp |
[src/mame/svi] | svi318.cpp |
[src/mame/svision] | svision.cpp |
[src/mame/ta] | alphatro.cpp |
[src/mame/tangerine] | microtan.h microtan_m.cpp |
[src/mame/tatung] | einstein.cpp |
[src/mame/telercas] | tmc1800.cpp |
[src/mame/thomson] | thomson_m.cpp |
[src/mame/ti] | avigo.cpp cc40.cpp snspell.cpp snspellc.cpp ti74.cpp ti85_m.cpp tm990189.cpp |
[src/mame/tiger] | gamecom.h gamecom_m.cpp k28m2.cpp |
[src/mame/trainer] | instruct.cpp mk14.cpp |
[src/mame/trs] | coco_vhd.cpp coco_vhd.h trs80_m.cpp trs80m3_m.cpp |
[src/mame/tvgames] | elan_eu3a05.cpp generalplus_gpl16250_mobigo.cpp generalplus_gpl16250_nand.cpp generalplus_gpl16250_spi.cpp generalplus_gpl32612.cpp hyperscan_card.cpp hyperscan_card.h magiceyes_pollux_vr3520f.cpp pubint_storyreader.cpp spg110.cpp spg29x.cpp spg2xx_ican.cpp spg2xx_smarttv.cpp spg2xx_telestory.cpp spg2xx_tvgogo.cpp spg2xx_vii.cpp |
[src/mame/usp] | patinho_feio.cpp |
[src/mame/ussr] | lviv.h lviv_m.cpp |
[src/mame/videoton] | tvc.cpp |
[src/mame/virtual] | vgmplay.cpp |
[src/mame/vtech] | clickstart.cpp geniusiq.cpp innotv_innotabmax.cpp iqunlim.cpp pc2000.cpp storio.cpp vtech1.cpp vtech2_m.cpp vtech_innotab.cpp |
[src/mame/xerox] | xerox820.cpp |
[src/osd/modules/debugger] | debugimgui.cpp |
[src/osd/modules/debugger/qt] | mainwindow.cpp |
https://github.com/mamedev/mame/commit/6f7e4141ea14acaaf9cb973c66788fabb3457023 |
Previous | 199869 Revisions | Next |