This commit is contained in:
twinaphex 2017-05-13 18:20:14 +02:00
parent 72fe4a1e3c
commit d87e1c57d6
4 changed files with 3 additions and 28 deletions

View File

@ -35,7 +35,7 @@
#include "menu_navigation.h"
#include "../configuration.h"
#include "../runloop_defines.h"
#include "../retroarch.h"
#include "../tasks/tasks_internal.h"
static unsigned char menu_keyboard_key_state[RETROK_LAST] = {0};

View File

@ -1330,8 +1330,6 @@ bool rarch_ctl(enum rarch_ctl_state state, void *data)
case RARCH_CTL_UNSET_IPS_PREF:
rarch_ips_pref = false;
break;
case RARCH_CTL_IS_PLAIN_CORE:
return (current_core_type == CORE_TYPE_PLAIN);
case RARCH_CTL_IS_DUMMY_CORE:
return (current_core_type == CORE_TYPE_DUMMY);
case RARCH_CTL_USERNAME_SET:

View File

@ -26,7 +26,8 @@
#include "core_type.h"
#include "core.h"
#include "runloop_defines.h"
#define runloop_cmd_press(current_input, id) (BIT64_GET(current_input, id))
RETRO_BEGIN_DECLS
@ -42,8 +43,6 @@ enum rarch_ctl_state
RARCH_CTL_IS_INITED,
RARCH_CTL_IS_PLAIN_CORE,
RARCH_CTL_IS_DUMMY_CORE,
RARCH_CTL_PREINIT,

View File

@ -1,22 +0,0 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2017 - Daniel De Matteis
* Copyright (C) 2016-2017 - Brad Parker
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __RETROARCH_RUNLOOP_DEFINES_H
#define __RETROARCH_RUNLOOP_DEFINES_H
#define runloop_cmd_press(current_input, id) (BIT64_GET(current_input, id))
#endif