forked from len0rd/rockbox
Roland's fix for running simulator on NT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3805 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6cb7b15be8
commit
827aad3b87
1 changed files with 7 additions and 7 deletions
|
@ -50,12 +50,12 @@ char having_new_lcd=true; // Used for player simulator
|
|||
|
||||
// GUIWndProc
|
||||
// window proc for GUI simulator
|
||||
LRESULT GUIWndProc (
|
||||
HWND hWnd,
|
||||
UINT uMsg,
|
||||
WPARAM wParam,
|
||||
LPARAM lParam
|
||||
)
|
||||
LRESULT CALLBACK GUIWndProc (
|
||||
HWND hWnd,
|
||||
UINT uMsg,
|
||||
WPARAM wParam,
|
||||
LPARAM lParam
|
||||
)
|
||||
{
|
||||
static HBITMAP hBkgnd;
|
||||
static HDC hMemDc;
|
||||
|
@ -234,7 +234,7 @@ BOOL GUIStartup ()
|
|||
wc.hbrBackground = GetSysColorBrush (COLOR_WINDOW);
|
||||
wc.hCursor = LoadCursor (NULL, IDC_ARROW);
|
||||
wc.hInstance = GetModuleHandle (NULL);
|
||||
wc.lpfnWndProc = (WNDPROC)GUIWndProc;
|
||||
wc.lpfnWndProc = GUIWndProc;
|
||||
wc.lpszClassName = "RockBoxUISimulator";
|
||||
wc.style = CS_HREDRAW | CS_VREDRAW;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue