selmenu: fix wrongly placed messagebox

This commit is contained in:
hap 2021-10-29 14:33:45 +02:00
parent 4ea2a2d528
commit e3d8cb0883
8 changed files with 12 additions and 12 deletions

View File

@ -7,7 +7,7 @@
Memory-mapped, uses IRQ3 and IRQ7, no DMA.
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
Visit https://mamedev.org for licensing and usage restrictions.
**********************************************************************/

View File

@ -5,7 +5,7 @@
Poisk-1 sound card
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
Visit https://mamedev.org for licensing and usage restrictions.
**********************************************************************/

View File

@ -27,7 +27,7 @@ levels of brightness by strobing elements longer.
TODO:
- multiple brightness levels doesn't work for SVGs
- SVG screens and rendlay digit elements don't support multiple brightness levels
*/

View File

@ -749,12 +749,13 @@ void menu_select_launch::custom_render(void *selectedref, float top, float botto
else
{
std::string copyright(emulator_info::get_copyright());
size_t found = copyright.find('\n');
size_t found1 = copyright.find_first_of('\n');
size_t found2 = copyright.find_last_of('\n');
tempbuf[0].clear();
tempbuf[1] = string_format(_("%1$s %2$s"), emulator_info::get_appname(), build_version);
tempbuf[2] = copyright.substr(0, found);
tempbuf[3] = copyright.substr(found + 1);
tempbuf[0] = string_format(_("%1$s %2$s"), emulator_info::get_appname(), build_version);
tempbuf[1] = copyright.substr(0, found1);
tempbuf[2] = copyright.substr(found1 + 1, found2 - (found1 + 1));
tempbuf[3] = copyright.substr(found2 + 1);
}
// draw the footer

View File

@ -112,7 +112,6 @@ Note: To initiate booting from the floppy drive hold down the LOAD key for 3-5 s
The software for the Fanuc System P-Model G is extremely rare now and very difficult to find.
If you do have any of these wanted software titles or any manuals listed below and want to help
please contact me (Guru) via http://mamedev.org/contact.html
The following is a complete list of manuals available for the first edition of the
Fanuc System P-Model G released in 1983. The info is taken from a glossy sales brochure

View File

@ -13,7 +13,7 @@
#define APPNAME "MAME"
#define APPNAME_LOWER "mame"
#define CONFIGNAME "mame"
#define COPYRIGHT "Copyright Nicola Salmoria\nand the MAME team\nhttp://mamedev.org"
#define COPYRIGHT "Copyright Nicola Salmoria\nand the MAME team\nhttps://mamedev.org"
#define COPYRIGHT_INFO "Copyright Nicola Salmoria and the MAME team"
const char * emulator_info::get_appname() { return APPNAME;}

View File

@ -13,7 +13,7 @@
#define APPNAME "MESS"
#define APPNAME_LOWER "mess"
#define CONFIGNAME "mess"
#define COPYRIGHT "Copyright Nicola Salmoria\nand the MAME team\nhttp://mamedev.org"
#define COPYRIGHT "Copyright Nicola Salmoria\nand the MAME team\nhttps://mamedev.org"
#define COPYRIGHT_INFO "Copyright Nicola Salmoria and the MAME team"
const char * emulator_info::get_appname() { return APPNAME;}

View File

@ -3,7 +3,7 @@
// testkeys.cpp - A small utility to analyze SDL keycodes
//
// Copyright (c) 1996-2021, Nicola Salmoria and the MAME Team.
// Visit http://mamedev.org for licensing and usage restrictions.
// Visit https://mamedev.org for licensing and usage restrictions.
//
// SDLMAME by Olivier Galibert and R. Belmont
// testkeys by couriersud