Commit Graph

687 Commits

Author SHA1 Message Date
radius 9d490ace3b [record] deinit before init 2018-09-15 17:54:00 -05:00
radius 49214de125 [record] start whipping some sense into this feature 2018-09-15 17:49:39 -05:00
twinaphex 09d27fc591 Silence some warnings 2018-09-15 07:19:51 +02:00
radius 4d0729187f [discord] start getting ready for ask-to-join functionality, cleanup some of the mess 2018-09-12 01:45:27 -05:00
Andre Leiradella 7b5e317ad0 Fix merge error 2018-09-02 14:50:16 +01:00
Andre Leiradella 83169e5fcb Merge branch 'master' into integrate_rcheevos 2018-09-02 14:46:48 +01:00
Andre Leiradella 613a3e8479 Integrated rcheevos 2018-09-02 14:23:37 +01:00
neville 5af0e58288 - Unset BOM
- remove non-latin characters - won't compile on OSX PPC otherwise
2018-08-30 16:05:51 +02:00
Jesse Bryan 44180e55b1 Merge branch 'master' of https://github.com/libretro/RetroArch into discord_improvements 2018-08-20 08:30:57 -05:00
Brad Parker b0146abd11 add fullpath and use_thread parameters to take_screenshot() 2018-08-18 23:08:55 -04:00
Jesse Bryan fd7d8d9424 Merge branch 'master' of https://github.com/libretro/RetroArch into discord_improvements 2018-08-18 02:12:56 -05:00
Jesse Bryan a0cf6b6b5e discord: added additional discord events and other improvements 2018-08-18 02:12:51 -05:00
Brad Parker dfd85125ad fix null deref 2018-08-18 01:10:05 -04:00
twinaphex f9e8737476 Remove libui - we don't need it anymore now that we have the Qt desktop
UI
2018-08-16 21:34:20 +02:00
twinaphex 6266065384 Fix more code when compiling without menu support 2018-08-16 09:59:51 +02:00
twinaphex e2e43e6ade Update - make sure non-HAVE_MENU targets can compile 2018-08-16 09:51:03 +02:00
Brad Parker 341cf63399 Qt: show shader pass in parameters window, reload shader params when shader is reloaded 2018-08-14 21:38:52 -04:00
twinaphex 5ebe5de1b9 Add resource files 2018-08-14 17:24:35 +02:00
twinaphex 356c829f81 Revert "Revert "fix heap-use-after-free""
This reverts commit 6b4cfdc043.
2018-08-12 16:33:24 +02:00
twinaphex 6b4cfdc043 Revert "fix heap-use-after-free"
This reverts commit 73f271021a.
2018-08-12 09:22:32 +02:00
Brad Parker 73f271021a fix heap-use-after-free 2018-08-11 21:19:56 -04:00
twinaphex fc176c1fa6 Put this around HAVE_DISCORD ifdefs 2018-08-08 07:35:11 +02:00
Sven b648d70f27 add option to auto-apply cheat codes when a game loads ; fix some misc bugs in cheat engine 2018-08-07 17:34:46 -04:00
twinaphex 5b9115c848 C89_BUILD fixes 2018-08-01 01:27:30 +02:00
twinaphex 7131b969d8 (Android) Buildfixes 2018-07-29 19:04:53 +02:00
Sylvain Colinet 011cb61782 Added a version command 2018-07-29 15:15:29 +02:00
Sylvain Colinet ef43e171ce Network command interface : Fix the READ_CORE_RAM command to not crash when asking for size over 78 2018-07-29 14:49:31 +02:00
Sven c750235414
Merge branch 'master' into cheater 2018-07-26 19:40:20 -04:00
Sven 5f35249216 Implement robust cheat searching interface with rumble features 2018-07-25 19:19:14 -04:00
twinaphex bea736865b Add some logs 2018-07-23 00:10:35 +02:00
twinaphex 311b454a2c Change return value to true instead for command_event_save_core_config 2018-07-15 05:58:01 +02:00
twinaphex 675b8bb9e2 Cleanup some code in command_event 2018-07-15 05:50:08 +02:00
Sven 83da70586e implement a way to set rewind_buffer_size via the UI 2018-07-13 16:12:09 -04:00
Brad Parker 04311695aa netplay: always use configured port instead of hardcoding, and don't ask for IP address if one is already set. fixes #6626 2018-06-27 23:03:27 -04:00
twinaphex d27b6265a0 Add more HAVE_MPV ifdefs 2018-06-20 04:50:58 +02:00
twinaphex e39b92a1f0 Another buildfix 2018-06-18 01:44:17 +02:00
Zoran Vuckovic b487c3cace Add MIDI support 2018-06-16 21:17:32 +02:00
twinaphex b1ec722a75 Buildfix 2018-05-29 18:55:18 +02:00
twinaphex ddbc0d53c0 Add Discord Enable option to Settings -> Privacy 2018-05-29 12:41:13 +02:00
radius d5c2bc90c1 add discord files 2018-05-28 23:46:36 -05:00
Dwedit af2f679ff5 Fix the reset command not closing the menu 2018-05-17 09:49:45 -05:00
radius f81ea09f20 add saving, deletion options for per-dir remaps 2018-05-13 23:17:44 -05:00
radius 0a0365e49a add menu entries 2018-05-13 22:33:06 -05:00
twinaphex 45cd860835 Cleanup variables never used 2018-05-14 00:30:30 +02:00
radius 1037093d45 cleanup cheevos hardcore conditions 2018-05-13 13:40:30 -05:00
radius 504317ac7e cheevos fixes, reenable menu entries if cheevos are disabled on the fly 2018-05-13 13:40:29 -05:00
Dwedit f94c736945 Small Bugfix, do not have Reset command trigger savestate code 2018-05-09 17:42:30 -05:00
Brad Parker a1aefc901c Qt WIMP GUI 2018-04-30 14:33:05 -04:00
radius 0964444e06 prevent crashing in cores that don't range check retro_set_controller_port 2018-04-25 19:51:55 -05:00
twinaphex 6e299065ce Remove RARCH_MENU_CTL_PLAYLIST_ calls - use playlist_init_cached,
playlist_get_cached, and playlist_free_cached from now on (defined
in playlist.h) - no more menu dependencies on cached playlists
2018-04-10 17:51:40 +02:00
twinaphex 86ea98605d (MSVC 2010) Buildfix 2018-04-10 06:50:47 +02:00
twinaphex c9e48cd9de Cleanups / get rid of more dependencies 2018-04-10 04:31:19 +02:00
twinaphex 8ca8f92aeb No more configuration.h dependencies in core_info.c 2018-04-10 03:02:10 +02:00
twinaphex df58d5a7d9 Fix C89_BUILD 2018-03-24 16:11:10 +01:00
markwkidd b984abb371 pass address of unsigned index 2018-03-24 10:15:41 -04:00
Twinaphex 5c82ef3ee3
Merge pull request #6423 from markwkidd/playlist-core-reset
"reset associated core" feature for playlists
2018-03-22 21:40:19 +01:00
twinaphex f597fd7a11 Add HAVE_CHEEVOS support for MSVC 2010 2018-03-22 20:42:06 +01:00
markwkidd 4312c11d31 demonstration of core association reset
fix .cfg:

tweak
2018-03-18 16:41:49 -04:00
Ryunam c5775fd73c Implement Slow motion toggle 2018-03-10 18:42:45 +01:00
twinaphex 74309e6e1c shader code - Get rid of more hashes 2018-02-25 17:20:22 +01:00
radius d254c3eca4 subsystem part 3: fix saves 2018-02-12 02:39:26 -05:00
radius 1b1ec37f36 subsystem part 3: these can be static again 2018-02-12 02:39:25 -05:00
radius d3484528d1 subsystem part 2: load content? 2018-02-12 02:39:25 -05:00
Andrés 42e93f3197 restore missing code pieces of my last PR (#6261) 2018-02-08 22:24:18 -05:00
twinaphex 9dc597cf6c Undo all menu hash related changes - was causing more harm
than good - apologies to radius since we now have to recode
his shader changes PR
2018-02-09 01:51:37 +01:00
radius 11df736662 coverity fixes 2018-02-07 21:26:03 -05:00
radius 4eb7ca5db1 better fix for shader next / shader prev 2018-02-07 21:26:03 -05:00
radius 37454f79a8 fix SHADER_NEXT/SHADER_PREV 2018-02-07 21:26:00 -05:00
radius c64d5556c1 readd shader to config, let's use a runtime check instead of overwritting the shader preset all the time 2018-02-07 21:25:59 -05:00
twinaphex bcea63b177 Cleanups 2018-02-05 14:34:54 +01:00
twinaphex 32888c1f17 Cleanup some allocations 2018-02-04 23:02:52 +01:00
Gregor Richards c8ec048459 More netplay flip nonsense to tear out. 2018-01-05 14:27:02 -05:00
Gregor Richards 8d5a79fc69 Removing long-obsolete now-disfunctional "netplay flip players" feature 2018-01-05 14:27:02 -05:00
aliaspider e653a33237 fix warning. 2018-01-04 17:38:31 +01:00
orbea b4e5f61713 Hide mouse cursor CMD_EVENT_REINIT in fullscreen. 2018-01-03 02:05:25 -08:00
twinaphex 472a792d88 Silence warnings/errors 2018-01-02 06:40:19 +01:00
twinaphex a6afddae04 current_input_data and current_input are no longer globals 2017-12-29 23:03:25 +01:00
radius a7f989fdb6 fix fullscreen toggle 2017-12-17 13:16:40 -05:00
twinaphex c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
radius bb5f7d1cc1 remove this again, it causes issues saving remaps/presets/overrides 2017-11-26 18:22:59 -05:00
twinaphex 97f971fd46 Fix C89 build 2017-11-26 22:38:12 +01:00
radius 6e67a6ba63 let's just clear basename instead (used to populate override, remaps, shader preset paths 2017-11-26 13:43:00 -05:00
radius 2dda04787a only disable states when hardcore mode is enabled 2017-11-26 13:40:08 -05:00
radius bc69737dae remove this, it's causing issues with the history list 2017-11-26 13:40:08 -05:00
radius db2ce016de clear paths properly before loading the next core without closing content 2017-11-26 11:33:18 -05:00
twinaphex 8cc2e9bade Cleanups 2017-11-25 23:06:25 +01:00
twinaphex e8b21cbafe Refactor code 2017-11-25 22:59:47 +01:00
twinaphex b604a1871a Create command_playlist_update_write_file and move it to command.c 2017-11-25 22:54:42 +01:00
twinaphex cb16aac7ce Revert "Invoke MAPPER_INIT after CONTROLLERS_INIT"
This reverts commit fdf79e2e9b.
2017-11-24 22:18:36 +01:00
twinaphex fdf79e2e9b Invoke MAPPER_INIT after CONTROLLERS_INIT 2017-11-24 17:30:08 +01:00
twinaphex a6f2e46b6a Cleanups - don't call path_get so often 2017-11-24 06:40:13 +01:00
twinaphex 096686140d Rewrite command_event_save_config 2017-11-23 18:07:28 +01:00
twinaphex c0567266b1 Fix mistake 2017-11-21 19:40:39 +01:00
twinaphex 29b421512a Try to be safer 2017-11-21 19:22:44 +01:00
Supernature2k d9afa9170c
Fix https://github.com/libretro/RetroArch/issues/5737
fix issue with network command working only 1 time each
see https://github.com/libretro/RetroArch/issues/5737
2017-11-21 12:04:47 +01:00
Brian Koropoff 711877b056 content: preserve info for history/favorites
If the content came from a playlist, use the original label.
Preserve the core path and name in the favorites list.
2017-11-17 16:55:32 -08:00
twinaphex 6f2efe7f1e Add 'Add to Favorites' to playlist entries 2017-11-16 15:41:37 +01:00
Twinaphex 9279c33711 Merge pull request #5586 from leiradel/master
Moved all cheevos_var_t related stuff to their own files
2017-10-22 18:26:09 +02:00
Andre Leiradella cd918390bb Moved all cheevos_var_t related stuff to their own files 2017-10-22 17:11:23 +01:00
orbea 565701b197 Return to content when Reset is used.
Fix https://github.com/libretro/RetroArch/issues/4805
2017-10-22 02:26:47 -07:00
orbea f1192ca8ac Fix --disable-networking.
Fixes https://github.com/libretro/RetroArch/issues/2663.
2017-10-21 19:22:14 -07:00
twinaphex 7cf1793801 Silence some static code analysis warnings 2017-10-11 21:46:18 +02:00
twinaphex 9dde5fc33f Update 2017-09-30 17:34:28 +02:00
not6 547557d443 fix wiiu build 2017-09-28 23:35:07 +02:00
twinaphex f21c520e28 Cleanups 2017-09-28 09:29:36 +02:00
twinaphex bb4a659abb Update 2017-09-28 09:23:30 +02:00
twinaphex ee8d8e1be6 Buildfix 2017-09-28 09:19:43 +02:00
twinaphex bb9efe9bf1 command.c - cleanups 2017-09-28 09:17:58 +02:00
twinaphex cb92ad77d2 Remove ifdef conditionals from command.h 2017-09-27 23:59:18 +02:00
radius 971458c039 only set_controller=true for the number of ports the core supports 2017-09-17 12:44:17 -05:00
radius e687e2bf6d reset controllers when the core has set controller info 2017-09-12 02:02:52 -05:00
radius 46ed484b69 Revert "Always set controller port device descriptors" for now
This reverts commit 0ced9ca913.
2017-09-12 01:46:47 -05:00
radius 6a561f6414 input remapping cleanups 2017-09-11 22:49:39 -05:00
twinaphex 0ced9ca913 Always set controller port device descriptors 2017-09-12 04:29:37 +02:00
radius fe8a0657b4 add input_mapper scafolding 2017-09-11 00:20:20 -05:00
twinaphex 12957e461d Reduce more stack usage for offending functions 2017-09-09 05:26:14 +02:00
twinaphex e16371b8a5 Merge input_config.c and input_driver.c 2017-08-31 02:25:04 +02:00
Jean-André Santoni 2ff6bee726 (Menu) Feedback when adding a content to favorites 2017-08-18 15:59:44 +07:00
twinaphex adc3b4b726 Playlist file needs to be written to when we add an entry to
Favorites
2017-08-16 22:43:42 +02:00
Rob Loach 7c54cebfb3
Merge branch 'master' of github.com:libretro/RetroArch into favorites 2017-08-13 21:20:22 -04:00
Jean-André Santoni b906da5131 Save the favorites to the disk 2017-08-14 00:50:16 +02:00
Jean-André Santoni b1daf18772 add_to_favorites OK callback 2017-08-14 00:42:56 +02:00
Jean-André Santoni 9dfb39c672 Start implementing the callback for add-to-favorites 2017-08-14 00:29:38 +02:00
Rob Loach 772c126f1e
Merge branch 'master' of github.com:libretro/RetroArch into libui 2017-08-12 20:50:19 -04:00
Rob Loach f4283f6de0
Add HAVE_LIBUI define 2017-08-12 18:43:16 -04:00
Jean-André Santoni d037546a13 (XMB) Display favorites tab, part 2 2017-08-12 17:10:14 +02:00
twinaphex 921418af03 Backport this regression fix for builds with no network support - this
should presumably restore 3DS performance according to danieljg
2017-08-12 16:47:13 +02:00
Rob Loach ae5535c425
Merge branch 'master' of github.com:libretro/RetroArch into libui 2017-08-12 10:16:37 -04:00
radius 7b09cd34db fix #5257 2017-08-06 20:02:17 -05:00
twinaphex c6379a7c62 Missed break here 2017-08-06 15:31:38 +02:00
radius 2db79242c9 remove remaps 2017-08-05 11:21:07 -05:00
radius 9862b75b4b allow specifying libretro device and analog dpad mode on remap files 2017-08-05 11:21:06 -05:00
Rob Loach 0996291d91
libui: Changes for LIBUI 2017-08-01 12:25:08 -04:00
twinaphex 790cf1c27e C89_BUILD buildfix 2017-07-26 02:55:31 +02:00
radius b64fe2adc2 build fix for platforms without threads 2017-07-24 21:24:22 -05:00
radius fcbcfab3d9 disable SRAM autosave while netplay is underway 2017-07-24 20:13:53 -05:00
radius c2882164f9 reenable rewind if the user disables netplay 2017-07-24 20:13:53 -05:00
radius c101b4ccb3 netplay tweaks: disable rewind 2017-07-24 20:13:53 -05:00
twinaphex 790fcd2264 Add test for libui 2017-07-03 09:45:09 +02:00
twinaphex cdd7fbeb52 Add audio mixer volume setting 2017-06-08 22:58:43 +02:00
twinaphex 420d0d0607 Get rid of audio_driver_set_volume_gain 2017-06-08 22:24:51 +02:00
twinaphex 470c857470 Only unload core when it's not the dummy core 2017-06-06 06:16:43 +02:00
twinaphex c5fe9f4252 Build warning fix 2017-05-30 02:58:59 +02:00
twinaphex 449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd.
2017-05-30 01:44:49 +02:00
twinaphex a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
twinaphex 7fabbcebba Revert "Should get rid of the memory leaks to do with the system info"
This reverts commit 1808c6de57.
2017-05-29 03:24:15 +02:00
twinaphex 1808c6de57 Should get rid of the memory leaks to do with the system info 2017-05-29 01:40:46 +02:00
twinaphex 3fbed8df27 (Menu) Menu driver no longer uses a duplicate system info
struct
2017-05-28 17:21:57 +02:00
twinaphex c74104f8c9 Get rid of RARCH_MENU_CTL_SYSTEM_INFO_* 2017-05-28 16:25:46 +02:00
twinaphex dbbcba41a5 Clean this mess up 2017-05-28 15:03:03 +02:00
twinaphex 8e2753cc53 Music history list no longer tied to HAVE_FFMPEG 2017-05-28 00:00:51 +02:00
radius fabdc580ef readd manual connection option, cleanup old codepaths 2017-05-27 12:59:34 -05:00
twinaphex 11576f1d99 Cleanup 2017-05-27 03:43:53 +02:00
twinaphex a6789c5717 Update logs 2017-05-23 21:14:53 +02:00
radius 22a07eaf6c add logging 2017-05-22 01:05:39 -05:00
radius e8cc77e567 cleanup 2017-05-21 23:43:13 -05:00
radius 75182bfc6f fix errors due to rebase 2017-05-21 23:43:13 -05:00
radius d1291f406b allow connecting without reloading content when content_get_crc matches with that of the current loaded game 2017-05-21 23:43:12 -05:00
radius d87b85bdd1 fix LOBBY connect 2017-05-21 23:43:12 -05:00
twinaphex 0742ebec21 Get rid of local_enable variable 2017-05-20 16:32:57 +02:00
twinaphex 2139abe8b7 Cut down on code duplication 2017-05-20 15:50:38 +02:00
twinaphex 58787e6d89 (libretro-common) Create stdin_stream.c 2017-05-20 14:58:51 +02:00
twinaphex 3ae54e0eed Move send_udp_packet to libretro-common 2017-05-20 14:28:18 +02:00
twinaphex 59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +02:00
twinaphex d01b81749d Cleanups 2017-05-15 05:32:23 +02:00
twinaphex bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex 160c8167d6 Cleanups 2017-05-15 04:36:48 +02:00
twinaphex e2c7671e9f Create rarch_menu_running/rarch_menu_running_finished 2017-05-15 04:31:40 +02:00
twinaphex b22d7902f1 Turn macro back into function 2017-05-13 19:37:16 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
Twinaphex e3f854092f Remove unused variables 2017-05-09 01:53:03 +02:00
twinaphex 097515fa63 No longer have to grab settings pointer to get audio mute value 2017-05-08 21:39:08 +02:00
twinaphex 9605c01c49 Rename command_event_quit to retroarch_main_quit 2017-05-08 03:54:51 +02:00
twinaphex 0815055906 Pressing hotkey should invoke same operation as manually selecting
'Quit' from the menu - should hopefully fix issues with flushing
SRAM to disk/saving autostate
2017-05-08 03:41:23 +02:00
twinaphex 308ff366de Fix missing break in switch 2017-05-07 22:44:07 +02:00
Twinaphex 12027bf1a8 Merge pull request #4889 from leiradel/master
Reverted cheevos changes in preparation for conversion to task; fixed 4884
2017-05-07 20:28:32 +02:00
Andre Leiradella 844d1475e6 Reverted cheevos changes in preparation for conversion to task; fixed 4884 2017-05-07 19:06:03 +01:00
twinaphex a2fe3dcaaf Revert "Refactor BSV movie code"
This reverts commit 7dca09d6f8.
2017-05-07 18:28:07 +02:00
twinaphex 7dca09d6f8 Refactor BSV movie code 2017-05-07 18:21:58 +02:00
twinaphex e09358c712 Refactor bsv_movie_init code 2017-05-07 18:15:30 +02:00
twinaphex ce8083fd2e Create runloop_{set|unset} - only do autosave lock/unlock if
autosaves are actually active
2017-05-07 18:05:37 +02:00
twinaphex 4d20460e6b Cleanup task_save.c 2017-05-07 17:52:48 +02:00
twinaphex 33f2fe8029 Move cheevos.c to tasks/task_cheevos.c and add TODO/FIXME note 2017-05-06 05:50:46 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex 05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex 7bbd20b31d Move int settings 2017-04-28 19:12:48 +02:00
twinaphex 0da40fb3aa Move all float settings 2017-04-28 14:57:55 +02:00
twinaphex ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex 3e24672a43 Move bool settings 2017-04-28 12:23:59 +02:00
twinaphex cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
Twinaphex 129da8a802 Get rid of unused local variables 2017-04-25 17:19:31 +02:00
twinaphex e1e83b17b7 Wrap settings->input.libretro_device 2017-04-25 17:14:46 +02:00
twinaphex 15a8f0c485 Wrap some more settings manipulation 2017-04-25 15:31:32 +02:00
twinaphex df60fa7a19 Bugfix 2017-04-23 17:51:06 +02:00
twinaphex c9646c1fd2 Use configuration macro wrappers 2017-04-23 17:36:25 +02:00
twinaphex 3ec5816259 Rewrite RUNLOOP_CTL_SYSTEM_INFO_GET 2017-04-23 16:41:26 +02:00
Gregor Richards fbb508ab5e Make rewind compatible with netplay.
This commit adds support for temporary desync in netplay. When frontend
features that can't be truly synced, in particular rewind, are used,
netplay is momentarily disabled. As soon as the feature finished, e.g. a
rewind ending, netplay resumes with a state load. For rewind, netplay
peers won't actually experience the effect of rewind, but they will load
the rewound state.
2017-04-18 15:25:58 -04:00
twinaphex 0a8f7b9ff2 Simplify CMD_EVENT_AUDIO_STOP/CMD_EVENT_AUDIO_START 2017-04-18 04:11:34 +02:00
twinaphex 55dd4ac754 Simplifications 2017-04-18 03:52:01 +02:00