mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 07:25:26 +00: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 "cellResc.h"
|
||||
|
||||
void cellResc_init();
|
||||
void cellResc_load();
|
||||
void cellResc_unload();
|
||||
Module cellResc(0x001f, cellResc_init, nullptr, cellResc_unload);
|
||||
Module cellResc(0x001f, cellResc_init, cellResc_load, cellResc_unload);
|
||||
|
||||
// Error Codes
|
||||
enum
|
||||
|
|
@ -71,7 +72,7 @@ struct CCellRescInternal
|
|||
};
|
||||
|
||||
|
||||
CCellRescInternal* s_rescInternalInstance = new CCellRescInternal();
|
||||
CCellRescInternal* s_rescInternalInstance = nullptr;
|
||||
|
||||
// Extern Functions
|
||||
extern int cellGcmSetFlipMode(u32 mode);
|
||||
|
|
@ -810,7 +811,13 @@ void cellResc_init()
|
|||
//cellResc.AddFunc(0xe0cef79e, cellRescCreateInterlaceTable);
|
||||
}
|
||||
|
||||
void cellResc_load()
|
||||
{
|
||||
s_rescInternalInstance = new CCellRescInternal();
|
||||
}
|
||||
|
||||
void cellResc_unload()
|
||||
{
|
||||
s_rescInternalInstance->m_bInitialized = false;
|
||||
// s_rescInternalInstance->m_bInitialized = false;
|
||||
delete s_rescInternalInstance;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue