Commit Graph

8306 Commits

Author SHA1 Message Date
twinaphex
1523976d2c Updates 2018-02-06 00:26:00 +01:00
twinaphex
0e46a6b77e Update 2018-02-06 00:16:49 +01:00
twinaphex
410188ce90 Cleanups 2018-02-06 00:10:40 +01:00
twinaphex
cef20c4135 remove hash 2018-02-06 00:05:47 +01:00
twinaphex
532462702e Remove hash 2018-02-06 00:03:27 +01:00
twinaphex
76267cf05f Remove hashes 2018-02-06 00:00:55 +01:00
twinaphex
942c61cb58 Remove hashes 2018-02-05 23:58:10 +01:00
twinaphex
b726959297 Get rid of hashes 2018-02-05 23:49:46 +01:00
twinaphex
8e21e61923 Cleanups 2018-02-05 23:43:26 +01:00
twinaphex
754c9d4db9 Cleanup more hashes 2018-02-05 23:37:27 +01:00
twinaphex
fb1c44c900 Get rid of more hashes 2018-02-05 21:41:34 +01:00
Twinaphex
24ea73b218
Merge pull request #6240 from aliaspider/master
add basic support for arabic.
2018-02-05 21:25:48 +01:00
twinaphex
18c708d29a Get rid of more hashes 2018-02-05 21:22:57 +01:00
twinaphex
6fa5822bb2 Cleanup hashes 2018-02-05 21:14:49 +01:00
twinaphex
da070061b0 Cleanups 2018-02-05 21:09:59 +01:00
twinaphex
81859c805f Get rid of MENU_LABEL_FAVORITES 2018-02-05 20:59:59 +01:00
aliaspider
45580cb9a8 add basic support for arabic. 2018-02-05 20:54:55 +01:00
twinaphex
457d543cb1 Get rid of callback function hashes 2018-02-05 19:14:55 +01:00
twinaphex
c61230cdbe setting->name_hash can be safely removed now 2018-02-05 17:42:54 +01:00
twinaphex
85e7920b66 Start getting rid of msg_hash_calculate in menu code 2018-02-05 17:40:32 +01:00
twinaphex
e8941ec437 Get rid of more hashes in menu_generic.c 2018-02-05 17:14:03 +01:00
twinaphex
9e372c6c29 Prevent leak 2018-02-05 16:50:11 +01:00
twinaphex
1bbdad4621 Cleanups 2018-02-05 16:49:04 +01:00
twinaphex
0adba21410 Cleanup hashes 2018-02-05 16:18:32 +01:00
twinaphex
fb94ccbfd2 Remove some hashes 2018-02-05 15:55:58 +01:00
twinaphex
7e67a1bf36 Get rid of more hashes 2018-02-05 15:50:16 +01:00
twinaphex
562201bdd4 (deferred push) Refactor 2018-02-05 15:10:10 +01:00
twinaphex
e2617d56cf (deferred_push) Cleanups 2018-02-05 14:27:00 +01:00
twinaphex
eec5d7722b (deferred_push.c) Cleanups 2018-02-05 14:19:50 +01:00
twinaphex
a43d2b627a (Menu) Cleanups 2018-02-05 13:33:34 +01:00
twinaphex
27c6e3c5c4 (Zarch) Buildfix 2018-02-05 01:52:11 +01:00
twinaphex
b2963a9124 (menu_display_d3d.c) Turn this into HAVE_D3D8 conditional instead 2018-02-05 01:26:43 +01:00
Twinaphex
5483f5fc39
Merge pull request #6234 from aliaspider/master
various fixes for CXX_BUILD.
2018-02-04 20:08:43 +01:00
aliaspider
700fce3bd2 various fixes for CXX_BUILD. 2018-02-04 20:03:27 +01:00
twinaphex
dc4f7ec920 Buildfix 2018-02-04 19:58:36 +01:00
twinaphex
3aaab43736 Should fix Emscripten build 2018-02-04 19:57:31 +01:00
twinaphex
df1c131520 Prevent more Coverity warnings 2018-02-04 19:45:47 +01:00
twinaphex
3d0e768e71 Silence some Coverity errors 2018-02-04 19:30:34 +01:00
twinaphex
0b3545837e Cleanup some allocations 2018-02-04 19:05:43 +01:00
Twinaphex
d2fa1f177d
Merge pull request #6225 from bparker06/mitm_list
add menu option to select different MITM server locations
2018-02-04 18:27:10 +01:00
twinaphex
43a6213b68 (MaterialUI) prevent crashes when font driver is NULL 2018-02-03 16:58:37 +01:00
twinaphex
4dfda8743c (XMB) Prevent crash when no font driver loaded 2018-02-03 16:55:24 +01:00
twinaphex
dac1f10708 C89_BUILD fixes 2018-02-03 15:16:04 +01:00
Twinaphex
50e902f2ea
Merge pull request #6227 from aliaspider/master
(D3D11) multi-pass shaders: add support for history frames.
2018-02-03 14:48:48 +01:00
twinaphex
0b4ccf25e7 Revert "* d3d11.c - minor cleanups for C89"
This reverts commit fa458b2f5c.
2018-02-03 14:48:34 +01:00
twinaphex
fa458b2f5c * d3d11.c - minor cleanups for C89
* C89 build fixes for D3D9X headers
2018-02-03 14:01:32 +01:00
aliaspider
e225e96025 (D3D11) multi-pass shaders: add support for history frames. 2018-02-03 13:29:00 +01:00
twinaphex
d446742d4b Some C89_BUILD build fixes 2018-02-03 12:47:53 +01:00
twinaphex
88cb40834c Style nits 2018-02-02 22:50:07 +01:00
Brad Parker
df27e704a5 add menu option to select different MITM server locations 2018-02-02 15:37:02 -05:00
Brad Parker
efc35e43bb allow bool/string/path settings to override cbs_get_value 2018-02-02 15:28:43 -05:00
Twinaphex
f096e667d8
Merge pull request #6204 from aliaspider/master
(D3D11) Implement slang shader specification using Spirv-Cross.
2018-02-01 16:33:58 +01:00
twinaphex
8d99fd7ce0 Cleanup string manipulation 2018-02-01 11:16:13 +01:00
twinaphex
a7bad98b39 Cleanups 2018-02-01 10:55:49 +01:00
twinaphex
f80d701ca7 menu_displaylist_parse_horizontal_list - cleanups 2018-01-31 23:41:53 +01:00
twinaphex
6d4b5a93ea Cleanup menu_displaylist_parse_database_entry 2018-01-31 23:36:00 +01:00
twinaphex
f9a412dc11 Create fill_pathname_join_concat_noext and use it 2018-01-31 22:43:55 +01:00
aliaspider
5bc78d3ad5 (D3D11) Implement slang shader specification using Spirv-Cross.
(incomplete)
2018-01-31 01:08:36 +01:00
aliaspider
f896ba29d0 silence some warnings. 2018-01-30 18:07:12 +01:00
twinaphex
03e800c1c8 Add HAVE_D3D11 to MSVC 2013 - we need non-HAVE_DYNAMIC codepaths
for D3D11
2018-01-29 14:05:44 +01:00
Twinaphex
dbc51fb132
Merge pull request #6183 from meepingsnesroms/master
Start adding tesseract functions
2018-01-26 04:29:46 +01:00
twinaphex
61971c2f0e Remove header requirements for menu_display_d3d.c 2018-01-26 03:53:56 +01:00
Brad Parker
f087b150c9 Add quick menu option to watch shader files for changes and recompile automatically (Linux only for now) 2018-01-25 15:50:57 -05:00
meepingsnesroms
b68256689a Start adding tesseract functions 2018-01-25 12:22:42 -08:00
Twinaphex
f97ebfbf1f
Merge pull request #6179 from aliaspider/master
(D3D11) add the remaining menu shaders.
2018-01-25 17:18:59 +01:00
aliaspider
c0117f077b (D3D11) add the remaining menu shaders. 2018-01-25 17:07:23 +01:00
twinaphex
b0f7728606 CXX_BUILD - buildfixes 2018-01-25 15:54:37 +01:00
aliaspider
a2cddb27e5 (D3D11) refactors. 2018-01-25 15:48:53 +01:00
aliaspider
74013c220a fix read of uninitialized memory. 2018-01-25 15:44:35 +01:00
twinaphex
204f9aa484 (360) More buildfixes 2018-01-25 15:35:07 +01:00
twinaphex
d4367ed993 Cleanups 2018-01-25 15:30:48 +01:00
twinaphex
8422e44a2d Start moving d3dx fonts code to d3d_common.c 2018-01-25 14:13:21 +01:00
twinaphex
282853873b (360) Some buildfixes 2018-01-25 12:35:46 +01:00
twinaphex
766f3b33c7 Dehardcode some more opaque types defined by macros 2018-01-25 11:50:07 +01:00
Twinaphex
ef17085216
Merge pull request #6175 from aliaspider/master
(D3D11) add ribbon shader.
2018-01-25 09:50:57 +01:00
aliaspider
427003fa3b (D3D11) add ribbon shader.
- it doesn't look quite right though.
2018-01-25 09:48:07 +01:00
Twinaphex
85fab182b8
Merge pull request #6174 from aliaspider/master
(D3D11) autogen mipmaps when needed / fix text colors.
2018-01-25 09:33:44 +01:00
aliaspider
2a54cbca75 (D3D11) autogen mipmaps when needed. 2018-01-25 04:57:49 +01:00
twinaphex
74a602d4c9 Remove system_bgm 2018-01-25 03:38:32 +01:00
aliaspider
8354ffd452 (D3D12) add support for scaling/rotation im menu display driver. 2018-01-25 01:34:53 +01:00
aliaspider
45541a0d44 (D3D11) change the sprite vertex buffer to a ring buffer to avoid data
races with the gpu.
2018-01-25 01:03:54 +01:00
aliaspider
013ecf3719 (D3D11) menu display: fix the order of gradient colors. 2018-01-25 00:53:57 +01:00
aliaspider
812eefa601 (D3D11) add menu display driver. 2018-01-25 00:20:06 +01:00
twinaphex
5730ebc118 Add Shader Placeholder 2018-01-24 04:21:28 +01:00
twinaphex
6bbfcdd069 Cleanups 2018-01-23 22:19:55 +01:00
twinaphex
ba8050ae2c Cleanup xmb_context_reset_background 2018-01-23 21:34:54 +01:00
twinaphex
5fba9fe25a (XMB) Cleanups 2018-01-23 21:18:44 +01:00
twinaphex
cc9ce0044b Fix more heap errors in debug mode - MSVC 2003 2018-01-23 06:16:07 +01:00
twinaphex
c323041bc5 menu_display_reset_textures_list - put texpath on stack 2018-01-23 06:13:25 +01:00
twinaphex
3d5bb2af17 (XMB) Turn background_file_path into char pointer 2018-01-23 05:56:41 +01:00
Twinaphex
db2816556c
Merge pull request #6157 from reswitched/buildfix-netplay
wrap some netplay code in #ifdef HAVE_NETPLAY blocks
2018-01-23 05:38:57 +01:00
twinaphex
86b64c34aa Make xmb->thumbnail_file_path a char pointer 2018-01-23 05:38:02 +01:00
misson20000
2440b6198d buildfix for netplay identifiers that weren't in #ifdef HAVE_NETPLAY blocks 2018-01-22 20:36:09 -08:00
twinaphex
0c9b4a60a2 Start reducing amount of times xmb->thumbnail_file_path is
written to
2018-01-23 05:30:41 +01:00
Twinaphex
4a6a97be60
Merge pull request #5429 from GregorR/netplay-input-upgrades-1
Netplay input upgrades 1
2018-01-23 05:01:45 +01:00
twinaphex
a6ff88a094 Catch another edge case - this function is a mess and a minefield -
we need additional helpers to file_path.c and we need to properly
clean this up
2018-01-23 04:49:36 +01:00
twinaphex
4a7bfa463f Create tmp_new2 - avoid scenario where fill_pathname_join
tries to join itself - create path first with tmp_new2,
then copy this back to xmb->thumbnail_file_path
2018-01-23 04:40:40 +01:00
Twinaphex
7902fdafd8
Merge pull request #6155 from fr500/master
attempt to fix #6154
2018-01-23 04:31:06 +01:00
twinaphex
b957e5aff4 Cleanup 2018-01-23 04:30:47 +01:00
twinaphex
f36dfda328 Fix Coverity resource leak warning 2018-01-23 04:29:45 +01:00
radius
fb4bf99a31 attempt to fix #6154 2018-01-22 21:48:17 -05:00
twinaphex
6a47669d21 Prevent some heap corruptions/exceptions 2018-01-23 03:41:25 +01:00
twinaphex
27f34bf420 Some stability fixes 2018-01-23 03:23:49 +01:00
twinaphex
d28d14079a Create separate D3D8 and D3D9 drivers 2018-01-23 02:55:33 +01:00
twinaphex
e601190ecb (D3D11/12) Fix warnings 2018-01-21 07:57:25 +01:00
twinaphex
e1ec0e578c (XUI) Use new d3d format function too 2018-01-20 16:47:59 +01:00
twinaphex
9f7d0d59c5 (Xbox 1) Fix texture U/V 2018-01-20 07:00:03 +01:00
twinaphex
a3f95f58ec Cleanup menu_display_d3d 2018-01-19 03:40:34 +01:00
twinaphex
4ef66e6e8c This should make XMB/MaterialUI render correctly on D3D8 2018-01-19 02:24:10 +01:00
twinaphex
2d9727f499 Simplify sanitize_to_string further 2018-01-18 06:32:50 +01:00
twinaphex
1679124361 Cleanup sanitize_to_string function 2018-01-18 06:29:14 +01:00
twinaphex
e7414e8286 Cleanups 2018-01-18 06:15:39 +01:00
twinaphex
11f26ed549 Refactor verbosity code - try to avoid log calls if verbosity is not
set
2018-01-17 06:28:26 +01:00
twinaphex
897c1654ab Reduce usage of string_is_not_equal_fast 2018-01-17 01:03:48 +01:00
twinaphex
61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
Brad Parker
daf0b55f80 fix heap buffer overflow
==16726== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x600400139d99 at pc 0x5cb4d8 bp 0x7ffc88a3a050 sp 0x7ffc88a3a048
READ of size 1 at 0x600400139d99 thread T0
    #0 0x5cb4d7 in xmb_update_savestate_thumbnail_path /home/bp/RetroArch/menu/drivers/xmb.c:1071
