diff options
| author | Max Horn | 2003-05-29 21:45:26 +0000 |
|---|---|---|
| committer | Max Horn | 2003-05-29 21:45:26 +0000 |
| commit | f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a (patch) | |
| tree | dfa2ea727d3c8e4e95329fde007a7402e65c0a25 /backends/wince | |
| parent | 417ec3a58816cbfd6c880b84474581a8e07bc40e (diff) | |
| download | scummvm-rg350-f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a.tar.gz scummvm-rg350-f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a.tar.bz2 scummvm-rg350-f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a.zip | |
added some doxygen comments to common/system.h; cleaned up the OSystem interface a bit
svn-id: r8116
Diffstat (limited to 'backends/wince')
| -rw-r--r-- | backends/wince/wince.cpp | 9 | ||||
| -rw-r--r-- | backends/wince/wince.h | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/backends/wince/wince.cpp b/backends/wince/wince.cpp index 0e0ca66ccd..6db546172e 100644 --- a/backends/wince/wince.cpp +++ b/backends/wince/wince.cpp @@ -71,7 +71,7 @@ typedef BOOL (*tSHCreateMenuBar)(void*); /* // Dynamically linked SDLAudio -typedef void (*tSDL_AudioQuit)(void); +typedef void (*tSDL_AudioQuit)(); typedef int (*tSDL_Init)(Uint32); typedef void (*tSDL_PauseAudio)(int); typedef int (*tSDL_OpenAudio)(SDL_AudioSpec*, SDL_AudioSpec*); @@ -439,7 +439,7 @@ SoundProc *real_soundproc; extern void startFindGame(); extern void displayGameInfo(); -extern bool loadGameSettings(void); +extern bool loadGameSettings(); extern void setFindGameDlgHandle(HWND); extern void getSelectedGame(int, char*, TCHAR*, char*); extern void runGame(char*); @@ -448,7 +448,7 @@ extern void palette_update(); extern void own_soundProc(void *buffer, byte *samples, int len); -extern int chooseGame(void); +extern int chooseGame(); //#define SHMenuBar_GetMenu(hWndMB,ID_MENU) (HMENU)SendMessage((hWndMB), SHCMBM_GETSUBMENU, (WPARAM)0, (LPARAM)ID_MENU) @@ -1623,12 +1623,11 @@ void OSystem_WINCE3::delay_msecs(uint msecs) { Sleep(msecs); } -void *OSystem_WINCE3::create_thread(ThreadProc *proc, void *param) { +void OSystem_WINCE3::create_thread(ThreadProc *proc, void *param) { // needed for emulated MIDI support (Sam'n'Max) HANDLE handle; handle = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)proc, param, 0, NULL); SetThreadPriority(handle, THREAD_PRIORITY_NORMAL); - return handle; } int mapKey(int key, byte mod) diff --git a/backends/wince/wince.h b/backends/wince/wince.h index d9a71e6d35..9af0e4e81b 100644 --- a/backends/wince/wince.h +++ b/backends/wince/wince.h @@ -109,7 +109,7 @@ public: void delay_msecs(uint msecs); // Create a thread - void *create_thread(ThreadProc *proc, void *param); + void create_thread(ThreadProc *proc, void *param); // Get the next event. // Returns true if an event was retrieved. |
