Turn off RTTI, simulate it where needed.
This commit is contained in:
parent
645e8a7705
commit
2afbc94734
17 changed files with 56 additions and 20 deletions
|
@ -2819,15 +2819,13 @@ void ActionAfterMipsCall::run(MipsCall &call) {
|
|||
|
||||
ActionAfterMipsCall *Thread::getRunningCallbackAction()
|
||||
{
|
||||
if (this->GetUID() == currentThread && g_inCbCount > 0)
|
||||
{
|
||||
if (this->GetUID() == currentThread && g_inCbCount > 0) {
|
||||
MipsCall *call = mipsCalls.get(this->currentMipscallId);
|
||||
ActionAfterMipsCall *action = 0;
|
||||
if (call)
|
||||
action = dynamic_cast<ActionAfterMipsCall *>(call->doAfter);
|
||||
action = static_cast<ActionAfterMipsCall *>(call->doAfter);
|
||||
|
||||
if (!call || !action)
|
||||
{
|
||||
if (!call || !action) {
|
||||
ERROR_LOG(HLE, "Failed to access deferred info for thread: %s", this->nt.name);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue