don't allocate ddraw struct
This commit is contained in:
parent
d69a56c0d0
commit
36a87419e3
19 changed files with 1027 additions and 1020 deletions
|
@ -134,7 +134,7 @@ BOOL ss_take_screenshot(IDirectDrawSurfaceImpl* src)
|
|||
char str_time[64];
|
||||
time_t t = time(NULL);
|
||||
|
||||
strncpy(title, g_ddraw->title, sizeof(g_ddraw->title));
|
||||
strncpy(title, g_ddraw.title, sizeof(g_ddraw.title));
|
||||
|
||||
for (int i = 0; i < strlen(title); i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue