Partially revert memory leak fix(ed upstream).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
df01fafd06
commit
16d17a3ab3
3 changed files with 0 additions and 10 deletions
|
@ -732,13 +732,6 @@ void VideoInitializeOriginal(baseColors_t pBaseNtscColors)
|
|||
PalIndex2RGB[HGR_VIOLET] = PalIndex2RGB[MAGENTA];
|
||||
}
|
||||
|
||||
void VideoDestroyOriginal()
|
||||
{
|
||||
delete [] g_pSourcePixels;
|
||||
g_pSourcePixels = NULL;
|
||||
}
|
||||
|
||||
|
||||
//===========================================================================
|
||||
|
||||
static UINT g_rgbFlags = 0;
|
||||
|
|
|
@ -7,8 +7,6 @@ void UpdateDLoResCell(int x, int y, uint16_t addr, bgra_t *pVideoAddress);
|
|||
const UINT kNumBaseColors = 16;
|
||||
typedef bgra_t (*baseColors_t)[kNumBaseColors];
|
||||
void VideoInitializeOriginal(baseColors_t pBaseNtscColors);
|
||||
void VideoDestroyOriginal();
|
||||
|
||||
|
||||
void RGB_SetVideoMode(WORD address);
|
||||
bool RGB_Is140Mode(void);
|
||||
|
|
|
@ -133,7 +133,6 @@ void VideoDestroy () {
|
|||
g_pFramebufferinfo = NULL;
|
||||
free(g_pFramebufferbits);
|
||||
g_pFramebufferbits = NULL;
|
||||
VideoDestroyOriginal();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue