Commit Graph

100 Commits

Author SHA1 Message Date
twinaphex 8564b4f8e3 Fix compilation problem when HAVE_BSV_MOVIE is not defined 2021-09-09 16:58:52 +02:00
twinaphex 6a310ecfed Move more code to command.c 2021-09-09 16:55:14 +02:00
twinaphex 14cd338b97 Move code from retroarch.c to command.c 2021-09-09 16:31:35 +02:00
bulzipke 8adc24ecbc (3DS) Add bottom screen menu (#12470)
* (3DS) Add bottom screen menu
 -> User can save/load state on botom screen with thumbnail.
 -> Call a save_state_to_file() when RAM state has data to write a disk.
 -> If the bottom screen needs updating, swap the bottom framebuffers.

Add: SAVE/LODE STATE TO RAM
 -> This is useful for devices with slow I/O
 -> 3DS bottom save state use CMD_EVENT_SAVE_STATE_TO_RAM
 -> 3DS bottom load state use CMD_EVENT_LOAD_STATE when RAM state has no data
 -> 3DS bottom load state use CMD_EVENT_LOAD_STATE_FROM_RAM when RAM sate has data

* Rewrite path_get_state to retroarch_get_current_savestate_path

* Fix unterminated state_path
2021-09-03 18:14:03 +02:00
jdgleaver 743aea1810 Fix cheats when using second instance runahead 2021-09-03 11:27:12 +01:00
twinaphex d024ff553f Cleanups 2021-04-10 20:47:04 +02:00
twinaphex 0e26077a64 Add license headers 2021-04-05 19:58:18 +02:00
David G. F b830b33cf1 Rewrite commands and add new command type (#12233)
* (OSX non-Metal build) Set disable execute page protection

* Rewrite commands and add new command type

This moves commands to a separate file and creates a consistent
interface for them. It is now possible to use multiple command
interfaces simultaneously (stdin, network and UDS).
Implemented a new interface for Lakka, UDS based (so Linux only). This
allow other Lakka servies to send certain commands to Retroarch in a
secure and reliable way.

Co-authored-by: twinaphex <libretro@gmail.com>
2021-04-05 19:55:59 +02:00
jdgleaver 32bdb49496 Ensure that 'retro_set_controller_port_device' is called when updating 'Max Users' 2021-03-29 15:32:29 +01:00
Ryunam f3aaf24219 Add Run-Ahead Toggle hotkey with notifications 2020-11-06 21:39:11 +01:00
Tony Jansson eb5e5b546c Hotkey for Close Content 2020-09-08 22:12:42 +03:00
twinaphex b8058a93e1 Reorder structs, alignment 2020-08-15 23:10:31 +02:00
twinaphex bece92abb2 Turn command_set_shader private 2020-02-01 17:17:36 +01:00
twinaphex 96018412c0 Cleanups 2020-02-01 03:27:58 +01:00
jdgleaver b5eba22aaf Disk control interface improvements 2020-01-14 12:30:08 +00:00
twinaphex 60932b18ad All these functions can be made static 2019-08-10 04:52:33 +02:00
twinaphex d36f6d8a1d Turn more functions static 2019-07-24 15:02:40 +02:00
twinaphex 45d94efdf4 Cleanups 2019-07-22 21:22:52 +02:00
twinaphex 12823821ff CMD_EVENT_AUDIO_SET_NONBLOCKING_STATE - no longer necessary 2019-07-22 21:10:42 +02:00
twinaphex d27cdf90e2 The intent of command_event became muddied over time - it
should only be used for user-facing operations, not anything internal
to RetroArch that we don't want exposed to the outside through
bindable commands
2019-07-22 18:10:16 +02:00
twinaphex 7fe0662918 Cleanups 2019-07-20 12:51:52 +02:00
Barry Rowe e9625b3ed9 AI Service feature. 2019-06-21 17:48:35 -07:00
twinaphex 53c91d6e56 More runloop cleanups - create HOTKEY_CHECK3 2019-06-09 08:48:59 +02:00
twinaphex 640fb3a5cb command.c / retroarch.c cleanups 2019-06-09 08:35:16 +02:00
twinaphex 5d301f321d Refactor hotkey checks 2019-06-08 15:19:15 +02:00