Brad Parker
30c3b1ea9d
cdrom: add Disc Information details
2019-07-15 00:23:20 -04:00
jdgleaver
0476901ca5
Add ability to manually set default core option values when using the new v1 core options interface
2019-07-12 18:20:19 +01:00
jdgleaver
4f3adb8d2c
An environment callback for selectively hiding core options
2019-07-12 17:12:03 +01:00
jdgleaver
380812f83e
Core Options: Add sublabels + localisation support
2019-07-11 16:10:43 +01:00
twinaphex
3639614eba
(VFS) Should fix CXX_BUILD
2019-07-10 23:10:20 +02:00
twinaphex
84bf51acee
Take out HAVE_CDROM include ut of vfs/vfs_implementation.h
2019-07-10 22:53:38 +02:00
Brad Parker
980de11974
cdrom: check if disc is inserted before trying to load or dump
2019-07-10 11:17:28 -04:00
Brad Parker
60e7e5be8d
fix some warnings
2019-07-09 22:32:11 -04:00
Brad Parker
ae87f87ee3
C89 buildfix
2019-07-09 16:46:53 -04:00
Brad Parker
15d97dbaf3
cdrom: add disc dump option
2019-07-08 16:06:35 -04:00
Brad Parker
2ef16de941
cdrom: add atip check function, show relative and absolute MSF for read command
2019-07-08 16:06:35 -04:00
Brad Parker
59d8b918a1
cdrom: store group timeouts
2019-07-06 20:16:47 -04:00
Brad Parker
0b1ee7d00a
windows buildfix
2019-07-06 09:58:33 -04:00
Brad Parker
46ed5c3fcb
vfs: fix circular dependency issues by moving main structs to separate header
2019-07-05 23:45:48 -04:00
Brad Parker
e8d488ba67
cdrom: fix conflict with libchdr function names
2019-07-04 23:05:28 -04:00
Brad Parker
38d49136ce
cdrom: add function for reading via LBA numbers
2019-07-04 18:20:05 -04:00
Brad Parker
788b6cd39c
remove unimplemented command
2019-07-04 17:50:38 -04:00
Brad Parker
9d163493da
cdrom: print sense data on each failure
2019-07-04 17:47:39 -04:00
Brad Parker
7db030f98e
cdrom: add command to retrieve/print sense data
2019-07-04 16:15:21 -04:00
Brad Parker
6f0268ca30
cdrom: need const to call these from outside of internal functions
2019-07-04 01:06:47 -04:00
Brad Parker
052a8e48cf
cdrom: add extra debug functions, add function to check if media is inserted/ready
2019-07-04 00:22:16 -04:00
twinaphex
44eee1cf42
(VFS UWP) Real fix
2019-07-04 04:43:34 +02:00
twinaphex
b14dfc2585
Revert "(UWP) Fix VFS"
...
This reverts commit 163ec0f979
.
2019-07-04 04:40:13 +02:00
twinaphex
163ec0f979
(UWP) Fix VFS
2019-07-04 04:21:51 +02:00
Brad Parker
9a52595ce3
cdrom: add function to get list of available drives (initial linux implementation), show list in "Dump Drive" menu entry
2019-07-03 14:19:32 -04:00
Brad Parker
4cedaaefe1
cdrom: add open/close tray commands
2019-07-02 21:35:20 -04:00
Brad Parker
24bd43a53f
cdrom: improve position setting
2019-06-30 18:34:00 -04:00
Brad Parker
9617605371
cdrom: set optimal read speed
2019-06-30 18:34:00 -04:00
Brad Parker
8f1b150806
cdrom: windows fixes, use starting address of current track for read/seeks
2019-06-30 18:34:00 -04:00
Brad Parker
07c0451b93
cdrom: add windows support
2019-06-30 18:34:00 -04:00
Brad Parker
8af3078966
track1 playback is working, redbook might have issues currently
2019-06-30 18:34:00 -04:00
Brad Parker
08cd3a90f2
initial cdrom reading work
2019-06-30 18:33:59 -04:00
twinaphex
023d2cb9a9
(Libretro) implement new environment callback RETRO_ENVIRONMENT_GET_INPUT_BITMASKS
2019-06-21 11:21:07 +02:00
Yoshi Sugawara
2dde223d23
Support returning the number of touches in the current input to support multi-touch inputs, like using a 2 finger touch to reload or secondary fire in lightgun games
2019-06-11 11:49:27 -10:00
twinaphex
77e7bc7a1c
Move stirng_list_clone to libretro-common
2019-06-09 06:10:28 +02:00
LazyBumHorse
2816730b2f
make shader presets use relative paths
...
Also change fill_pathname_resolve_relative() to apply path_resolve_realpath() as well
2019-06-07 16:11:06 +02:00
jdgleaver
431877799d
(RPNG) Fix undefined behaviour when loading bad/corrupt PNG images
2019-05-27 13:07:11 +01:00
twinaphex
22d762be67
We need to split up zlib headers in libretro-common to its own separate
...
dir
2019-05-27 03:40:14 +02:00
twinaphex
f117d763d6
Create path_stat and use it
2019-05-22 02:21:30 +02:00
twinaphex
f49f33f546
We don't need glsm inside libretro-common - cores that need
...
this will need to make their own version separately
2019-05-19 05:42:44 +02:00
Huw Pascoe
ea931428e1
rxml read from string and fix memory violation
2019-05-11 09:58:45 +01:00
Huw Pascoe
cd714dbd0b
image_texture_load_buffer
2019-05-11 09:58:45 +01:00
Barry Rowe
8745333892
OCR Translation feature finaliziation. ( #8738 )
2019-05-11 07:15:39 +02:00
twinaphex
74388d8490
Remove string_concat
2019-05-10 18:05:58 +02:00
Nathan S
775c272029
Menu widgets stuff + vulkan sanity check ( #8710 )
...
* task_screenshot: fix hang with menu widgets
* word_wrap: add max_lines parameter
* vulkan: better instance creation sanity check
2019-05-06 21:10:57 +02:00
natinusala
486f438cc3
task_database: reimplement task progression
2019-05-01 15:13:41 +02:00
twinaphex
4b22522ae0
We need faster string concatenation for performance-critical
...
codepaths - this is being run every frame
2019-04-30 19:36:40 +02:00
twinaphex
bc2bdd5734
config_file_read not needed anymore
2019-04-30 13:37:10 +02:00
Twinaphex
a797324133
Revert "task_database: use regular progress report"
2019-04-30 10:01:07 +02:00
natinusala
8c7db837b4
task_database: use regular progress report
2019-04-29 20:04:41 +02:00
twinaphex
4f8e59a3f8
(UWP) Rewind should now work - issues with the BitScanReverse
...
codepath for compat_ctz on UWP/WinRT - have not figured out a
solution yet, so just make it default to slowest ctz codepath
for now
2019-04-29 07:06:06 +02:00
twinaphex
4c3e0d44b8
Revert "Start using string_is_equal_memcmp and"
...
This reverts commit 26d6aee1eb
.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb
Start using string_is_equal_memcmp and
...
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
Ghabry
5faf6a124d
UWP VFS: Calculate buffer offset correctly when read fails due to EOF
2019-04-28 12:15:46 +02:00
Ghabry
c209b0b3d9
UWP: Improve IO performance by manually buffering short reads.
...
Reduce copies by binding by reference in the lambdas
2019-04-27 23:47:52 +02:00
Ghabry
4390317992
Revert "(UWP/WinRT)"
...
This reverts commit b43b3e2bb0
.
2019-04-27 15:01:01 +02:00
twinaphex
b43b3e2bb0
(UWP/WinRT)
...
- Disable VFS for now - seems to be very problematic right now
- Move uwp_is_path_accessible_using_standard_io to file_path.c
since it seems to have no VFS dependencies, and rename it to
is_path_accessible_using_standard_io so it could possibly be later
used for other platforms as well that also have sandboxed filesystems
2019-04-27 09:20:19 +02:00
twinaphex
e1b11593fc
(file_list.c) Cleanups/optimizations
2019-04-27 07:32:40 +02:00
twinaphex
3e72c502a8
strlen optimizations :
...
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
twinaphex
7af68ca0b9
(libretro-common) Update
2019-04-27 02:21:35 +02:00
twinaphex
89563ce9c8
(stdstring) Small cleanups
2019-04-26 06:07:40 +02:00
twinaphex
69168ec6bc
Core info list iteration was calling path_stat two times on the same
...
paths - unnecessary file I/O is an issue with UWP/WinRT so let's cut
this down to only one path_stat. config_file_read function created -
acts the same as config_file_new except it doesn't check if the path
provided is actually a directory, which in turn would lead to another path_stat call
2019-04-22 01:13:19 +02:00
Brad Parker
d8968d8d0b
add initial Turkish translation from Ömercan Kömür (fpscan)
2019-04-17 19:08:23 -04:00
Huw Pascoe
fed06044c4
silence warnings
2019-04-12 17:32:11 +01:00
markwkidd
d03ff44d53
allow non-accelerated video to rotate the display
2019-04-07 22:34:01 -04:00
bparker06
c8b9b4ef25
Update stdstring.h
2019-04-03 12:06:31 -04:00
Brad Parker
ae12c30285
strcmp will always be faster
2019-04-03 10:41:19 -04:00
Twinaphex
123cd67a6a
Merge pull request #8486 from huwpascoe/rxml
...
Re-enable RXML and purge libxml
2019-03-23 03:25:32 +01:00
barbudreadmon
b9b9464652
Add glsym private
...
Allows core developpers to add their own definitions when working with glsm. 2 things needed :
- enable the `HAVE_GLSYM_PRIVATE` define
- create a glsym_private.h with your logic
You can find an example of usage at https://github.com/libretro/yabause/tree/yabasanshiro/yabause/src/libretro
2019-03-22 17:04:17 +01:00
Huw Pascoe
45069537fb
Re-enable RXML and purge libxml
...
Fixed rxml to work with griffin.c
2019-03-17 03:04:35 +00:00
Francisco Javier Trujillo Mata
adf2743464
Implement CDFS and custom file descriptor support
2019-03-15 20:19:14 +01:00
Hugo Hromic
0cfefdd2a8
(libretro-common/libchdr) Use int types and format aligned to the `chd_header` typedef
2019-03-14 18:12:10 +00:00
Hugo Hromic
794f4a6b34
(libretro-common/libchdr) Silence warnings in C89 build
2019-03-14 16:22:22 +00:00
Brad Parker
e0b75ec3fb
fix a whole bunch of memory leaks
2019-03-01 12:05:14 -05:00
twinaphex
5cce51ed8d
Move runtime_file to RetroArch
2019-03-01 01:22:35 +01:00
jdgleaver
38c54eaebe
Add persistent content runtime logging
2019-02-27 16:20:59 +00:00
twinaphex
d1dbf6fbe1
* The menu is now able to run at higher refresh rates than 60Hz
...
* Also added a new environment callback that a core can use to
query the display refresh rate
2019-02-27 04:44:04 +01:00
Brad Parker
e22148fed4
show cpu model name in log, implemented for x86/64 on windows/linux so far
2019-02-23 16:50:42 -05:00
Francisco Javier Trujillo Mata
b8e2216dd4
Improvement the use of the palette
2019-02-17 23:29:16 +01:00
twinaphex
158a442036
Add further HAVE_OPENGL1 support
2019-02-17 10:42:16 +01:00
Themaister
3b9ad729fb
Vulkan: Fix color issues with RGBA8888 swapchains in readback.
2019-02-15 20:30:08 +01:00
twinaphex
660d0c8de9
Remove mutexes - should hopefully fix dolphin/reicast threaded
...
again
2019-02-12 03:55:08 +01:00
twinaphex
386657a366
(menu widgets backport) Re-commit task queue changes
2019-02-08 08:00:32 +01:00
twinaphex
7022786f34
Revert parts of menu_widgets that were causing breakage, but leave
...
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
Hugo Hromic
7cde32a2b3
libretro-common: fix PRI_SIZET not being set in PS2
...
* use `lu` for PS2 builds
2019-02-07 23:23:31 +00:00
Hugo Hromic
e2b620ae05
libretro-common: improve PRI_SIZET for non-windows platforms
...
In non-windows platfoms, the `size_t` type may not necessarily use
the `%lu` format specification. For example in 32 bits platforms
instead it needs to be `%u`. Therefore, for non-windows platforms,
it is better to define PRI_SIZET more precisely.
Silences these types of warnings in 32 bits non-windows platforms:
libretro-common/file/config_file.c: In function ‘config_get_size_t’:
libretro-common/file/config_file.c:694:32: warning: format ‘%lu’ expects
argument of type ‘long unsigned int *’, but argument 3 has type
‘size_t * {aka unsigned int *}’ [-Wformat=]
if (sscanf(entry->value, "%" PRI_SIZET, &val) == 1)
^~~
Discussed in #8191
2019-02-07 16:25:48 +00:00
Twinaphex
477170884b
Some warning fixes
2019-02-06 23:25:41 +01:00
natinusala
c20ab3864d
First version of menu widgets (gl only)
2019-02-06 20:48:24 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
twinaphex
0413ba7215
Buildfix for GL3 OSX
2019-02-01 19:56:12 +01:00
twinaphex
5d77244334
(OSX) Implement flyinghead's GL3 support
2019-01-31 21:30:49 +01:00
Brad Parker
90db5e7e27
Implement in-menu sound effects
2019-01-27 11:22:16 -05:00
Twinaphex
556b7b19de
Merge pull request #8025 from krzys-h/uwp-storagefile
...
(UWP) StorageFile implementation
2019-01-27 08:33:17 +01:00
Brad Parker
1ee66d5204
d3d: fix cross-compilation on Linux
2019-01-25 23:28:07 -05:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
Twinaphex
5182f24711
Merge pull request #8030 from fjtrujy/feature/PS2Palette
...
[PS2] Allow Palettes
2019-01-18 00:33:31 +01:00
krzys-h
b7cc124070
(UWP) Base StorageFile implementation
2019-01-17 11:04:19 +01:00
Twinaphex
b5d8b8b3bc
Merge pull request #8020 from krzys-h/vfs-v3
...
VFS v3 (improved)
2019-01-17 03:14:35 +01:00
Brad Parker
16fffd67ea
Normalize archive progress calculation
2019-01-16 17:22:46 -05:00
Francisco Javier Trujillo Mata
3706aa9904
ClearVRAM detection improved
2019-01-16 22:57:08 +01:00
Francisco Javier Trujillo Mata
f7c9bc4e61
Make GFX PS2 support palette in the cores
2019-01-16 22:57:08 +01:00
krzys-h
e6fc4220fa
Revert "Revert "VFS v3: stat, mkdir, directory listings""
...
This reverts commit a549e28f01
.
2019-01-16 21:01:29 +01:00
Twinaphex
c05be12ff4
Merge pull request #8019 from Datamats/libretro-glsym-nx
...
regenerate the glsym headers for the switch in libretro-common
2019-01-16 20:52:00 +01:00
Mats A
4f15d4a64c
regenerate the glsym headers for the switch in libretro-common
2019-01-16 20:30:14 +01:00
Twinaphex
a549e28f01
Revert "VFS v3: stat, mkdir, directory listings"
2019-01-16 03:53:34 +01:00
Twinaphex
d4b33ac1ad
Merge pull request #7995 from krzys-h/vfs-v3
...
VFS v3: stat, mkdir, directory listings
2019-01-16 02:38:54 +01:00
krzys-h
cc7541338c
Fix parent of root directory turning into ./ on Windows ( #7803 )
2019-01-14 20:48:55 +01:00
krzys-h
4b2278688b
Unix buildfix for dirent_is_directory
2019-01-13 14:49:01 +01:00
krzys-h
109de0bebb
VFS v3: stat, mkdir, directory listings
2019-01-13 00:33:24 +01:00
Francisco Javier Trujillo Mata
9c7c5e0814
This commit revert part of the changes done for the PS4 implementation but fixes PS2 crash
2019-01-10 02:20:49 +01:00
twinaphex
9b801aee17
Buildfixes
2019-01-08 20:43:03 +01:00
Twinaphex
40997473ed
Merge branch 'master' into orbis2
2019-01-08 20:18:08 +01:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
orbea
849259d8f6
libretro-common: Sort config file conditionally.
...
This allows optionally sorting configure files and is needed to fix the
order of inputs in the autoconfig profiles which should not be sorted
alphabetically.
Fixes https://github.com/libretro/RetroArch/issues/7873
2019-01-03 15:28:32 -08:00
psxdev
d52de24e79
[ORBIS] Add support to config save for orbis
2019-01-03 21:23:44 +01:00
psxdev
ae0c4bde1e
[ORBIS] Limit path legth to avoid calloc issues
2019-01-03 21:23:44 +01:00
twinaphex
f1fc622e99
(UWP) - Implement retro_sleep with SleepEx (untested)
2019-01-03 11:40:21 +01:00
krzys-h
2c4d2418d6
(UWP) Fix ARM builds
2019-01-01 16:21:47 +01:00
krzys-h
48d82929ff
(UWP) Add support for loading cores from optional packages
2019-01-01 16:21:47 +01:00
twinaphex
556bcc18e4
Find different ifdef for Windows Phone
2019-01-01 03:57:37 +01:00
twinaphex
c6ba5d9ebc
(UWP) Start adding some Windows Phone 8.1 ifdefs
2018-12-31 01:38:45 +01:00
twinaphex
fc8abd7baf
Add header include for printf
2018-12-30 07:53:09 +01:00
krzys-h
b201d669b5
First iteration of UWP support
...
Enough to kind of run
Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
orbea
14905e33e1
Fix more gcc -Wformat= warnings with C89_BUILD.
...
The "z" modifier was introduced in c99, but using "l" instead
seems to work.
setting_list.c: In function ‘setting_get_string_representation_size’:
setting_list.c:175:24: warning: ISO C90 does not support the ‘z’ gnu_printf length modifier [-Wformat=]
snprintf(s, len, "%" PRI_SIZET,
^~~
setting_list.c: In function ‘setting_get_string_representation_size_in_mb’:
setting_list.c:183:24: warning: ISO C90 does not support the ‘z’ gnu_printf length modifier [-Wformat=]
snprintf(s, len, "%" PRI_SIZET,
^~~
setting_list.c: In function ‘setting_set_with_string_representation’:
setting_list.c:508:24: warning: ISO C90 does not support the ‘z’ gnu_scanf length modifier [-Wformat=]
sscanf(value, "%" PRI_SIZET, setting->value.target.sizet);
^~~
libretro-common/file/config_file.c: In function ‘config_get_size_t’:
libretro-common/file/config_file.c:692:32: warning: ISO C90 does not support the ‘z’ gnu_scanf length modifier [-Wformat=]
if (sscanf(entry->value, "%" PRI_SIZET, &val) == 1
2018-12-16 19:59:50 -08:00
orbea
f4a5c3bd55
Fix c89 build.
2018-12-15 21:03:28 -08:00
orbea
7c50dfb397
Fix c89 incompatible comments.
2018-12-15 18:55:21 -08:00
Stuart Carnie
c00b6e0750
fix: Fix use of freed memory in menu animations
...
`menu_animation_update` enumerates `menu_animation.list` to process each
`tween`. It was observed that some tweens execute a callback that
pushes more animations via `menu_animation_push`. During the push, if
the tween `list` does not have enough space, a `realloc` occurs,
potentially invalidating the existing list. The remaining pointer access
in menu_animation_update is therefore invalid. Best case is the memory
is unused and thus does not affect the program. Worst case is memory
corruption.
2018-12-15 14:55:10 -07:00
meepingsnesroms
94f691e5d2
More info
2018-11-18 11:44:46 -08:00
meepingsnesroms
ca5eddf7ff
Clarify documentation
2018-11-18 11:18:40 -08:00
Francisco Javier Trujillo Mata
17d30f9dd5
Use SDL timer for counters and sleep the thread
2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
0880bd00b0
PS2 is compiling with null drivers
2018-11-09 22:40:50 +01:00
Nathan Strong
edacf67e75
Capture CRC content for deferred-loading cores
...
== DETAILS
Fixes a bug where content CRC32 is not calculated when content loading
is done by the core instead of libretro. This impacts the ability to
do accurate content matching on netplay.
This notably affects MAME, but is by no means limited to MAME.
Change summary:
- adds a method to the crc32 implementation that calculates crc32 for
a file (as opposed to an in-memory buffer)
- fix a minor bug that would print the "core will load its own content"
right before attempting to load compressed content
- in the actual "core will load its own content" path, calculate the CRC32
and log it before returning
== TESTING
Tested locally on OSX:
- loaded content
- started netplay
- confirmed CRC showing in netplay data
- verified CRC32 against external crc32 tool
2018-10-18 11:26:45 -07:00
twinaphex
cf9341f2ea
Update libretro-common
2018-10-17 05:45:43 +02:00
Sven
b48768c023
extend cheat searching to accommodate multiple memory pointers
2018-10-14 14:25:44 -04:00
LamboLighting
8509132ebd
(Language) Greek translation of RetroArch
...
First steps of the translation.
Still a WIP. Most of the menu labels have been translated. Lots of sublabels still need translation.
2018-10-12 01:22:33 +03:00
Sven
4c3b06d640
bugfix cheat saving
2018-10-10 11:10:49 -04:00
Sven
30d4df7634
Merge remote-tracking branch 'upstream/master'
2018-10-10 09:16:39 -04:00
Sven
f53e1ca4b1
fix new rumble types ; increase max displayed cheats to 6000
2018-10-10 09:15:46 -04:00
twinaphex
521b978d31
Add sthread_create_with_priority - missing functionality from desmume
...
rthreads implementation
2018-10-09 03:43:34 +02:00
twinaphex
31ba215c94
Update GLSM
2018-10-06 17:05:06 +02:00
twinaphex
f1e7e0c5f7
Update GLSM
2018-10-06 15:40:48 +02:00
twinaphex
22424fce0f
Update libretro-common
2018-10-06 15:16:33 +02:00
twinaphex
983c234a3e
Update libretro.h
2018-10-01 16:23:08 +02:00
twinaphex
3dcefa9316
Update libretro.h
2018-10-01 15:49:54 +02:00
twinaphex
072848445c
Fix some C89_BUILD errors
2018-10-01 03:31:13 +02:00
M4xw
cf097d7f42
[LIBNX] Implement OpenGL
2018-09-27 01:23:24 +02:00
twinaphex
19b4ef3b2c
Add conv rgb565 to ABGR8888 by m4xw
2018-09-12 20:04:52 +02:00
Sven
3c0eadbdf2
per request
2018-09-11 18:52:51 -04:00
Sven
b771a3e0f5
move libretro.h defines to retroarch.h
2018-09-11 18:45:01 -04:00
Sven
d8796732aa
provide a means for cores to coordinate with the frontend when shutting down multiple threads gracefully
2018-09-11 13:29:20 -04:00