Project

General

Profile

Actions

Emulator Issues #9225

closed

ResetButton_Tap can get called from multiple threads

Added by Sonicadvance1 over 8 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Current
Regression:
No
Relates to usability:
Yes
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

ResetButton_Tap can be called from the UI thread (To fire a reset from the UI), and it can also be fired from the CPU thread via the the gamepad shortcut combination for resetting.
This function calls CoreTiming::ScheduleEvent_Threadsafe which throws an assert if it is called from within the CPU thread.

This needs to be changed in some form to not have an assert fire.

Actions

Also available in: Atom PDF