2018-01-16 10:32:45 -05:00
twinaphex
391fd3eadc Fix CXX_BUILD for D3D 2018-01-15 21:44:49 +01:00
Twinaphex
e948412bb4
Merge pull request #6108 from aliaspider/master
(direct3D) fix scaling in the menu display driver.
2018-01-15 03:48:40 +01:00
aliaspider
25a7c04a27 (direct3D) fix scaling in the menu display driver. 2018-01-15 03:45:37 +01:00
radius
06b840c6ca ifdef cheevos variables properly 2018-01-14 11:49:19 -05:00
aliaspider
7b09d5399c (Direct3D) Menu display driver implementation. 2018-01-14 02:21:48 +01:00
twinaphex
39cc418e2e Cut down on code duplication 2018-01-12 05:27:09 +01:00
twinaphex
fb38c0da21 Cut down on code duplication 2018-01-12 04:51:15 +01:00
twinaphex
ef6b87ae2c (Menu) Cut down on code duplication 2018-01-12 04:42:44 +01:00
twinaphex
3407cd665d (Menu) Cut down on code duplication 2018-01-12 04:18:53 +01:00
twinaphex
af12858953 Try to have a more robust fallback path for
menu_displaylist_parse_generic
2018-01-12 04:02:14 +01:00
twinaphex
a5e35e7193 ake 2018-01-12 03:56:29 +01:00
Twinaphex
e099b8150c
Merge pull request #6083 from aliaspider/master
(WIIU) add remaining menu shaders.
2018-01-12 03:00:22 +01:00
aliaspider
24cb240079 (WIIU) add remaining menu shaders.
- move some files around.
2018-01-12 02:54:45 +01:00
radius
3b334b60d6 add display name and config name to autoconf 2018-01-11 17:06:14 -05:00
aliaspider
eac088696a (WIIU) add ribbon shader. fix menu bg gradient. 2018-01-11 02:09:03 +01:00
Andrés
dedcd26495
Merge pull request #6053 from aliaspider/master
(WIIU) add preliminary multi-pass shader support.
2018-01-05 21:48:30 -05:00
aliaspider
55d262f5d8 (WIIU) add preliminary multi-pass shader support.
can load *.slangp and *.slang files. since there is no runtime compiler,
precompiled shaders (*.gsh) need to be present next to each *.slang
source file.
2018-01-06 03:39:53 +01:00
Gregor Richards
507c6dc09f Removing now-obsolete and always-confusing swap_input option. 2018-01-05 14:26:19 -05:00
Gregor Richards
39243a8d40 Configurable sharing mode. 2018-01-05 14:24:43 -05:00
Gregor Richards
abf045ef0e Made device requests (badly) configurable. 2018-01-05 14:24:43 -05:00
Twinaphex
f4250a1ad5 Silence unused variable warnings 2018-01-05 14:13:58 +01:00
aliaspider
8e095164e0 (WIIU) add a frame shader to match the shaders used by the gl/vulkan
drivers.
2018-01-05 13:18:55 +01:00
aliaspider
a7632620da (WIIU) add a sprite shader. 2018-01-04 17:38:04 +01:00
orbea
e1db3e7a6d C89_BUILD: Fix some clang compiler errors.
Fixes these two compile errors with C89_BUILD=1

