MCPcopy Create free account
hub / github.com/TASEmulators/fceux / FCEU_KillVirtualVideo

Function FCEU_KillVirtualVideo

src/video.cpp:92–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90static void FCEU_DrawPauseCountDown(uint8 *XBuf);
91
92void FCEU_KillVirtualVideo(void)
93{
94 if ( XBuf )
95 {
96 FCEU_afree(XBuf); XBuf = NULL;
97 }
98 if ( XBackBuf )
99 {
100 FCEU_afree(XBackBuf); XBackBuf = NULL;
101 }
102 if ( XDBuf )
103 {
104 FCEU_afree(XDBuf); XDBuf = NULL;
105 }
106 if ( XDBackBuf )
107 {
108 FCEU_afree(XDBackBuf); XDBackBuf = NULL;
109 }
110 //printf("Video Core Cleanup\n");
111}
112
113/**
114* Return: Flag that indicates whether the function was succesful or not.

Callers 1

FCEUI_KillFunction · 0.85

Calls 1

FCEU_afreeFunction · 0.85

Tested by

no test coverage detected