mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
Get rid of some useless casts pt. 2
This commit is contained in:
parent
2003d2ec12
commit
db304a7e2f
@ -273,7 +273,7 @@ static int action_ok_shader_apply_changes(const char *path,
|
|||||||
static int action_ok_cheat_apply_changes(const char *path,
|
static int action_ok_cheat_apply_changes(const char *path,
|
||||||
const char *label, unsigned type, size_t idx)
|
const char *label, unsigned type, size_t idx)
|
||||||
{
|
{
|
||||||
cheat_manager_t *cheat = (cheat_manager_t*)driver.menu->cheats;
|
cheat_manager_t *cheat = driver.menu->cheats;
|
||||||
|
|
||||||
if (!cheat)
|
if (!cheat)
|
||||||
return -1;
|
return -1;
|
||||||
@ -1164,7 +1164,7 @@ static int action_start_shader_num_passes(unsigned type, const char *label,
|
|||||||
static int action_start_cheat_num_passes(unsigned type, const char *label,
|
static int action_start_cheat_num_passes(unsigned type, const char *label,
|
||||||
unsigned action)
|
unsigned action)
|
||||||
{
|
{
|
||||||
cheat_manager_t *cheat = (cheat_manager_t*)driver.menu->cheats;
|
cheat_manager_t *cheat = driver.menu->cheats;
|
||||||
|
|
||||||
if (!cheat)
|
if (!cheat)
|
||||||
return -1;
|
return -1;
|
||||||
@ -1182,7 +1182,7 @@ static int action_toggle_cheat_num_passes(unsigned type, const char *label,
|
|||||||
unsigned action)
|
unsigned action)
|
||||||
{
|
{
|
||||||
unsigned new_size = 0;
|
unsigned new_size = 0;
|
||||||
cheat_manager_t *cheat = (cheat_manager_t*)driver.menu->cheats;
|
cheat_manager_t *cheat = driver.menu->cheats;
|
||||||
|
|
||||||
if (!cheat)
|
if (!cheat)
|
||||||
return -1;
|
return -1;
|
||||||
@ -1862,7 +1862,7 @@ static int deferred_push_core_cheat_options(void *data, void *userdata,
|
|||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
file_list_t *list = (file_list_t*)data;
|
file_list_t *list = (file_list_t*)data;
|
||||||
cheat_manager_t *cheat = (cheat_manager_t*)driver.menu->cheats;
|
cheat_manager_t *cheat = driver.menu->cheats;
|
||||||
|
|
||||||
(void)userdata;
|
(void)userdata;
|
||||||
(void)type;
|
(void)type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user