configuration.c:2028:9: error: ISO C90 forbids mixing declarations and code [-Werror,-Wdeclaration-after-statement]
   bool has_application_data =
        ^
1 error generated.
make: *** [Makefile:164: obj-unix/configuration.o] Error 1

In file included from menu/widgets/menu_osk.c:42:
menu/widgets/menu_osk_utf8_pages.h:62:94: error: no newline at end of file [-Werror,-Wnewline-eof]
                          "ヤ","ユ","ヨ","ワ","ヲ","ァ","ィ","ゥ","ェ","ォ","⊕"};
                                                                                 ^
1 error generated.
make: *** [Makefile:163: obj-unix/menu/widgets/menu_osk.o] Error 1
2018-01-03 12:19:16 -08:00
twinaphex
298e8b6326 Remove C++ comments 2018-01-02 07:13:09 +01:00
twinaphex
472a792d88 Silence warnings/errors 2018-01-02 06:40:19 +01:00
twinaphex
74120c47e7 Remove C++ comment 2018-01-02 06:20:31 +01:00
Twinaphex
88311acad3
Merge pull request #6027 from meepingsnesroms/master
Add all xmb menu options to rgui and glui, 3ds warning fix, move start directory to top of load content
2018-01-02 06:19:48 +01:00
meepingsnesroms
4f60966dd5 Make glui support disabling all menu entrys too
Also remove hide settings from non xmb drivers, I was using it wrong.
2018-01-01 15:56:48 -08:00
meepingsnesroms
657f5aa2a2 Fix copy to self causing abort on OSX 2018-01-01 15:18:24 -08:00
radius
acef4ac22e show the menu entries when no achievements found even if hardcore mode is enabled) 2018-01-01 17:02:42 -05:00
meepingsnesroms
7ac985e9be Add all xmb menu options to rgui and glui, 3ds warning fix, move start directory to top of load content 2018-01-01 10:38:16 -08:00
twinaphex
6ccde2b907 Add menu setting 'Audio Resampler Quality' 2018-01-01 06:53:52 +01:00
aliaspider
0a32642f17 (WIIU) shader: use a single attribute stream. 2017-12-31 14:06:49 +01:00