mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
RSX Bugfixes and plugging memory leaks
BUGFIX: Add break after NV4097_SET_TEXTURE_BORDER_COLOR in RSXThread.cpp BUGFIX: Fix parameters passed to RSXTexture::SetControl3 (they were being passed in reverse order) BUGFIX: Remove invalid, non-sensical call to glPixelStorei in GLGSRender.h BUGFIX: Fix signed/unsigned comparison compiler warnings in GLGSRender.h CHANGE: Make GLFragmentProgram::Decompiler synchronous by default CHANGE: Update wxWidgets submodule to latest commit BUGFIX: Fix several memory leaks ADDED: Created a new MSVC debug configuration to output locations of allocations that end up leaking after the program is closed. BUGFIX: Fix the stupid PadHandler crash due to the lack of a virtual d'tor
This commit is contained in:
commit
d136adc73f
46 changed files with 617 additions and 149 deletions
|
@ -5,8 +5,9 @@
|
|||
#include "stblib/stb_truetype.h"
|
||||
|
||||
void cellFont_init();
|
||||
void cellFont_load();
|
||||
void cellFont_unload();
|
||||
Module cellFont(0x0019, cellFont_init, nullptr, cellFont_unload);
|
||||
Module cellFont(0x0019, cellFont_init, cellFont_load, cellFont_unload);
|
||||
|
||||
// Font Set Types
|
||||
enum
|
||||
|
@ -226,7 +227,7 @@ struct CCellFontInternal //Module cellFont
|
|||
}
|
||||
};
|
||||
|
||||
CCellFontInternal* s_fontInternalInstance = new CCellFontInternal();
|
||||
CCellFontInternal* s_fontInternalInstance = nullptr;
|
||||
|
||||
// Functions
|
||||
int cellFontInitializeWithRevision(u64 revisionFlags, mem_ptr_t<CellFontConfig> config)
|
||||
|
@ -899,8 +900,14 @@ void cellFont_init()
|
|||
cellFont.AddFunc(0xb015a84e, cellFontGetRevisionFlags);
|
||||
}
|
||||
|
||||
void cellFont_load()
|
||||
{
|
||||
s_fontInternalInstance = new CCellFontInternal();
|
||||
}
|
||||
|
||||
void cellFont_unload()
|
||||
{
|
||||
s_fontInternalInstance->m_bInitialized = false;
|
||||
s_fontInternalInstance->m_bFontGcmInitialized = false;
|
||||
// s_fontInternalInstance->m_bInitialized = false;
|
||||
// s_fontInternalInstance->m_bFontGcmInitialized = false;
|
||||
delete s_fontInternalInstance;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue