Commit Graph

8066 Commits

Author SHA1 Message Date
twinaphex bd1e06bbb7 Group identical functions 2017-11-26 06:03:34 +01:00
twinaphex f15aaa0b2c Reduce differences between the two functions 2017-11-26 05:07:35 +01:00
twinaphex dee66ab6bb Get rid of this - seems to be a highly problematic codepath in
general
2017-11-26 05:04:18 +01:00
twinaphex 771efdabc0 Fix edge case issue where game's label was not being properly set
when loading two games one after another from a playlist/collection -
the previous game's name was being used instead
2017-11-26 03:01:28 +01:00
twinaphex 9875bbbd7d Silence some Coverity warnings 2017-11-26 01:06:48 +01:00
twinaphex df7513be27 Cleanups 2017-11-25 23:39:31 +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 bf8cfe4123 Add HAVE_MENU ifdef 2017-11-25 22:00:56 +01:00
twinaphex a2f721a623 Cleanups 2017-11-25 21:54:30 +01:00
twinaphex ee26a2f2af Restore this 2017-11-25 21:52:30 +01:00
twinaphex aa14dca1b9 Cleanups 2017-11-25 21:51:32 +01:00
twinaphex c992d92c99 Updates 2017-11-25 21:45:28 +01:00
twinaphex 7f3738d3cd More refactoring 2017-11-25 21:40:29 +01:00
twinaphex 086ff6e60a More refactoring 2017-11-25 21:35:00 +01:00
twinaphex 1d9d6d2f40 Refactoring some identical code 2017-11-25 21:18:25 +01:00
Rob Loach 7e7c17596d
Add Add To Favorites Playlist icon id 2017-11-25 12:51:12 -05:00
Twinaphex 3902d4c1cf Fix warning 2017-11-25 05:53:56 +01:00
Twinaphex 45fb685375
Merge pull request #5762 from hiddenasbestos/extend_input_bits
Extend input bind limit to 256
2017-11-24 14:48:53 +01:00
David Walters 5be7921445 reimplement using retro_bits_t; pass by ref; raise bind limit to 256 2017-11-24 11:19:17 +00:00
radius 9b19d334c7 use a single list for achievements 2017-11-23 22:49:11 -05:00
David Walters b0e383d5f0 Extend input bind limit to 128 2017-11-23 23:04:09 +00:00
GameDragon2k 2b9636d782 Add xmb menu items 2017-11-23 11:55:53 -05:00
GameDragon2k cfe59bcf2a Cheevos badges 2017-11-23 08:04:54 -05:00
GameDragon2k 8b9ad28ecb channges to populate and apply badges. 2017-11-23 07:56:47 -05:00
GameDragon2k 84e80e47df Initial test for badge icon 2017-11-23 07:53:24 -05:00
Twinaphex d36d3e2c89
Update menu_dialog.c 2017-11-21 04:38:38 +01:00
Rob Loach 9e3d6adf6e
Fix coding standard 2017-11-20 18:47:27 -05:00
Rob Loach 25c116e192
Fix strdup() memory leak 2017-11-20 18:46:07 -05:00
Fayne Aldan 69212cf7c7
Move Retrosystem to end
Enums shouldn't be reordered
2017-11-20 15:19:36 -07:00
twinaphex ed9cd1a70d MSVC 2005 - buildfix 2017-11-20 17:54:13 +01:00
Twinaphex 731db6a4be
Merge pull request #5663 from bkoropoff/mame-member
scanner: allow matching archives by member
2017-11-19 23:58:32 +01:00
radius 4a09dfdb30 fix netplay join with touch 2017-11-19 16:47:34 -05:00
radius b7f3bede61 hook up touch callback 2017-11-19 16:04:22 -05:00
radius 8f14a92c54 console build fixes 2017-11-19 15:50:01 -05:00
radius e9afdb327e styling fixes 2017-11-19 09:56:20 -05:00
radius b430b772b5 j is initialized as zero already, i should be netplay_room_count 2017-11-19 09:54:28 -05:00
radius 9b673152f7 fix C89 errors 2017-11-19 09:41:36 -05:00
radius 149469515f Fix lan rooms
Squashed commit of the following:

