Some buildfixes
This commit is contained in:
parent
0a1775feb2
commit
6fcb97ee53
|
@ -177,6 +177,16 @@ enum retro_language win32_get_retro_lang_from_langid(unsigned short langid)
|
||||||
return RETRO_LANGUAGE_ENGLISH;
|
return RETRO_LANGUAGE_ENGLISH;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
unsigned short win32_get_langid_from_retro_lang(enum retro_language lang)
|
||||||
|
{
|
||||||
|
return 0x409; /* fallback to US English */
|
||||||
|
}
|
||||||
|
|
||||||
|
enum retro_language win32_get_retro_lang_from_langid(unsigned short langid)
|
||||||
|
{
|
||||||
|
return RETRO_LANGUAGE_ENGLISH;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void gfx_dwm_shutdown(void)
|
static void gfx_dwm_shutdown(void)
|
||||||
|
|
|
@ -19,12 +19,8 @@
|
||||||
#ifndef _PLATFORM_WIN32_H
|
#ifndef _PLATFORM_WIN32_H
|
||||||
#define _PLATFORM_WIN32_H
|
#define _PLATFORM_WIN32_H
|
||||||
|
|
||||||
#if defined(HAVE_LANGEXTRA) && !defined(_XBOX)
|
|
||||||
#if (defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0500) || !defined(_MSC_VER)
|
|
||||||
unsigned short win32_get_langid_from_retro_lang(enum retro_language lang);
|
unsigned short win32_get_langid_from_retro_lang(enum retro_language lang);
|
||||||
|
|
||||||
enum retro_language win32_get_retro_lang_from_langid(unsigned short langid);
|
enum retro_language win32_get_retro_lang_from_langid(unsigned short langid);
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#include <boolean.h>
|
#include <boolean.h>
|
||||||
#include <retro_common_api.h>
|
#include <retro_common_api.h>
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
|
#include <formats/image.h>
|
||||||
#include <gfx/math/matrix_4x4.h>
|
#include <gfx/math/matrix_4x4.h>
|
||||||
|
|
||||||
#include "../retroarch.h"
|
#include "../retroarch.h"
|
||||||
|
@ -380,7 +381,8 @@ bool gfx_display_reset_textures_list(
|
||||||
|
|
||||||
bool gfx_display_reset_textures_list_buffer(
|
bool gfx_display_reset_textures_list_buffer(
|
||||||
uintptr_t *item, enum texture_filter_type filter_type,
|
uintptr_t *item, enum texture_filter_type filter_type,
|
||||||
void* buffer, unsigned buffer_len, enum image_type_enum image_type,
|
void* buffer, unsigned buffer_len,
|
||||||
|
enum image_type_enum image_type,
|
||||||
unsigned *width, unsigned *height);
|
unsigned *width, unsigned *height);
|
||||||
|
|
||||||
/* Returns the OSK key at a given position */
|
/* Returns the OSK key at a given position */
|
||||||
|
|
Loading…
Reference in New Issue