mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05:38 +00:00
Merge pull request #507 from c0d3h4x0r/master
Fixes for issues #503 and #505.
This commit is contained in:
commit
30a9fb20cd
|
@ -61,7 +61,8 @@ namespace PlatformIds
|
|||
"psvita",
|
||||
"psp", // playstation portable
|
||||
"snes", // super nintendo entertainment system
|
||||
"pcengine", // turbografx-16/pcengine
|
||||
"pcengine", // (aka turbografx-16) HuCards only
|
||||
"pcenginecd", // (aka turbografx-16) CD-ROMs only
|
||||
"wonderswan",
|
||||
"wonderswancolor",
|
||||
"zxspectrum",
|
||||
|
|
|
@ -62,7 +62,8 @@ namespace PlatformIds
|
|||
PLAYSTATION_VITA,
|
||||
PLAYSTATION_PORTABLE,
|
||||
SUPER_NINTENDO,
|
||||
TURBOGRAFX_16, // (also PC Engine)
|
||||
TURBOGRAFX_16, // (aka PC Engine) HuCards only
|
||||
TURBOGRAFX_CD, // (aka PC Engine) CD-ROMs only
|
||||
WONDERSWAN,
|
||||
WONDERSWAN_COLOR,
|
||||
ZX_SPECTRUM,
|
||||
|
|
|
@ -148,7 +148,7 @@ GuiMetaDataEd::GuiMetaDataEd(Window* window, MetaDataList* md, const std::vector
|
|||
if(mDeleteFunc)
|
||||
{
|
||||
auto deleteFileAndSelf = [&] { mDeleteFunc(); delete this; };
|
||||
auto deleteBtnFunc = [this, deleteFileAndSelf] { mWindow->pushGui(new GuiMsgBox(mWindow, "THIS WILL DELETE A FILE!\nARE YOU SURE?", "YES", deleteFileAndSelf, "NO", nullptr)); };
|
||||
auto deleteBtnFunc = [this, deleteFileAndSelf] { mWindow->pushGui(new GuiMsgBox(mWindow, "THIS WILL DELETE THE ACTUAL GAME FILE(S)!\nARE YOU SURE?", "YES", deleteFileAndSelf, "NO", nullptr)); };
|
||||
buttons.push_back(std::make_shared<ButtonComponent>(mWindow, "DELETE", "delete", deleteBtnFunc));
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,8 @@ const std::map<PlatformId, const char*> gamesdb_platformid_map {
|
|||
{ PLAYSTATION_VITA, "Sony Playstation Vita" },
|
||||
{ PLAYSTATION_PORTABLE, "Sony Playstation Portable" },
|
||||
{ SUPER_NINTENDO, "Super Nintendo (SNES)" },
|
||||
{ TURBOGRAFX_16, "TurboGrafx 16" },
|
||||
{ TURBOGRAFX_16, "TurboGrafx 16" }, // HuCards only
|
||||
{ TURBOGRAFX_CD, "TurboGrafx CD" }, // CD-ROMs only
|
||||
{ WONDERSWAN, "WonderSwan" },
|
||||
{ WONDERSWAN_COLOR, "WonderSwan Color" },
|
||||
{ ZX_SPECTRUM, "Sinclair ZX Spectrum" },
|
||||
|
|
Loading…
Reference in a new issue