Merge pull request #10825 from jdgleaver/3ds-build-fix

Fix 3DS build
This commit is contained in:
Autechre 2020-06-09 13:48:36 +02:00 committed by GitHub
commit 756afa48f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -523,7 +523,6 @@ static bool ctr_frame(void* data, const void* frame,
uint64_t frame_count,
unsigned pitch, const char* msg, video_frame_info_t *video_info)
{
extern bool select_pressed;
static uint64_t currentTick,lastTick;
touchPosition state_tmp_touch;
extern GSPGPU_FramebufferInfo topFramebufferInfo;
@ -560,12 +559,6 @@ static bool ctr_frame(void* data, const void* frame,
return true;
}
if (select_pressed)
{
command_event(CMD_EVENT_QUIT, NULL);
return true;
}
state_tmp = hidKeysDown();
hidTouchRead(&state_tmp_touch);
if((state_tmp & KEY_TOUCH) && (state_tmp_touch.py < 120))