mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-30 08:02:22 +00:00
change some logs around
detect menu key from any "controller"
This commit is contained in:
parent
83878b05e7
commit
6778267016
@ -142,10 +142,7 @@ void input_autodetect_setup (void *data, char *msg, size_t sizeof_msg, unsigned
|
||||
}
|
||||
}
|
||||
|
||||
if (port == 0)
|
||||
{
|
||||
keycode_lut[AKEYCODE_MENU] |= ((RARCH_RMENU_TOGGLE + 1) << shift);
|
||||
}
|
||||
keycode_lut[AKEYCODE_MENU] |= ((RARCH_RMENU_TOGGLE + 1) << shift);
|
||||
|
||||
if (g_settings.input.autodetect_enable)
|
||||
{
|
||||
|
11
gfx/gl.c
11
gfx/gl.c
@ -1257,10 +1257,10 @@ static void gl_pbo_async_readback(void *data)
|
||||
static inline void gl_draw_rgui(void *data)
|
||||
{
|
||||
static const GLfloat white_color_rgui[16] = {
|
||||
1.0f, 1.0f, 1.0f, 0.5f,
|
||||
1.0f, 1.0f, 1.0f, 0.5f,
|
||||
1.0f, 1.0f, 1.0f, 0.5f,
|
||||
1.0f, 1.0f, 1.0f, 0.5f,
|
||||
1.0f, 1.0f, 1.0f, 0.75f,
|
||||
1.0f, 1.0f, 1.0f, 0.75f,
|
||||
1.0f, 1.0f, 1.0f, 0.75f,
|
||||
1.0f, 1.0f, 1.0f, 0.75f,
|
||||
};
|
||||
|
||||
gl_t *gl = (gl_t*)data;
|
||||
@ -1361,10 +1361,7 @@ static bool gl_frame(void *data, const void *frame, unsigned width, unsigned hei
|
||||
|
||||
#ifdef HAVE_RGUI
|
||||
if(lifecycle_mode_state & (1ULL << MODE_MENU_DRAW))
|
||||
{
|
||||
RARCH_LOG("rgui draw\n");
|
||||
gl_draw_rgui(gl);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef FPS_COUNTER
|
||||
|
Loading…
x
Reference in New Issue
Block a user