Fix 3DS build
This commit is contained in:
parent
26e1b9d66e
commit
1fde6f8aed
|
@ -523,7 +523,6 @@ static bool ctr_frame(void* data, const void* frame,
|
||||||
uint64_t frame_count,
|
uint64_t frame_count,
|
||||||
unsigned pitch, const char* msg, video_frame_info_t *video_info)
|
unsigned pitch, const char* msg, video_frame_info_t *video_info)
|
||||||
{
|
{
|
||||||
extern bool select_pressed;
|
|
||||||
static uint64_t currentTick,lastTick;
|
static uint64_t currentTick,lastTick;
|
||||||
touchPosition state_tmp_touch;
|
touchPosition state_tmp_touch;
|
||||||
extern GSPGPU_FramebufferInfo topFramebufferInfo;
|
extern GSPGPU_FramebufferInfo topFramebufferInfo;
|
||||||
|
@ -560,12 +559,6 @@ static bool ctr_frame(void* data, const void* frame,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (select_pressed)
|
|
||||||
{
|
|
||||||
command_event(CMD_EVENT_QUIT, NULL);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
state_tmp = hidKeysDown();
|
state_tmp = hidKeysDown();
|
||||||
hidTouchRead(&state_tmp_touch);
|
hidTouchRead(&state_tmp_touch);
|
||||||
if((state_tmp & KEY_TOUCH) && (state_tmp_touch.py < 120))
|
if((state_tmp & KEY_TOUCH) && (state_tmp_touch.py < 120))
|
||||||
|
|
Loading…
Reference in New Issue