This commit is contained in:
Christian Semmler 2024-01-06 17:09:52 -05:00
parent da675e3e29
commit 47cc915dda
7 changed files with 14 additions and 23 deletions

View File

@ -99,10 +99,7 @@ void MxCompositePresenter::EndAction()
if (action && action->GetOrigin()) { if (action && action->GetOrigin()) {
#ifdef COMPAT_MODE #ifdef COMPAT_MODE
MxEndActionNotificationParam param(c_notificationEndAction, this, action, FALSE); MxEndActionNotificationParam param(c_notificationEndAction, this, action, FALSE);
NotificationManager()->Send( NotificationManager()->Send(action->GetOrigin(), &param);
action->GetOrigin(),
&param
);
#else #else
NotificationManager()->Send( NotificationManager()->Send(
action->GetOrigin(), action->GetOrigin(),

View File

@ -307,9 +307,7 @@ MxResult MxDiskStreamController::VTable0x24(MxDSAction* p_action)
if (VTable0x30(p_action) == SUCCESS) { if (VTable0x30(p_action) == SUCCESS) {
#ifdef COMPAT_MODE #ifdef COMPAT_MODE
MxEndActionNotificationParam param(c_notificationEndAction, NULL, p_action, TRUE); MxEndActionNotificationParam param(c_notificationEndAction, NULL, p_action, TRUE);
MxOmni::GetInstance()->NotifyCurrentEntity( MxOmni::GetInstance()->NotifyCurrentEntity(&param);
&param
);
#else #else
MxOmni::GetInstance()->NotifyCurrentEntity( MxOmni::GetInstance()->NotifyCurrentEntity(
&MxEndActionNotificationParam(c_notificationEndAction, NULL, p_action, TRUE) &MxEndActionNotificationParam(c_notificationEndAction, NULL, p_action, TRUE)

View File

@ -162,10 +162,7 @@ void MxMediaPresenter::EndAction()
if (action && action->GetOrigin()) { if (action && action->GetOrigin()) {
#ifdef COMPAT_MODE #ifdef COMPAT_MODE
MxEndActionNotificationParam param(c_notificationEndAction, this, action, FALSE); MxEndActionNotificationParam param(c_notificationEndAction, this, action, FALSE);
NotificationManager()->Send( NotificationManager()->Send(action->GetOrigin(), &param);
action->GetOrigin(),
&param
);
#else #else
NotificationManager()->Send( NotificationManager()->Send(
action->GetOrigin(), action->GetOrigin(),

View File

@ -149,9 +149,7 @@ void MxPresenter::EndAction()
if (!this->m_compositePresenter) { if (!this->m_compositePresenter) {
#ifdef COMPAT_MODE #ifdef COMPAT_MODE
MxEndActionNotificationParam param(c_notificationEndAction, NULL, this->m_action, TRUE); MxEndActionNotificationParam param(c_notificationEndAction, NULL, this->m_action, TRUE);
MxOmni::GetInstance()->NotifyCurrentEntity( MxOmni::GetInstance()->NotifyCurrentEntity(&param);
&param
);
#else #else
MxOmni::GetInstance()->NotifyCurrentEntity( MxOmni::GetInstance()->NotifyCurrentEntity(
&MxEndActionNotificationParam(c_notificationEndAction, NULL, this->m_action, TRUE) &MxEndActionNotificationParam(c_notificationEndAction, NULL, this->m_action, TRUE)

View File

@ -13,10 +13,11 @@ Renderer* Tgl::CreateRenderer()
return renderer; return renderer;
} }
namespace TglImpl { namespace TglImpl
{
// GLOBAL: LEGO1 0x1010103c // GLOBAL: LEGO1 0x1010103c
IDirect3DRM2 *g_pD3DRM = NULL; IDirect3DRM2* g_pD3DRM = NULL;
} } // namespace TglImpl
// Inlined only // Inlined only
Result RendererImpl::Create() Result RendererImpl::Create()