mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Cleanup some unused variables
This commit is contained in:
parent
4afc100924
commit
56414034a5
2 changed files with 0 additions and 2 deletions
|
@ -612,7 +612,6 @@ bool audio_driver_flush(const int16_t *data, size_t samples)
|
|||
struct rarch_dsp_data dsp_data = {0};
|
||||
runloop_t *runloop = rarch_main_get_ptr();
|
||||
driver_t *driver = driver_get_ptr();
|
||||
global_t *global = global_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (driver->recording_data)
|
||||
|
|
|
@ -409,7 +409,6 @@ static void event_set_volume(float gain)
|
|||
{
|
||||
char msg[PATH_MAX_LENGTH];
|
||||
settings_t *settings = config_get_ptr();
|
||||
global_t *global = global_get_ptr();
|
||||
|
||||
settings->audio.volume += gain;
|
||||
settings->audio.volume = max(settings->audio.volume, -80.0f);
|
||||
|
|
Loading…
Add table
Reference in a new issue