This commit is contained in:
Twinaphex 2016-09-29 05:49:10 +02:00
parent 89505fa011
commit 3900d433f8
2 changed files with 1 additions and 2 deletions

View File

@ -2902,7 +2902,6 @@ bool config_save_file(const char *path)
struct config_path_setting *path_settings = NULL;
config_file_t *conf = config_file_new(path);
settings_t *settings = config_get_ptr();
global_t *global = global_get_ptr();
if (!conf)
conf = config_file_new(NULL);

View File

@ -339,6 +339,7 @@ void NETRETROPAD_CORE_PREFIX(retro_run)(void)
int i;
unsigned rle;
unsigned input_state = 0;
uint16_t *pixel = frame_buf + 49 * 320 + 32;
/* Update input states and send them if needed */
retropad_update_input();
@ -355,7 +356,6 @@ void NETRETROPAD_CORE_PREFIX(retro_run)(void)
{
unsigned runs;
char paint = 0;
uint16_t *pixel = frame_buf + 49 * 320 + 32;
for (runs = retropad_buttons[rle++]; runs > 0; runs--)
{