diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2021-07-23 20:41:04 +1000 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2021-07-23 20:41:04 +1000 |
commit | 9ab0a335b95d000ff80956258f98e0326a0c5dd2 (patch) | |
tree | 519cc97abcbf9b9128d2510f16bf0a426c3156c6 | |
parent | 986bbcb7cd82253c9466ad3c5aa11f73a429a7c4 (diff) |
tx0: added swlist interface in case anyone can find suitable software.
-rw-r--r-- | src/mame/drivers/tx0.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mame/drivers/tx0.cpp b/src/mame/drivers/tx0.cpp index 8a8d5a21973..d229dfbba7e 100644 --- a/src/mame/drivers/tx0.cpp +++ b/src/mame/drivers/tx0.cpp @@ -11,11 +11,16 @@ #include "video/crt.h" #include "screen.h" +#include "softlist_dev.h" /* - driver init function + +TODO: +- due to no known software, it is unknown if this system is capable of running anything. + */ + void tx0_state::init_tx0() { static const unsigned char fontdata6x8[tx0_fontdata_size] = @@ -372,6 +377,8 @@ public: virtual image_init_result call_load() override; virtual void call_unload() override; + virtual const char *image_interface() const noexcept override { return "tx0_ptp"; } + virtual const software_list_loader &get_software_list_loader() const override { return image_software_list_loader::instance(); } protected: // device-level overrides @@ -1577,6 +1584,8 @@ void tx0_state::tx0_64kw(machine_config &config) GFXDECODE(config, m_gfxdecode, m_palette, gfx_tx0); PALETTE(config, m_palette, FUNC(tx0_state::tx0_palette), total_colors_needed + sizeof(tx0_pens), total_colors_needed); + + SOFTWARE_LIST(config, "ptp_list").set_original("tx0_ptp"); } void tx0_state::tx0_8kw(machine_config &config) |