commit 6e1fea3b16bb330ed2862eb00d2e911221c48a34
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 22:16:02 2017 -0500

    use the baked in address instead of sockaddr

commit 84f2d389fd6352b3037f48c18d133d2f1063d461
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 22:05:57 2017 -0500

    send replies

commit c6733009cc5a25e58391c5fc693b277ea27404b3
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 21:53:12 2017 -0500

    send replies

commit a6816c9481f7ea89a3c97597233e54c6354716e7
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 21:46:55 2017 -0500

    send replies

commit c2453b73ccafbd53192507affbc11d5f279c2e7c
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 21:26:34 2017 -0500

    look for common interfaces

commit fb42e6470242689f5e6160149ef91f0f0abf068d
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 20:06:50 2017 -0500

    send broadcasts in all interfaces

commit b7730596df9775fb815007689e9c7cc06b317b03
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 20:00:17 2017 -0500

    send broadcasts in all interfaces

commit b620a78052d1b95e81d346f3e5efb233e0547793
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 14:30:31 2017 -0500

    add more logging

commit c016c7d559cd631172a58f99cd3e1a1365965b8e
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 14:12:03 2017 -0500

    update log messages

commit 0a49ba61f56f2ca483fa76c7a04f0709c68b95ad
Author: radius <andres.430@gmail.com>
Date:   Sat Nov 18 13:50:47 2017 -0500

    fix lan room listing for rooms > 1, allow connecting in arbitrary ports
2017-11-18 22:43:47 -05: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
Alfrix 1bd65c8f3e Add Retrosystem theme 2017-11-17 19:42:55 -03:00
twinaphex 6f2efe7f1e Add 'Add to Favorites' to playlist entries 2017-11-16 15:41:37 +01:00
twinaphex 40bb1da981 Cleanups 2017-11-16 14:23:03 +01:00
Rob Loach dd6ec31f3d
Fix for pressing ENTER on cheats 2017-11-15 22:19:29 -05:00
twinaphex 721b5f9529 Add set_mvp function callback 2017-11-15 16:51:29 +01:00
Twinaphex bc969d0bf7
Merge pull request #5666 from celerizer/master
RetroAchievements leaderboards
2017-11-15 11:30:13 +01:00
twinaphex 229841b1c4 Create video_driver_set_coords 2017-11-14 21:43:13 +01:00
twinaphex 41daddfe1c Create video_driver_set_mvp 2017-11-14 21:22:44 +01:00
twinaphex 5879e551a5 Pass video_info to font driver functions 2017-11-13 10:42:40 +01:00
twinaphex 67fea30406 Remove remaining references to HAVE_FBO 2017-11-13 08:55:41 +01:00
celerizer 33d8031593
RetroAchievements leaderboard strings 2017-11-09 20:19:57 -06:00
celerizer 7e7363305b
RetroAchievements leaderboard strings 2017-11-09 20:16:47 -06:00
celerizer dcfcfe8d70
RetroAchievements leaderboard strings 2017-11-09 20:10:06 -06:00
celerizer 5976f34805
RetroAchievements leaderboard strings 2017-11-09 20:07:36 -06:00
rz5 0d7f9c7cf0
(xmb) De-hardcode the size of 'tabs' array
As per @bparker06's recommendation.

First element of the enum is forced to be zero, so we can add a tail to the enum that we can use to query its max length.
2017-11-06 20:20:14 +00:00
Twinaphex 5136ec2df0 Updates 2017-11-06 05:37:32 +01:00
rz5 82de482b9f
(xmb) Fixed array index out of bounds
Caught by asan:

