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
jaxe
Commits
44ee02cd
Unverified
Commit
44ee02cd
authored
Jan 18, 2022
by
Kurtis Dinelle
Committed by
GitHub
Jan 18, 2022
Browse files
Merge pull request #7 from phcoder/unused
LIBRETRO: Silence warning about unused parameters
parents
f219caec
d2cfa23d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libretro.c
View file @
44ee02cd
...
...
@@ -92,6 +92,8 @@ static void fallback_log(enum retro_log_level level,
const
char
*
fmt
,
...)
{
va_list
args
;
(
void
)
level
;
va_start
(
args
,
fmt
);
vfprintf
(
stderr
,
fmt
,
args
);
va_end
(
args
);
...
...
@@ -602,6 +604,18 @@ void *retro_get_memory_data(unsigned id)
/* Stubs */
unsigned
int
retro_api_version
(
void
)
{
return
RETRO_API_VERSION
;
}
void
retro_cheat_reset
(
void
)
{
}
void
retro_cheat_set
(
unsigned
idx
,
bool
enabled
,
const
char
*
code
)
{
}
bool
retro_load_game_special
(
unsigned
game_type
,
const
struct
retro_game_info
*
info
,
size_t
num_info
)
{
return
false
;
}
void
retro_set_controller_port_device
(
unsigned
port
,
unsigned
device
)
{
}
void
retro_cheat_set
(
unsigned
idx
,
bool
enabled
,
const
char
*
code
)
{
(
void
)
idx
;
(
void
)
enabled
;
(
void
)
code
;
}
bool
retro_load_game_special
(
unsigned
game_type
,
const
struct
retro_game_info
*
info
,
size_t
num_info
)
{
(
void
)
game_type
;
(
void
)
info
;
(
void
)
num_info
;
return
false
;
}
void
retro_set_controller_port_device
(
unsigned
port
,
unsigned
device
)
{
(
void
)
port
;
(
void
)
device
;
}
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