(Win32) Create platform_win32.c
This commit is contained in:
parent
401693ff0a
commit
935218f8a8
|
@ -709,7 +709,8 @@ ifneq ($(findstring Win32,$(OS)),)
|
||||||
OBJ += media/rarch.o \
|
OBJ += media/rarch.o \
|
||||||
input/drivers_keyboard/keyboard_event_win32.o \
|
input/drivers_keyboard/keyboard_event_win32.o \
|
||||||
gfx/drivers_wm/win32_common.o \
|
gfx/drivers_wm/win32_common.o \
|
||||||
gfx/drivers_wm/win32_dwm_common.o
|
gfx/drivers_wm/win32_dwm_common.o \
|
||||||
|
frontend/drivers/platform_win32.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Record
|
# Record
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
/* RetroArch - A frontend for libretro.
|
||||||
|
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
||||||
|
* Copyright (C) 2011-2015 - Daniel De Matteis
|
||||||
|
* Copyright (C) 2012-2014 - Jason Fetters
|
||||||
|
* Copyright (C) 2014-2015 - Jay McCarthy
|
||||||
|
*
|
||||||
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
||||||
|
* of the GNU General Public License as published by the Free Software Found-
|
||||||
|
* ation, either version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||||
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE. See the GNU General Public License for more details.
|
||||||
|
* * You should have received a copy of the GNU General Public License along with RetroArch.
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "../frontend.h"
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <boolean.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
const frontend_ctx_driver_t frontend_ctx_win32 = {
|
||||||
|
NULL, /* environment_get */
|
||||||
|
NULL, /* init */
|
||||||
|
NULL, /* deinit */
|
||||||
|
NULL, /* exitspawn */
|
||||||
|
NULL, /* process_args */
|
||||||
|
NULL, /* exec */
|
||||||
|
NULL, /* set_fork */
|
||||||
|
NULL, /* shutdown */
|
||||||
|
NULL, /* get_name */
|
||||||
|
NULL, /* get_rating */
|
||||||
|
NULL, /* load_content */
|
||||||
|
"win32",
|
||||||
|
};
|
|
@ -45,6 +45,9 @@ static const frontend_ctx_driver_t *frontend_ctx_drivers[] = {
|
||||||
#endif
|
#endif
|
||||||
#if defined(_3DS)
|
#if defined(_3DS)
|
||||||
&frontend_ctx_ctr,
|
&frontend_ctx_ctr,
|
||||||
|
#endif
|
||||||
|
#if defined(_WIN32) && !defined(_XBOX)
|
||||||
|
&frontend_win32,
|
||||||
#endif
|
#endif
|
||||||
&frontend_ctx_null,
|
&frontend_ctx_null,
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -606,6 +606,9 @@ FRONTEND
|
||||||
|
|
||||||
#include "../frontend/frontend_driver.c"
|
#include "../frontend/frontend_driver.c"
|
||||||
|
|
||||||
|
#if defined(_WIN32) && !defined(_XBOX)
|
||||||
|
#include "../frontend/drivers/platform_win32.c"
|
||||||
|
#endif
|
||||||
#if defined(__CELLOS_LV2__)
|
#if defined(__CELLOS_LV2__)
|
||||||
#include "../frontend/drivers/platform_ps3.c"
|
#include "../frontend/drivers/platform_ps3.c"
|
||||||
#elif defined(GEKKO)
|
#elif defined(GEKKO)
|
||||||
|
|
Loading…
Reference in New Issue