menu/drivers/xmb.c:3491:16: runtime error: index 8 out of bounds for type 'uint8_t [8]'
menu/drivers/xmb.c:1149:23: runtime error: index 8 out of bounds for type 'uint8_t [8]'
2017-11-06 01:06:13 +00:00
Jean-André Santoni 4e463123af (Lakka) Flag some advanced settings 2017-11-04 11:27:31 +07:00
celerizer bf50bd1df3
sublabels for new RA features 2017-10-31 01:19:55 -05:00
celerizer e41c79daed
Add files via upload 2017-10-31 01:18:53 -05:00
Brad Parker 598285b461 add missing include for lakka 2017-10-30 17:08:54 -04:00
Brad Parker 68a8198e4a convert more file IO functions to use filestream, fixes encoding issues on Windows 2017-10-29 12:08:24 -04:00
Jean-André Santoni 77cd18e6bc Remove obsolete SD_FLAG_LAKKA_ADVANCED 2017-10-26 18:38:12 +07:00
Jean-André Santoni 94309a65cf Remove obsolete HAVE_LAKKA ifdefs 2017-10-26 17:58:41 +07:00
twinaphex bb051f185b MSVC/C89 buildfixes 2017-10-22 05:13:22 +02:00
Jean-André Santoni dc7b1c122b Hide savestates in the quickmenu if hardcore achievements are enabled. Fixes libretro/Lakka-LibreELEC#192 2017-10-21 19:12:00 +07:00
Jean-André Santoni 63ba8be296 (Menu) Reset the navigation pointer when closing content 2017-10-21 18:55:00 +07:00
twinaphex e9708be756 Prevent Coverity warning 2017-10-19 23:02:18 +02:00
twinaphex 8464ad30bd (Xbox 360) Buildfixes 2017-10-16 01:33:17 +02:00
Twinaphex e86e237ed7 Merge pull request #5552 from bparker06/win32_file_encoding
win32: support local multibyte encoding for file paths
2017-10-15 13:07:18 +02:00
Brad Parker 338723bc31 fix some null pointer accesses with empty strings 2017-10-15 00:39:55 -04:00
Brad Parker a7c8cc88e5 win32: support local multibyte encoding for file paths 2017-10-14 23:13:24 -04:00
Brad Parker ee7590868a add option to remove frame count from FPS display 2017-10-13 20:35:55 -04:00
Brad Parker 256bde3478 add menu settings for OSD text color 2017-10-12 14:26:17 -04:00
Twinaphex 01f8e4e74f Merge pull request #5539 from Brunnis/master
XMB: Fix playlist entry graphic update issue when all system tabs except Main Menu are disabled
2017-10-12 14:08:38 +02:00
Twinaphex 81a5b6c2c2 Merge pull request #5535 from RobLoach/fix/RobLoach/remove-GL_SCISSOR_TEST
Fix background rendering when resizing window
2017-10-12 10:02:25 +02:00
Brunnis a87cf6d2e7 Fix issue in XMB where playlist entry graphic wouldn't update when scrolling through the first playlist tab, if all system tabs except the Main Menu tab were disabled. 2017-10-12 09:49:59 +02:00
radius 840e772b16 move scissor test to nuklear driver exclusively 2017-10-11 22:48:13 -05:00
Rob Loach 1b856f7a1e
Fix background rendering
Removes the use of GL_SCISSOR_TEST in the GL display driver.

