mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-playintro-crash' into 'next'
Fix intro crash See merge request STJr/SRB2!1310
This commit is contained in:
commit
375c83d492
1 changed files with 3 additions and 0 deletions
|
|
@ -1747,6 +1747,9 @@ void *W_CachePatchNum(lumpnum_t lumpnum, INT32 tag)
|
|||
|
||||
void W_UnlockCachedPatch(void *patch)
|
||||
{
|
||||
if (!patch)
|
||||
return;
|
||||
|
||||
// The hardware code does its own memory management, as its patches
|
||||
// have different lifetimes from software's.
|
||||
#ifdef HWRENDER
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue