twinaphex
eb1d78bab7
Rename history.c to playlist.c
2014-08-15 17:24:28 +02:00
twinaphex
e1a122843b
Add null camera - remove HAVE_CAMERA ifdefs
2014-08-14 02:55:04 +02:00
twinaphex
027bd68bb3
Add location/null.c - get rid of HAVE_LOCATION ifdefs
2014-08-14 02:15:48 +02:00
twinaphex
fcbbf08109
(Recording) Bake in HAVE_RECORD implicitly
2014-08-12 05:28:43 +02:00
twinaphex
f027acd5cf
Rename game_history_size to content_history_size
2014-08-12 04:57:31 +02:00
twinaphex
3053d2018a
Add RETRO_ENVIRONMENT_GET_LANGUAGE to rarch_environment_cb
2014-08-01 07:45:56 +02:00
twinaphex
9dadfc0b19
Rename Netplay Nickname to Username and make it not dependent
...
on HAVE_NETPLAY
2014-08-01 05:04:59 +02:00
twinaphex
69f2cc9f1a
Add RETRO_ENVIRONMENT_GET_USER_NAME
2014-08-01 04:37:00 +02:00
twinaphex
272002310d
Rename more references to 'roms'
2014-07-28 20:01:27 +02:00
twinaphex
59f8e75ee1
Rename load_no_rom to load_no_content
2014-07-28 19:37:25 +02:00
twinaphex
87a21b2e13
Rename ROM history to Content history
2014-07-22 05:01:35 +02:00
Themaister
a392cd9ebd
Fix GLES_VERSION #ifdef.
2014-06-16 21:02:42 +02:00
Themaister
53bc4c08ed
Check recording based on g_extern.rec and not g_extern.recording.
...
Fixes some segfaults where g_extern.recording and g_extern.rec mismatch.
Makes it possible to record without loading content directly from CLI.
2014-06-16 15:50:53 +02:00
Themaister
b88d4d2a75
Add RETRO_ENVIRONMENT_SET_GEOMETRY.
2014-06-07 13:21:31 +02:00
twinaphex
08c8e5fb5f
Reduce amount of includes for rarch_console.h
2014-06-01 03:08:26 +02:00
Themaister
05eac0c8a2
Add new libretro_directory.
...
Avoid kinda-weird dual purpose of g_settings.libretro.
2014-05-09 18:51:20 +02:00
Themaister
583514ae95
Add support for GLES 3.1+.
2014-05-03 15:21:14 +02:00
twinaphex
08965cfa0d
Change HAVE_FFMPEG ifdefs into HAVE_RECORD - recording will get
...
a proper interface soon so there can be multiple implementations
instead of just ffmpeg
2014-05-03 00:21:07 +02:00
Themaister
4f27faf035
Log appropriate controller index.
2014-04-12 19:06:37 +02:00
Themaister
aafe28bb14
Add some testing of new controller info API to libretro-test.
2014-04-12 13:59:19 +02:00
Themaister
b4eaf81fed
Begin implementing SET_CONTROLLER_INFO.
2014-04-12 13:22:24 +02:00
twinaphex
3da5205efa
(Console) Build fix for libretro_find_subsystem_info
2014-04-07 23:02:12 +02:00
Themaister
9f5a714615
Rename to SET_SUBSYSTEM_INFO.
...
Add test case.
2014-04-04 17:04:01 +02:00
Themaister
72ad4d937e
More verbose logging of subsystems.
2014-04-04 16:02:53 +02:00
Themaister
c81de5119d
Initial take on subsystems support.
2014-04-04 14:58:42 +02:00
Themaister
52c32072ec
Add log level support for libretro cores.
2014-03-01 12:02:48 +01:00
Themaister
60b1b8523d
Add test case for SET_SYSTEM_AV_INFO in libretro-test/.
2014-02-20 23:05:56 +01:00
Themaister
21c383f77a
Add initial SET_SYSTEM_AV_INFO environ.
2014-02-20 22:48:31 +01:00
Themaister
c9854deeec
Update libretro.h docs. Fix conditional string check.
2014-02-07 09:32:15 +01:00
AndresSM
ebc0bc641d
Fix a typo on the previous commit
2014-02-07 02:14:02 -05:00
AndresSM
0428b44e94
Add RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY
2014-02-07 01:56:41 -05:00
twinaphex
d9653b2add
(PS3) Don't support SET_AUDIO_CALLBACK right now for PS3
2014-01-22 02:20:23 +01:00
twinaphex
460670f074
Move sensor value reading to retro_sensor_interface
2014-01-20 14:52:53 +01:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
twinaphex
244fdb6030
Fix broken GET_CONTENT_DIRECTORY environ callback
2013-12-26 22:46:46 +01:00
Themaister
b23ff3b663
Refactor content_directory.
...
It shouldn't be RGUI browser dir. Instead it is a more developer centric
option for when libretro apps are distributed (along with RetroArch for
example). Also facilitates a standardized assets folder later on if
applicable.
2013-12-26 02:03:11 +01:00
twinaphex
204113e389
Add environ callback to expose 'Content Directory' path to core -
...
and refactor g_settings.rgui_browser_directory
2013-12-25 02:31:35 +01:00
twinaphex
f0aa0f99fd
(Location) Reimplement some parts of the location interface - get_latitude
...
and get_longitude are gone now in place of get_position. Basically,
from C land we basically do a poll-style queries, but on the
implementation side (ie. Android/iOS/OSX) - they all use callback-based
location updates. So we simply check in the poll function (get_position)
whether position has changed, and if so, update the pointer values and
return true - if not, set them to 0 and return false.
2013-12-19 15:47:47 +01:00
Themaister
855cb54def
Some cleanups to location interface.
...
Avoid three redundant fields in struct.
Use unsigned instead of int for argument for API consistency.
2013-12-19 10:15:55 +01:00
twinaphex
031a9d05be
(Location) Environ GET_LOCATION_INTERFACE should be implemented now
2013-12-19 05:51:25 +01:00
twinaphex
7bc2031272
dynamic.c - style nit
2013-12-19 03:17:27 +01:00
twinaphex
ccd2246331
(Apple) Build fixes
2013-12-19 03:16:13 +01:00
twinaphex
dfe42f4026
(Location) Add g_extern.system handle to retro_location_callback
2013-12-19 02:54:46 +01:00
twinaphex
742f85eafc
Add HAVE_LOCATION - still need to write frontend drivers now for
...
location
2013-12-19 01:51:51 +01:00
Themaister
1c9895611b
Rework performance interface.
...
Avoids super-ugly macros and retroarch-ifdefs.
2013-12-18 19:21:56 +01:00
twinaphex
9852c5dc4c
Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too
2013-12-18 19:03:08 +01:00
twinaphex
b984a8d57e
(Libretro) Expose perf_register too
2013-12-17 20:25:48 +01:00
twinaphex
166aa29443
(Libretro) Expose perf_log as callback too to libretro
2013-12-17 19:37:33 +01:00
twinaphex
38d785984f
Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h
2013-12-17 19:10:40 +01:00
Themaister
6031590cd3
Add OPENGLES3 context support in libretro GL.
2013-12-13 14:20:49 +01:00
Themaister
e3295e87cd
Initial RETRO_ENVIRONMENT_GET_LOG_INTERFACE.
2013-12-09 10:32:12 +01:00
Themaister
dfff94e5a0
Rework camera interface.
...
Hook up a more proper interface for libretro. Still very experimental.
2013-11-12 16:02:26 +01:00
Themaister
d7d928dd5e
environ should return false when HAVE_CAMERA is undefined.
2013-11-12 14:14:52 +01:00
twinaphex
4e7783c19b
(dynamic.c) Fix fallthrough
2013-11-12 13:23:51 +01:00
twinaphex
c107b06a76
Add RETRO_ENVIRONMENT_SET_CAMERA_RETRIEVE
2013-11-12 12:00:57 +01:00
twinaphex
da8f8b6d63
Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
...
instead
2013-11-07 21:44:44 +01:00
Themaister
ae07e75e7c
Hook up sensors API in libretro.
...
There are still many FIXMEs to be resolved before the interface
can lose its experimental status.
2013-11-03 12:06:14 +01:00
Themaister
df4d0eb0cf
Add RETRO_ENVIRONMENT_GET_INPUT_DEVICE_CAPABILITIES.
2013-11-02 21:40:31 +01:00
twinaphex
d2c87e3039
Convert most C99-style for loop initial declarations to C89-compliant
...
ones
2013-10-22 15:08:17 +02:00
Themaister
d215ec4ea8
Fix potential bug when HW render is used.
...
If e.g. D3D9 driver was used find_video_driver() would override GL
driver on reinit. Avoid this by doing this logic in find_video_driver()
instead.
2013-10-07 16:26:06 +02:00
Themaister
a01ef18f80
Add RETRO_ENVIRONMENT_GET_RUMBLE_INTERFACE.
2013-09-25 23:21:32 +02:00
Themaister
38ec55573c
Rework SET_AUDIO_CALLBACK.
...
When disabling audio and/or muting, the core has no way
of knowing this, causing potential issues in a threaded mixer.
This environ is not used by any public core to my knowledge so the old
API has been removed and replaced with a change to environment number
(20 -> 22).
2013-09-14 17:28:09 +02:00
twinaphex
95f5e6aa96
Add RETRO_ENVIRONMENT_EXEC_ESCAPE -yes, I need this - when we are in
...
retro_run - we need to escape first before we can get the next libretro
core with input data running. This is not needed when we do exec without
being in the main program loop. Anyway, one does not work for the other -
so we need both.
2013-08-25 19:42:24 +02:00
twinaphex
6a3303d2b4
Need to put extra conditional in when triggering ENVIRON EXEC to
...
get out of the main iterate loop once so that it can start up
the next core with params
2013-08-25 15:51:42 +02:00
twinaphex
e1cc0c3160
RETRO_ENVIRONMENT_SET_LIBRETRO_PATH - returns false if path
...
file doesn't exist
2013-08-25 13:17:11 +02:00
Themaister
32cae444a0
Fixup new private extensions.
...
Moved private stuff to libretro_private.h.
Dropped use of retro_variable (redundant and wrong type).
Didn't understand difference between EXEC_LOAD and EXEC_RELOAD at all.
Only one was used anyways ...
2013-08-25 11:10:32 +02:00
twinaphex
edfab9630a
Add RETRO_ENVIRONMENT_EXEC - refactor some stuff internally in
...
libretro frontend to implement this new functionality
2013-08-25 01:37:15 +02:00
twinaphex
7c81f554af
Add RETRO_ENVIRONMENT_SET_LIBRETRO_PATH to libretro API. Also gives us opportunity
...
to write internal code - other libretro implementations can now just implement
this environ callback and have other external frontends of their own be able to swap
in/out libretro cores from outside
2013-08-24 22:35:54 +02:00
Themaister
bb0993b6eb
Fix Android build.
2013-08-11 01:07:30 +02:00
Themaister
6a82db13d5
Fixups for frame time callback.
2013-08-11 01:05:33 +02:00
Themaister
f4a23115c2
Begin adding AUDIO_CALLBACK/FRAME_TIME_CALLBACK.
2013-08-11 01:05:33 +02:00
Themaister
318b26cc0d
Fix Android build.
2013-08-11 00:55:05 +02:00
Themaister
b9fce188ea
Initial work on core GL context support.
2013-08-11 00:50:04 +02:00
Themaister
b7fa652b1e
Add RETRO_ENVIRONMENT_GET_LIBRETRO_PATH.
...
Vital for cores which do not load a ROM, but still want to load assets
somehow. Demos and the like ...
2013-07-07 13:24:08 +02:00
Themaister
a58eddae65
Flush message queue on ENVIRONMENT_SET_MESSAGE.
2013-06-16 11:04:41 +02:00
Themaister
df79b8ea3d
Ensure that g_settings.libretro is absolute path.
...
Avoid issues when relative libretro paths are stored in ROM history.
2013-05-13 23:25:37 +02:00
Themaister
2e2efa2d09
Use default core options config.
2013-05-12 21:21:19 +02:00
Themaister
a9d322350b
Clear out all of g_extern.system.
...
Should clear out all the silly bugs where some interfaces are not cleared out on
reentrancy.
2013-05-07 01:52:53 +02:00
Themaister
30b8af83b5
Clear out disk control interface on deinit.
2013-05-04 17:15:17 +02:00
Themaister
13f0a8548f
Fix crash when rgui->info.library_name is NULL.
...
If retroarch was started with g_settings.libretro as a directory, and a
ROM loaded. Going into RGUI would see g_settings.libretro as a directory
and rgui->info wouldn't be properly initialized.
Fixed by updating g_settings.libretro if a specific core is resolved.
2013-05-04 14:32:00 +02:00
Themaister
f3cd25ebb7
Clean up load_no_rom grabbing interface.
2013-05-02 15:17:31 +02:00
Themaister
99990173cc
Can load without ROM in RGUI (HAVE_DYNAMIC).
...
Not sure how this will work on RARCH_CONSOLE, but it'll probably be
checked for in startup on core load somehow and either start in menu or args->no_rom.
2013-05-02 14:46:05 +02:00
Themaister
197c4db204
Add RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME.
...
Allows libretro core to not require a ROM to be loaded.
Kill stdin ROM loading support (pointless these days).
Replace "no ROM on CLI" behavior to be attempting to load a core with no
ROM.
2013-05-01 00:59:43 +02:00
twinaphex
389b62f8b7
Simplify static load_symbols function
2013-04-28 04:21:52 +02:00
twinaphex
7a2c78ae68
Start unifying global init/deinit code for console
2013-04-22 22:16:46 +02:00
Themaister
0e61461c07
Should fix very strange flickering bug.
2013-04-22 21:10:17 +02:00
Themaister
7a73c4f51c
Log core option GET_VARIABLE correctly.
2013-04-15 16:04:08 +02:00
twinaphex
250b52c130
(RARCH_CONSOLE) Build fix for now - dummy loading sidestepped
...
for now until solution arrives
2013-04-14 17:15:57 +02:00
Themaister
1395c32937
Add dummy core loading.
2013-04-14 16:29:30 +02:00
Themaister
77164d18ca
Begin adding core options interface.
2013-04-04 13:58:30 +02:00
Themaister
063a2e091c
Be more explicit about GLES2 or GL context.
2013-03-29 15:26:47 +01:00
Themaister
1cececac18
Add get_proc_address.
...
Render something "real" in GL.
2013-03-28 01:11:32 +01:00
Themaister
af40f3e9b8
Add initial GL direct rendering test.
2013-03-27 16:15:15 +01:00
Themaister
ab93fa6bd2
Use more approriate namespacing.
...
Replace get_libretro_core_name namespacing.
2013-03-22 23:42:34 +01:00
twinaphex
1f54ac4bd9
Fix PC build (change to dynamic.c)
2013-03-22 20:56:23 +01:00
twinaphex
7e0afcf610
move get _libretro_core_name to dynamic.c
2013-03-22 20:54:33 +01:00
Themaister
c0cbe1aa43
Can query system_info for any lib.
2013-03-17 20:11:02 +01:00
Themaister
e3dfba2c34
Add preliminary disk swapping interface.
...
Works with Mednafen's disk swapping model.
2013-02-21 23:44:07 +01:00
Themaister
0b4cf2d053
Update license headers to 2013.
2013-01-01 01:41:15 +01:00
meancoot
e60bb1d168
Add RETRO_ENVIRONMENT_SET_KEYBOARD_CALLBACK. An interface for allowing keyboard event data to be sent to the core.
2012-11-25 20:23:31 -05:00