Fixes #5534
2017-10-11 21:30:57 -04:00
Twinaphex cadc4f56a3 Merge pull request #5530 from lucianposton/fix-compilation
Fix build by removing settings var from ifdef
2017-10-11 17:29:13 +02:00
Brunnis cc3d2b0084 Merge branch 'master' into kiosk-mode-setting 2017-10-11 11:40:05 +02:00
Brunnis 39619d1245 Implemented new Kiosk Mode setting which hides all configuration related settings/tabs in XMB. 2017-10-11 11:30:53 +02:00
Lucian Poston 69a18324c0 Remove settings from ifdef 2017-10-11 02:12:21 -07:00
radius 5ccdc8811c update nuklear.h
fix window clipping
remove dead code
2017-10-10 18:08:53 -05:00
Brad Parker a4bc1c9768 add menu options for OSD background color 2017-10-10 14:53:32 -04:00
Brunnis b1a6753976 Merge branch 'master' into quick-menu-show-hide-options 2017-10-09 12:05:04 +02:00
Mikael Brunnhede c7da6e1ca8 Fix issue with "Information" option being hidden when launching content. 2017-10-09 11:21:10 +02:00
Mikael Brunnhede 1053a4e38f Implemented setting for showing/hiding the "Information" option in the Quick Menu. 2017-10-09 11:16:04 +02:00
Mikael Brunnhede 6f8201d398 Implemented setting for showing/hiding the "Save Game Overrides" option in the Quick Menu. 2017-10-09 10:53:58 +02:00
Mikael Brunnhede 3f1dd895da Implemented setting for showing/hiding the "Save Core Overrides" option in the Quick Menu. 2017-10-09 10:44:37 +02:00
Mikael Brunnhede b7654dac7e Implemented setting for showing/hiding the "Shaders" option in the Quick Menu. 2017-10-09 10:30:25 +02:00
Mikael Brunnhede a64683ba34 Implemented setting for showing/hiding the "Cheats" option in the Quick Menu. 2017-10-09 10:17:15 +02:00
Mikael Brunnhede d5a802e4a8 Implemented setting for showing/hiding the "Controls" option in the Quick Menu. 2017-10-09 10:05:32 +02:00
Mikael Brunnhede d25916cacf Implemented setting for showing/hiding the "Options" option in the Quick Menu. 2017-10-09 09:56:27 +02:00
Mikael Brunnhede 9356c326e0 Implemented setting for showing/hiding the "Add to Favorites" option in the Quick Menu. 2017-10-09 09:46:42 +02:00
Mikael Brunnhede db0e0f443a Implemented setting for showing/hiding the options for undoing save/load state in the Quick Menu. 2017-10-09 09:30:53 +02:00
Mikael Brunnhede b402b4a6cd Implemented setting for showing/hiding the save/load state related options in the Quick Menu. 2017-10-09 09:13:00 +02:00
Mikael Brunnhede e286c5dda2 Implemented new settings menu view: User Interface -> Views -> Quick Menu.
Implemented setting for showing/hiding the "Take Screenshot" option in the Quick Menu.
2017-10-09 08:14:52 +02:00
Twinaphex ed061fd27b Merge pull request #5516 from Brunnis/main-menu-show-hide-options
New settings for showing/hiding Main Menu tab options in XMB
2017-10-07 17:03:34 +02:00
Mikael Brunnhede 84701efd24 Don't hide option for showing/hiding "Online Updater" on Lakka. 2017-10-07 13:50:31 +02:00
Mikael Brunnhede 83991d6c36 Implemented setting for showing/hiding the "Reboot" option in XMB. The setting is only shown on Lakka. 2017-10-06 09:40:41 +02:00
Mikael Brunnhede 9db0e9dbc6 Implemented setting for showing/hiding the "Quit RetroArch" option in XMB. The setting is only shown on Lakka. 2017-10-06 09:27:42 +02:00
Mikael Brunnhede f073d5167a Implemented setting for showing/hiding the "Help" option in XMB. 2017-10-06 08:28:45 +02:00
Mikael Brunnhede 7ee1797fa1 Implemented setting for showing/hiding the "Configurations" option in XMB. 2017-10-06 08:18:39 +02:00
Mikael Brunnhede 19b313c221 Implemented setting for showing/hiding the "Information" option in XMB. 2017-10-05 14:30:15 +02:00
twinaphex 1e3da091a5 Get rid of some hashes 2017-10-05 11:44:11 +02:00
Mikael Brunnhede 0eb5566dea Implemented setting for showing/hiding the "Load Content" option in XMB. 2017-10-05 09:26:25 +02:00
Mikael Brunnhede cc3b64f951 Implemented setting for showing/hiding the "Load Core" option in XMB. 2017-10-05 09:14:05 +02:00
twinaphex 856fccd65c Update 2017-10-05 05:27:43 +02:00
twinaphex 489acabdf4 Update 2017-10-05 05:26:46 +02:00
twinaphex 9829019306 Update 2017-10-05 05:23:54 +02:00
twinaphex 032109512a Fix more Coverity errors 2017-10-04 08:37:21 +02:00
twinaphex bb6ca3e4ff Fix playlists in non-horizontal mode 2017-10-04 08:26:41 +02:00
twinaphex 1763a2ef7b Rename menu_displaylist_parse_history to menu_displaylist_parse_generic 2017-10-04 07:22:06 +02:00
twinaphex 8238545bef Cleanups 2017-10-04 06:53:47 +02:00
twinaphex 6bb5af8ee0 Cleanups 2017-10-04 06:36:23 +02:00
twinaphex 9cdea532ce Fix typo 2017-10-04 06:34:53 +02:00
Twinaphex 59ec089c2e Merge pull request #5505 from heuripedes/master
Fix crash when navigating immediately after disabling horizontal animations
2017-10-04 02:21:26 +02:00
Higor Eurípedes fca48021aa (xmb) Fix whitespace 2017-10-03 21:16:11 -03:00
Higor Eurípedes 6ed9f28656 (xmb) Set selection_ptr_old to zero when animations are off 2017-10-03 21:15:35 -03:00
Higor Eurípedes f59470c523 Do not try to find a setting for database entries 2017-10-03 20:31:08 -03:00
twinaphex 3b8559dafc Prevent null pointer dereference 2017-10-04 00:16:38 +02:00
Twinaphex e3ef431b79 Merge pull request #5501 from Brunnis/master
Don't show "Enable Settings Tab" option in RGUI
2017-10-03 11:36:12 +02:00
Mikael Brunnhede 46ed23e649 Don't show "Enable Settings Tab" option in RGUI. 2017-10-03 09:12:05 +02:00
twinaphex 79908ec8d4 Cleanups 2017-10-03 05:34:05 +02:00
twinaphex d0d6d0bfe8 Prevent null pointer dereference here too 2017-10-03 04:26:34 +02:00
twinaphex 02ee7df743 Do a NULL check 2017-10-03 04:25:31 +02:00
twinaphex 71dd8f9084 Silence more warnings 2017-10-03 00:56:18 +02:00
twinaphex 702f1276d6 Silence warnings 2017-10-03 00:53:09 +02:00
Alcaro c91c4ff9c0 Nuke some more ifdefs and warnings 2017-10-03 00:35:41 +02:00
Alcaro dc4c2cd6d9 Wipe out a buncha warnings and pointless ifdefs (some warnings will remain until #5497 is fixed) 2017-10-03 00:26:29 +02:00
Twinaphex 9c89b3e546 Merge pull request #5496 from Brunnis/master
Add setting for showing/hiding the ability to rename playlist items
2017-10-02 22:37:50 +02:00
twinaphex bb2702ef2f (Xbox) Some buildfixes 2017-10-02 22:35:06 +02:00
Mikael Brunnhede af7df0cba3 Add setting for showing/hiding the ability to rename playlist items. 2017-10-02 22:17:44 +02:00
twinaphex 721afe22d8 (MSVC 2010) Compile griffin.c as C 2017-10-02 22:06:32 +02:00
twinaphex cdb24aff1c (RGUI) Silence warning 2017-10-02 20:33:46 +02:00
twinaphex 0db3aec722 Convert menu_display_d3d.cpp to C 2017-10-02 19:04:49 +02:00
twinaphex bceb8000dd Use replacement D3DXMatrix functions 2017-10-02 19:01:23 +02:00
twinaphex 8d850dc0bd CXX_BUILD fixes 2017-10-02 07:07:18 +02:00
Hans-Kristian Arntzen 43b4c65b1e Fix crash in MaterialUI on reinit.
Can't cache pointers. Cache the index instead.
2017-10-01 20:00:20 +02:00
twinaphex cc988cf559 Trying to prevent Coverity error 2017-10-01 18:28:07 +02:00
twinaphex 1d960e0c42 Try to silence Coverity error 2017-10-01 18:23:40 +02:00
twinaphex 710c70f838 Remove another wrapper function 2017-10-01 17:43:38 +02:00
twinaphex 2b55e5858e Remove menu_entries_get_actiondata_at_offset 2017-10-01 17:25:41 +02:00
twinaphex df15a67c71 Remove menu_entries_get_last 2017-10-01 17:20:01 +02:00
twinaphex e66ef15580 Remove another useless wrapper function 2017-10-01 17:17:53 +02:00
twinaphex a87bef6ed0 Remove useless wrapper function 2017-10-01 17:11:09 +02:00
twinaphex 3cac2a6df8 (MUI) Fix memory leak 2017-10-01 16:51:09 +02:00
Brad Parker a11d04f252 xmb: check that node exists before dereferencing it 2017-10-01 02:08:41 -04:00
twinaphex 849538b15c (MUI) Do texture unload before loading the new wallpaper 2017-09-30 20:03:51 +02:00