| r7255 Thursday 4th February, 2010 at 10:37:05 UTC by Miodrag Milanović |
|---|
| Fixed very very stupid WINUI bug now it finally works without staying alive after close. |
| [src/mess/osd/winui] | messui.c messui.h |
| [src/osd/winui] | winui.c |
| r7254 | r7255 | |
|---|---|---|
| 2094 | 2094 | |
| 2095 | 2095 | static void Win32UI_exit() |
| 2096 | 2096 | { |
| 2097 | #ifdef MESS | |
| 2098 | MySoftwareListClose(); | |
| 2099 | #endif | |
| 2100 | ||
| 2097 | 2101 | if (g_bDoBroadcast == TRUE) |
| 2098 | 2102 | { |
| 2099 | 2103 | ATOM a = GlobalAddAtom(TEXT("")); |
| r7254 | r7255 | |
|---|---|---|
| 346 | 346 | return TRUE; |
| 347 | 347 | } |
| 348 | 348 | |
| 349 | void MySoftwareListClose(void) | |
| 350 | { | |
| 351 | // free the machine config, if necessary | |
| 352 | if (config != NULL) | |
| 353 | { | |
| 354 | software_config_free(config); | |
| 355 | config = NULL; | |
| 356 | } | |
| 357 | } | |
| 349 | 358 | |
| 350 | ||
| 351 | 359 | void MyFillSoftwareList(int drvindex, BOOL bForce) |
| 352 | 360 | { |
| 353 | 361 | BOOL is_same; |
| r7254 | r7255 | |
|---|---|---|
| 15 | 15 | void MessReadMountedSoftware(int nGame); |
| 16 | 16 | BOOL CreateMessIcons(void); |
| 17 | 17 | BOOL MessApproveImageList(HWND hParent, int nDriver); |
| 18 | void MySoftwareListClose(void); | |
| 18 | 19 | |
| 19 | 20 | #endif // __MESSUI_H__ |
| Previous 50 | 9077 Revisions | Next 50 |