Commit 722ee974 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Start getting rid of HWND usage

parent 99a633f5
......@@ -24,7 +24,6 @@
#define BOOL int
#define FALSE 0
#define TRUE (!0)
#define HWND void*
#ifdef _WIN32
#define path_default_slash() "\\"
......
......@@ -1603,7 +1603,7 @@ const char ErrCreateSurface[] = "CreateSurface Failed";
#define DDOK(x) if (hRet != DD_OK) { LastErr = x; return FALSE; }
BOOL graphics_init(HWND phWnd)
BOOL graphics_init(void)
{
#ifdef __LIBRETRO__
palette_init = palette_init16;
......
......@@ -37,7 +37,7 @@
//extern unsigned char *drawBuffer;
//extern BITMAP myBitmap;
BOOL graphics_init(HWND phWnd);
BOOL graphics_init(void);
void graphics_blit(void);
void graphics_paint();
void graphics_cleanup();
......
......@@ -29,7 +29,7 @@ struct joy_range
int minx, maxx, miny, maxy;
} range;
BOOL InitInput(HWND hwnd)
BOOL InitInput(void)
{
return TRUE;
}
......
......@@ -18,7 +18,7 @@
extern unsigned char ngpInputState;
BOOL InitInput(HWND hWnd);
BOOL InitInput(void);
void UpdateInputState(void);
void FreeInput(void);
......
......@@ -55,7 +55,7 @@ void mainemuinit()
{
// initialize cpu memory
mem_init();
graphics_init(NULL);
graphics_init();
// initialize the TLCS-900H cpu
tlcs_init();
......
......@@ -19,10 +19,10 @@
#include "StdAfx.h"
#include "main.h"
int initSound();
void soundCleanup();
int initSound(void);
void soundCleanup(void);
void setHwnd(HWND hWnd);
void setHwnd(void);
/* stolen MAME things */
int osd_start_audio_stream(int stereo);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment