mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
Style nits.
This commit is contained in:
parent
559fc5b67f
commit
2721ccb52a
@ -19,7 +19,7 @@
|
|||||||
#ifndef CONFIG_FILE_MACROS_H__
|
#ifndef CONFIG_FILE_MACROS_H__
|
||||||
#define CONFIG_FILE_MACROS_H__
|
#define CONFIG_FILE_MACROS_H__
|
||||||
|
|
||||||
/* Macros to ease config getting. */
|
// Macros to ease config getting.
|
||||||
|
|
||||||
#define CONFIG_GET_BOOL_BASE(conf, base, var, key) do { \
|
#define CONFIG_GET_BOOL_BASE(conf, base, var, key) do { \
|
||||||
bool tmp; \
|
bool tmp; \
|
||||||
|
@ -24,22 +24,22 @@ const char *ssnes_console_get_rom_ext(void)
|
|||||||
{
|
{
|
||||||
const char *id = snes_library_id();
|
const char *id = snes_library_id();
|
||||||
|
|
||||||
/* SNES9x / bSNES */
|
// SNES9x / bSNES
|
||||||
if (strstr(id, "SNES"))
|
if (strstr(id, "SNES"))
|
||||||
return "smc|fig|sfc|gd3|gd7|dx2|bsx|swc|zip|SMC|FIG|SFC|BSX|GD3|GD7|DX2|SWC|ZIP";
|
return "smc|fig|sfc|gd3|gd7|dx2|bsx|swc|zip|SMC|FIG|SFC|BSX|GD3|GD7|DX2|SWC|ZIP";
|
||||||
/* FCEU Next */
|
// FCEU Next
|
||||||
else if (strstr(id, "FCEU"))
|
else if (strstr(id, "FCEU"))
|
||||||
return "fds|FDS|zip|ZIP|nes|NES|unif|UNIF";
|
return "fds|FDS|zip|ZIP|nes|NES|unif|UNIF";
|
||||||
/* VBA Next / Meteor */
|
// VBA Next / Meteor
|
||||||
else if (strstr(id, "VBA") || strstr(id, "Meteor"))
|
else if (strstr(id, "VBA") || strstr(id, "Meteor"))
|
||||||
return "gb|gbc|gba|GBA|GB|GBC|zip|ZIP";
|
return "gb|gbc|gba|GBA|GB|GBC|zip|ZIP";
|
||||||
/* Gambatte */
|
// Gambatte
|
||||||
else if (strstr(id, "gambatte"))
|
else if (strstr(id, "gambatte"))
|
||||||
return "gb|gbc|GB|GBC|zip|ZIP";
|
return "gb|gbc|GB|GBC|zip|ZIP";
|
||||||
/* FBA Next */
|
// FBA Next
|
||||||
else if (strstr(id, "FBA"))
|
else if (strstr(id, "FBA"))
|
||||||
return "zip|ZIP";
|
return "zip|ZIP";
|
||||||
/* Genesis Plus GX/Next */
|
// Genesis Plus GX/Next
|
||||||
else if (strstr(id, "Genesis Plus GX"))
|
else if (strstr(id, "Genesis Plus GX"))
|
||||||
return "md|smd|bin|gen|zip|MD|SMD|bin|GEN|ZIP|sms|SMS|gg|GG|sg|SG";
|
return "md|smd|bin|gen|zip|MD|SMD|bin|GEN|ZIP|sms|SMS|gg|GG|sg|SG";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user