mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 21:35:25 +00:00
Change core_set_poll_type
This commit is contained in:
parent
195b016293
commit
60f77cd903
2
core.h
2
core.h
@ -167,7 +167,7 @@ bool core_set_netplay_callbacks(void);
|
||||
bool core_unset_netplay_callbacks(void);
|
||||
#endif
|
||||
|
||||
bool core_set_poll_type(unsigned *type);
|
||||
bool core_set_poll_type(unsigned type);
|
||||
|
||||
/* Runs the core for one frame. */
|
||||
bool core_run(void);
|
||||
|
@ -5717,7 +5717,7 @@ void general_write_handler(rarch_setting_t *setting)
|
||||
}
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_POLL_TYPE_BEHAVIOR:
|
||||
core_set_poll_type((unsigned int*)setting->value.target.integer);
|
||||
core_set_poll_type(*setting->value.target.integer);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_VIDEO_SCALE_INTEGER:
|
||||
{
|
||||
|
@ -22159,9 +22159,9 @@ bool core_api_version(retro_ctx_api_info_t *api)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool core_set_poll_type(unsigned *type)
|
||||
bool core_set_poll_type(unsigned type)
|
||||
{
|
||||
current_core.poll_type = *type;
|
||||
current_core.poll_type = type;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user