Francisco Javier Trujillo Mata
0880bd00b0
PS2 is compiling with null drivers
2018-11-09 22:40:50 +01:00
twinaphex
a662b62d19
Use runloop_get_libretro_system_info in more places - clean some code up
2018-10-30 17:11:07 +01:00
twinaphex
51430e9e5f
Add runloop_get_libretro_system_info
2018-10-30 08:21:32 +01:00
twinaphex
03dac742cb
(task_content.c) Some more cleanups
2018-10-29 04:59:54 +01:00
twinaphex
e6dfa35f9d
(task_content.c) More cleanups
2018-10-29 04:48:22 +01:00
twinaphex
305a07a3f3
Create some variables for size
2018-10-29 04:43:05 +01:00
twinaphex
e31c4f541a
Simplify init_subsystem function
2018-10-29 04:04:25 +01:00
radius
32766f0017
[content] CRC calculation for needs_fullpath should be within else block
2018-10-28 19:40:18 -05: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
0ba8597041
Cleanups/silence warnings
2018-10-04 16:24:10 +02:00
Twinaphex
f07b8b1965
Merge pull request #7090 from Dwedit/fix_missing_content
...
Fix console mode loading core without content
2018-08-18 16:06:41 +02:00
Dwedit
0e34c12d5c
Fixed bug that let Retroarch proceed to retro_run without loading content
...
Removed unlocalized and redundant error message
2018-08-18 08:40:19 -05:00
Brad Parker
c59cbfc4e8
fix memory leaks
2018-08-18 01:07:57 -04:00
Brad Parker
077ef86bab
fix null pointer dereferences
2018-08-18 01:07:51 -04:00
radius
aa35b9da46
subsystem: set the subsystem correctly
2018-06-14 16:38:27 -05:00
Dwedit
51f7746407
reformat like the old code
2018-05-28 10:58:04 -05:00
Dwedit
8cd8e7d3ae
Fix a calloc(0) which led to uninitialized data being used later on.
2018-05-28 10:54:25 -05:00
twinaphex
f050104740
Change return type of content_get_subsystem_rom_id
2018-04-17 03:19:35 +02:00
twinaphex
041670fe02
Get rid of multitude of casting warnings
2018-04-13 00:47:42 +02:00
twinaphex
1751f4a0af
Make it possible to read bigger files by replacing ssize_t with int64_t
...
and size_t with uint64_t
2018-04-13 00:18:11 +02:00
twinaphex
3016edce0a
Move retroarch.h dependencies out of core_info.c
2018-04-10 04:00:01 +02:00
retro-wertz
55450a5d73
Fix false [ERROR] when closing content
...
filestream_delete() returns 0 on success, and -1 on failure.
This PR removes this false error when closing content.
e.g.
[ERROR] Failed to remove temporary file: /EMULATORS/ConsoleRoms/Nintendo - Nintendo Entertainment System/Super Mario Bros. (World).nes.
2018-04-03 12:08:53 +08:00
twinaphex
02bf41a686
(task_content.c) Minor cleanup
2018-03-25 00:14:35 +01:00
twinaphex
3c6490d828
Update
2018-03-25 00:09:57 +01:00
Twinaphex
ae6e410de1
Remove unused variables
2018-03-01 22:28:26 +01:00
radius
fd767f65bd
subsystem fix
2018-02-17 12:28:19 -05:00
radius
a16cbe7cde
de-hardcode rom count
2018-02-12 22:10:44 -05:00
radius
755578fc43
C89 build fixes
2018-02-12 21:19:51 -05:00
radius
1f2054d42f
subsystem part 3: cleanups
2018-02-12 02:44:54 -05:00
radius
d254c3eca4
subsystem part 3: fix saves
2018-02-12 02:39:26 -05:00
radius
9a23ee8017
subsystem part 3: remove more globals
2018-02-12 02:39:25 -05:00
radius
2a9046c06f
subsystem part 3: cleanups
2018-02-12 02:39:25 -05:00
radius
9730fa5c51
subsystem part 2: load content! hacky
2018-02-12 02:39:25 -05:00
radius
752e729ec2
subsystem part 2: set paths
2018-02-12 02:39:24 -05:00
radius
b212640732
subsystem part 2: add a wrapper to set the current subsystem
2018-02-12 02:39:24 -05:00
radius
597e0ce1ec
subsystem part 1: get the required data to load content
2018-02-12 02:39:23 -05:00
twinaphex
969067b359
Revert "Cleanup code"
...
This reverts commit 8d835d9b51453310ff98b59ae492669696720cbe.
2018-02-05 16:42:02 +01:00
twinaphex
8d835d9b51
Cleanup code
2018-02-05 16:41:02 +01:00
twinaphex
d2aa12149f
task_load_content - simplify code
2018-02-05 15:37:43 +01:00
twinaphex
7cf4763bfb
Add TODO/FIXME note
2018-01-31 23:05:42 +01:00
twinaphex
7b5547d368
Try to be safer with strlcpy calls
2017-12-28 05:56:45 +01:00
Brad Parker
8c0adf3594
move path_file_rename and path_file_remove into VFS
2017-12-14 13:32:26 -05: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
David Walters
004c1d2f0a
Fix for relative paths being normalised and generating a duplicate history entry.
2017-12-08 23:37:07 +00:00
radius
1003e681cc
don't assume the core never has content
2017-11-26 11:33:02 -05:00
twinaphex
5e3eb437ac
Change RARCH_ERR invocations
2017-11-26 00:57:02 +01:00
twinaphex
8cc2e9bade
Cleanups
2017-11-25 23:06:25 +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
e5d4e2ac0a
Silence a lot of warnings
2017-11-06 19:13:54 +01:00
Roman Kalashnikov
400b27a227
Fixed twice assigned values
2017-10-31 00:26:41 +03:00