mirror of
https://github.com/libretro/RetroArch
synced 2025-01-17 01:16:25 +00:00
Add runloop_defines.h
This commit is contained in:
parent
269198c1f7
commit
ccdd90bdd1
@ -29,7 +29,6 @@
|
||||
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#include "widgets/menu_dialog.h"
|
||||
#include "widgets/menu_input_dialog.h"
|
||||
#include "widgets/menu_osk.h"
|
||||
|
||||
@ -39,7 +38,7 @@
|
||||
#include "menu_navigation.h"
|
||||
|
||||
#include "../configuration.h"
|
||||
#include "../runloop.h"
|
||||
#include "../runloop_defines.h"
|
||||
|
||||
static unsigned char menu_keyboard_key_state[RETROK_LAST] = {0};
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
|
||||
#define runloop_cmd_press(current_input, id) (BIT64_GET(current_input, id))
|
||||
#include "runloop_defines.h"
|
||||
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
|
22
runloop_defines.h
Normal file
22
runloop_defines.h
Normal file
@ -0,0 +1,22 @@
|
||||
/* RetroArch - A frontend for libretro.
|
||||
* Copyright (C) 2011-2016 - Daniel De Matteis
|
||||
* Copyright (C) 2016 - 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
|
Loading…
Reference in New Issue
Block a user