mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-23 16:59:49 +00:00
Merge pull request #777 from housello/master
Shared memory card support with libtetro method
This commit is contained in:
commit
573de0a46a
10
libretro.cpp
10
libretro.cpp
@ -3621,12 +3621,12 @@ static void check_variables(bool startup)
|
||||
{
|
||||
if (!strcmp(var.value, "enabled"))
|
||||
{
|
||||
if(use_mednafen_memcard0_method)
|
||||
// if(use_mednafen_memcard0_method)
|
||||
shared_memorycards = true;
|
||||
else
|
||||
MDFND_DispMessage(3, RETRO_LOG_WARN,
|
||||
RETRO_MESSAGE_TARGET_ALL, RETRO_MESSAGE_TYPE_NOTIFICATION,
|
||||
"Memory Card 0 Method not set to Mednafen; shared memory cards could not be enabled.");
|
||||
// else
|
||||
// MDFND_DispMessage(3, RETRO_LOG_WARN,
|
||||
// RETRO_MESSAGE_TARGET_ALL, RETRO_MESSAGE_TYPE_NOTIFICATION,
|
||||
// "Memory Card 0 Method not set to Mednafen; shared memory cards could not be enabled.");
|
||||
}
|
||||
else if (!strcmp(var.value, "disabled"))
|
||||
{
|
||||
|
@ -1032,7 +1032,7 @@ struct retro_core_option_definition option_defs_us[] = {
|
||||
{
|
||||
BEETLE_OPT(shared_memory_cards),
|
||||
"Shared Memory Cards (Restart)",
|
||||
"When enabled, all games will save to and load from the same memory card files. When disabled, separate memory card files will be generated for each item of loaded content. Note: 'Memory Card 0 Method' must be set to 'Mednafen' for shared memory cards to take effect.",
|
||||
"When enabled, all games will save to and load from the same memory card files. When disabled, separate memory card files will be generated for each item of loaded content. Note: if 'Memory Card 0 Method' is set to 'Libretro', only the right memory card will be affected.",
|
||||
{
|
||||
{ "disabled", NULL },
|
||||
{ "enabled", NULL },
|
||||
|
Loading…
Reference in New Issue
Block a user