@@ -865,7 +865,7 @@ enum NumberType
865865static cell_t LoadFromAddress (IPluginContext *pContext, const cell_t *params)
866866{
867867 void *addr = reinterpret_cast <void *>(params[1 ]);
868- if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) ! = SP_ERROR_NONE) {
868+ if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) = = SP_ERROR_NONE) {
869869 addr = pseudoAddr.FromPseudoAddress (params[1 ]);
870870 }
871871
@@ -895,7 +895,7 @@ static cell_t LoadFromAddress(IPluginContext *pContext, const cell_t *params)
895895static cell_t StoreToAddress (IPluginContext *pContext, const cell_t *params)
896896{
897897 void *addr = reinterpret_cast <void *>(params[1 ]);
898- if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) ! = SP_ERROR_NONE) {
898+ if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) = = SP_ERROR_NONE) {
899899 addr = pseudoAddr.FromPseudoAddress (params[1 ]);
900900 }
901901
@@ -951,7 +951,7 @@ static cell_t StoreToAddress(IPluginContext *pContext, const cell_t *params)
951951static cell_t LoadAddressFromAddress (IPluginContext *pContext, const cell_t *params)
952952{
953953 void *addr = reinterpret_cast <void *>(params[1 ]);
954- if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) ! = SP_ERROR_NONE) {
954+ if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) = = SP_ERROR_NONE) {
955955 addr = pseudoAddr.FromPseudoAddress (params[1 ]);
956956 }
957957
@@ -965,7 +965,7 @@ static cell_t LoadAddressFromAddress(IPluginContext *pContext, const cell_t *par
965965 }
966966
967967 void * data = *reinterpret_cast <void **>(addr);
968- if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) ! = SP_ERROR_NONE) {
968+ if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) = = SP_ERROR_NONE) {
969969 return pseudoAddr.ToPseudoAddress (data);
970970 }
971971 return reinterpret_cast <uintptr_t >(data);
@@ -974,7 +974,7 @@ static cell_t LoadAddressFromAddress(IPluginContext *pContext, const cell_t *par
974974static cell_t StoreAddressToAddress (IPluginContext *pContext, const cell_t *params)
975975{
976976 void *addr = reinterpret_cast <void *>(params[1 ]);
977- if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) ! = SP_ERROR_NONE) {
977+ if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) = = SP_ERROR_NONE) {
978978 addr = pseudoAddr.FromPseudoAddress (params[1 ]);
979979 }
980980
@@ -988,7 +988,7 @@ static cell_t StoreAddressToAddress(IPluginContext *pContext, const cell_t *para
988988 }
989989
990990 void *data = reinterpret_cast <void *>(params[2 ]);
991- if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) ! = SP_ERROR_NONE) {
991+ if (pContext->GetRuntime ()->FindPubvarByName (" __Virtual_Address__" , nullptr ) = = SP_ERROR_NONE) {
992992 data = pseudoAddr.FromPseudoAddress (params[2 ]);
993993 }
994994
0 commit comments