RetroArch/dynamic_dummy.h

77 lines
2.5 KiB
C
Raw Normal View History

2013-04-14 14:24:19 +00:00
/* RetroArch - A frontend for libretro.
2014-01-01 00:50:59 +00:00
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
2015-01-07 16:46:50 +00:00
* Copyright (C) 2011-2015 - Daniel De Matteis
* Copyright (C) 2012-2015 - Michael Lelli
2013-04-14 14:24:19 +00:00
*
* 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/>.
*/
#ifndef DYNAMIC_DUMMY_H__
#define DYNAMIC_DUMMY_H__
#include <boolean.h>
2013-04-14 14:24:19 +00:00
#include "libretro.h"
void libretro_dummy_retro_init(void);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
void libretro_dummy_retro_deinit(void);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
unsigned libretro_dummy_retro_api_version(void);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
void libretro_dummy_retro_get_system_info(struct retro_system_info *info);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
void libretro_dummy_retro_get_system_av_info(struct retro_system_av_info *info);
void libretro_dummy_retro_set_environment(retro_environment_t cb);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
void libretro_dummy_retro_set_video_refresh(retro_video_refresh_t cb);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
void libretro_dummy_retro_set_audio_sample(retro_audio_sample_t cb);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
void libretro_dummy_retro_set_audio_sample_batch(retro_audio_sample_batch_t cb);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
void libretro_dummy_retro_set_input_poll(retro_input_poll_t cb);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
void libretro_dummy_retro_set_input_state(retro_input_state_t cb);
void libretro_dummy_retro_set_controller_port_device(unsigned port, unsigned device);
void libretro_dummy_retro_reset(void);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
void libretro_dummy_retro_run(void);
size_t libretro_dummy_retro_serialize_size(void);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
bool libretro_dummy_retro_serialize(void *data, size_t size);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
bool libretro_dummy_retro_unserialize(const void *data, size_t size);
void libretro_dummy_retro_cheat_reset(void);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
void libretro_dummy_retro_cheat_set(unsigned index, bool enabled, const char *code);
bool libretro_dummy_retro_load_game(const struct retro_game_info *game);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
bool libretro_dummy_retro_load_game_special(unsigned game_type,
const struct retro_game_info *info, size_t num_info);
void libretro_dummy_retro_unload_game(void);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
unsigned libretro_dummy_retro_get_region(void);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
void *libretro_dummy_retro_get_memory_data(unsigned id);
2014-09-02 03:57:53 +00:00
2013-04-14 14:24:19 +00:00
size_t libretro_dummy_retro_get_memory_size(unsigned id);
#endif