Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
snes9x2010
Commits
3ac9c76b
Commit
3ac9c76b
authored
Jul 19, 2016
by
Libretro-Admin
Browse files
Take out some __LIBRETRO__ ifdefs - repo solely dedicated to
libretro
parent
de91c580
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/memmap.c
View file @
3ac9c76b
...
...
@@ -1756,8 +1756,6 @@ void map_WriteProtectROM (void)
MAP_WRAM(); \
map_WriteProtectROM();
#ifdef __LIBRETRO__
static
const
char
*
KartContents
(
uint8
ROMType
)
{
static
char
str
[
64
];
...
...
@@ -1816,8 +1814,6 @@ static const char * KartContents (uint8 ROMType)
return
(
str
);
}
#endif
static
void
Map_NoMAD1LoROMMap
(
void
)
{
printf
(
"Map_NoMAD1LoROMMap
\n
"
);
...
...
@@ -3423,15 +3419,9 @@ void InitROM (void)
sprintf
(
Memory
.
ROMName
,
"%s"
,
Safe
(
Memory
.
ROMName
));
sprintf
(
Memory
.
ROMId
,
"%s"
,
Safe
(
Memory
.
ROMId
));
#ifndef __LIBRETRO__
sprintf
(
String
,
"
\"
%s
\"
[%s] ID:%s"
,
displayName
,
isChecksumOK
?
"checksum ok"
:
((
Multi
.
cartType
==
4
)
?
"no checksum"
:
"bad checksum"
),
Memory
.
ROMId
);
#else
sprintf
(
String
,
"
\"
%s
\"
[%s] %s, %s, %s, %s, SRAM:%s, ID:%s, CRC32:%08X"
,
displayName
,
isChecksumOK
?
"checksum ok"
:
((
Multi
.
cartType
==
4
)
?
"no checksum"
:
"bad checksum"
),
(
Memory
.
HiROM
?
((
Memory
.
ExtendedFormat
!=
NOPE
)
?
"ExHiROM"
:
"HiROM"
)
:
"LoROM"
),
Size
(),
KartContents
(
Memory
.
ROMType
),
Settings
.
PAL
?
"PAL"
:
"NTSC"
,
StaticRAMSize
(),
Memory
.
ROMId
,
Memory
.
ROMCRC32
);
#endif
S9xMessage
(
S9X_INFO
,
S9X_ROM_INFO
,
String
);
Settings
.
ForceLoROM
=
FALSE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment