mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-27 05:05:51 +00:00
Add platform_bsd.c
This commit is contained in:
parent
6cdc34e891
commit
c8b7bc9845
42
frontend/drivers/platform_bsd.c
Normal file
42
frontend/drivers/platform_bsd.c
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
/* RetroArch - A frontend for libretro.
|
||||||
|
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
||||||
|
* Copyright (C) 2011-2016 - Daniel De Matteis
|
||||||
|
* Copyright (C) 2012-2015 - Jason Fetters
|
||||||
|
*
|
||||||
|
* 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_driver.h"
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
frontend_ctx_driver_t frontend_ctx_bsd = {
|
||||||
|
NULL, /* environment_get */
|
||||||
|
NULL, /* init */
|
||||||
|
NULL, /* deinit */
|
||||||
|
NULL, /* exitspawn */
|
||||||
|
NULL, /* process_args */
|
||||||
|
NULL, /* exec */
|
||||||
|
NULL, /* set_fork */
|
||||||
|
NULL, /* shutdown */
|
||||||
|
NULL, /* get_name */
|
||||||
|
NULL, /* get_os */
|
||||||
|
NULL, /* get_rating */
|
||||||
|
NULL, /* load_content */
|
||||||
|
NULL, /* get_architecture */
|
||||||
|
NULL, /* get_powerstate */
|
||||||
|
NULL, /* parse_drive_list */
|
||||||
|
NULL, /* get_mem_total */
|
||||||
|
NULL, /* get_mem_free */
|
||||||
|
NULL, /* install_signal_handler */
|
||||||
|
"bsd",
|
||||||
|
};
|
@ -43,6 +43,9 @@ static frontend_ctx_driver_t *frontend_ctx_drivers[] = {
|
|||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
&frontend_ctx_linux,
|
&frontend_ctx_linux,
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(BSD)
|
||||||
|
&frontend_ctx_bsd,
|
||||||
|
#endif
|
||||||
#if defined(PSP) || defined(VITA)
|
#if defined(PSP) || defined(VITA)
|
||||||
&frontend_ctx_psp,
|
&frontend_ctx_psp,
|
||||||
#endif
|
#endif
|
||||||
|
@ -95,6 +95,7 @@ extern frontend_ctx_driver_t frontend_ctx_xdk;
|
|||||||
extern frontend_ctx_driver_t frontend_ctx_qnx;
|
extern frontend_ctx_driver_t frontend_ctx_qnx;
|
||||||
extern frontend_ctx_driver_t frontend_ctx_darwin;
|
extern frontend_ctx_driver_t frontend_ctx_darwin;
|
||||||
extern frontend_ctx_driver_t frontend_ctx_linux;
|
extern frontend_ctx_driver_t frontend_ctx_linux;
|
||||||
|
extern frontend_ctx_driver_t frontend_ctx_bsd;
|
||||||
extern frontend_ctx_driver_t frontend_ctx_psp;
|
extern frontend_ctx_driver_t frontend_ctx_psp;
|
||||||
extern frontend_ctx_driver_t frontend_ctx_ctr;
|
extern frontend_ctx_driver_t frontend_ctx_ctr;
|
||||||
extern frontend_ctx_driver_t frontend_ctx_win32;
|
extern frontend_ctx_driver_t frontend_ctx_win32;
|
||||||
|
Loading…
Reference in New Issue
Block a user