|
|
| version 1.8, 2003/10/23 12:58:44 | version 1.10, 2003/10/25 16:01:21 |
|---|---|
| Line 217 static int flagsave(const char *ext) { | Line 217 static int flagsave(const char *ext) { |
| return(ret); | return(ret); |
| } | } |
| static void flagdelete(const char *ext) { | |
| char path[MAX_PATH]; | |
| getstatfilename(path, ext, sizeof(path)); | |
| file_delete(path); | |
| } | |
| static int flagload(const char *ext, const char *title, BOOL force) { | static int flagload(const char *ext, const char *title, BOOL force) { |
| int ret; | int ret; |
| Line 1072 LRESULT CALLBACK WndProc(HWND hWnd, UINT | Line 1080 LRESULT CALLBACK WndProc(HWND hWnd, UINT |
| } | } |
| static void processwait(WORD cnt) { | static void processwait(UINT cnt) { |
| if (timing_getcount() >= cnt) { | if (timing_getcount() >= cnt) { |
| timing_setcount(0); | timing_setcount(0); |
| Line 1391 int WINAPI WinMain(HINSTANCE hInstance, | Line 1399 int WINAPI WinMain(HINSTANCE hInstance, |
| else { | else { |
| timing_setcount(cnt - framecnt); | timing_setcount(cnt - framecnt); |
| } | } |
| framecnt = 0; | processwait(0); |
| } | } |
| } | } |
| else { | else { |
| Line 1420 int WINAPI WinMain(HINSTANCE hInstance, | Line 1428 int WINAPI WinMain(HINSTANCE hInstance, |
| flagsave(np2resume); | flagsave(np2resume); |
| } | } |
| else { | else { |
| // DeleteFile(file_getcd(np2resume)); | flagdelete(np2resume); |
| } | } |
| #ifdef USE_ROMEO | #ifdef USE_ROMEO |