Skip to content

Commit

Permalink
3rdParty: update mupen64plus-video-GLideN64
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Jan 14, 2024
1 parent 8d3f2d4 commit 7f55b61
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/3rdParty/mupen64plus-video-GLideN64/.gitrepo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[subrepo]
remote = [email protected]:/gonetz/GLideN64.git
branch = master
commit = a367b3eef3d7b173fb60587c4371de93f0c7c59f
parent = 7713a9ec86e0de85cb2e526ca4954950cfd97593
commit = 3b43a13a80dfc2eb6357673440b335e54eaa3896
parent = 8d3f2d4d889b0a95d94ad447f5bf92d6ebf97c3b
method = merge
cmdver = 0.4.6
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ TxFilter::TxFilter(int maxwidth,
wchar_t fullTexPackPath[MAX_PATH];
wcscpy(fullTexPackPath, texPackPath);
wcscat(fullTexPackPath, OSAL_DIR_SEPARATOR_STR);
wcscat(fullTexPackPath, ident);
wcscat(fullTexPackPath, _ident.c_str());
_txHiResLoader = new TxHiResNoCache(_maxwidth, _maxheight, _maxbpp, _options, texCachePath, texPackPath, fullTexPackPath, _ident.c_str(), callback);
} else {
_txHiResLoader = new TxHiResCache(_maxwidth, _maxheight, _maxbpp, _options, texCachePath, texPackPath, _ident.c_str(), callback);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,14 @@ EXPORT void CALL ViWidthChanged (void);
******************************************************************/
EXPORT void CALL ReadScreen (void **dest, long *width, long *height);

/******************************************************************
Function: DllCrtFree
Purpose: Frees the memory at the specified address with the dll's standard library
Input: none
Output: none
******************************************************************/
EXPORT void CALL DllCrtFree(void* addr);

#if defined(__cplusplus)
}
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,9 @@ EXPORT void CALL ReadScreen (void **dest, long *width, long *height)
api().ReadScreen(dest, width, height);
}

EXPORT void CALL DllCrtFree(void* addr)
{
free(addr);
}

}

0 comments on commit 7f55b61

Please sign in to comment.