mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-29 23:42:14 +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,
|
||||
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)
|
||||
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,
|
||||
unsigned action)
|
||||
{
|
||||
cheat_manager_t *cheat = (cheat_manager_t*)driver.menu->cheats;
|
||||
cheat_manager_t *cheat = driver.menu->cheats;
|
||||
|
||||
if (!cheat)
|
||||
return -1;
|
||||
@ -1182,7 +1182,7 @@ static int action_toggle_cheat_num_passes(unsigned type, const char *label,
|
||||
unsigned action)
|
||||
{
|
||||
unsigned new_size = 0;
|
||||
cheat_manager_t *cheat = (cheat_manager_t*)driver.menu->cheats;
|
||||
cheat_manager_t *cheat = driver.menu->cheats;
|
||||
|
||||
if (!cheat)
|
||||
return -1;
|
||||
@ -1862,7 +1862,7 @@ static int deferred_push_core_cheat_options(void *data, void *userdata,
|
||||
{
|
||||
unsigned i;
|
||||
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)type;
|
||||
|
Loading…
x
Reference in New Issue
Block a user