ポインタを書き換えられていなかったのを修正

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@237 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
N2614 2011-04-27 08:37:48 +00:00
parent 8b3e37145f
commit ee643ea9a8

View File

@ -255,7 +255,7 @@ void ShopOperationConnect();
void ShopOperationFinalize(); void ShopOperationFinalize();
void ShopOperationConnect(ECAccountInfo* pAccountInfo) void ShopOperationConnect(ECAccountInfo** pAccountInfo)
{ {
nn::Result result = nn::ResultSuccess(); nn::Result result = nn::ResultSuccess();
@ -263,10 +263,10 @@ void ShopOperationConnect(ECAccountInfo* pAccountInfo)
Connect Connect
-------------------------------------------------------------------- */ -------------------------------------------------------------------- */
NN_LOG("nim::Shop::Connect\n"); NN_LOG("nim::Shop::Connect\n");
result = nn::nim::Shop::Connect(&pAccountInfo, s_EcBufffer, EC_BUFFER_SIZE); result = nn::nim::Shop::Connect(pAccountInfo, s_EcBufffer, EC_BUFFER_SIZE);
NIM_SHOP_RESULT_CHECK(result); NIM_SHOP_RESULT_CHECK(result);
PrintECAccountInfo(*pAccountInfo); PrintECAccountInfo(**pAccountInfo);
NN_LOG("\n"); NN_LOG("\n");
} }
@ -302,7 +302,7 @@ void ShopOperationConnect()
Connect Connect
-------------------------------------------------------------------- */ -------------------------------------------------------------------- */
ECAccountInfo* pAccountInfo; ECAccountInfo* pAccountInfo;
ShopOperationConnect(pAccountInfo); ShopOperationConnect(&pAccountInfo);
} }
void ShopOperationFinalize() void ShopOperationFinalize()
@ -367,7 +367,7 @@ void ShopOperationSingleThreadFunc(ShopThreadParam param)
{ {
ShopOperationInitialize(); ShopOperationInitialize();
ECAccountInfo* pAccountInfo; ECAccountInfo* pAccountInfo;
ShopOperationConnect(pAccountInfo); ShopOperationConnect(&pAccountInfo);
if (pAccountInfo->accountStatus && pAccountInfo->accountStatus[0] == 'R') if (pAccountInfo->accountStatus && pAccountInfo->accountStatus[0] == 'R')
{ {
/* --------------------------------------------------------------- /* ---------------------------------------------------------------