Commit Graph

157 Commits

Author SHA1 Message Date
Timo Strunk
d6347353d4 Fix small strdup memory leak in case of need_fullpath and extraction 2014-09-23 10:32:43 +02:00
Timo Strunk
193f416f8f Zip UI cleanup before pull request 2014-09-21 11:03:32 +02:00
Timo Strunk
097eb15721 Included direct to file extraction into 7z and zip format readers. They are used in case of need_fullpath and archive usage 2014-09-21 10:48:12 +02:00
Timo Strunk
547cdefd1c Failsafe in case extraction dir is wrong 2014-09-20 20:05:54 +02:00
Timo Strunk
d114a80dab File.c now autoextracts in case of need_fullpath 2014-09-20 18:52:23 +02:00
twinaphex
fffed52892 Silence warning 'variable is used before its value is set' 2014-09-16 01:09:10 +02:00
Timo Strunk
1883b03497 All files and not just content file can now be compressed 2014-09-12 19:06:36 +02:00
Timo Strunk
9c4c2a107c We check dynamically in file.c if the filename contains a zipfile 2014-09-12 17:06:28 +02:00
twinaphex
9d783b6627 Style cleanups 2014-09-07 05:47:18 +02:00
Timo Strunk
3615e978ed Removed snprintf and FIXME from file.c. Additional strlen check 2014-09-06 20:38:06 +02:00
twinaphex
46b6b112b8 Cleanups - C-style comments, 80-char limit 2014-09-03 06:14:13 +02:00
Twinaphex
4942d268e7 (OSX) Bake in 7zip support - some compatibility/build fixes
for OSX
2014-09-02 20:09:14 +02:00
Timo Strunk
0c4c749f81 Added commandline 7z support 2014-09-02 17:05:15 +02:00
twinaphex
e84e255013 Cleanups, 80-char limit 2014-09-02 05:10:54 +02:00
twinaphex
147cac67ef Update more references to 'roms' 2014-08-13 08:52:13 +02:00
twinaphex
f027acd5cf Rename game_history_size to content_history_size 2014-08-12 04:57:31 +02:00
twinaphex
2675cd2f76 Rename cart_crc 2014-08-12 03:19:02 +02:00
twinaphex
f63f1f8520 Replace more ROM references 2014-07-28 20:08:37 +02:00
twinaphex
272002310d Rename more references to 'roms' 2014-07-28 20:01:27 +02:00
twinaphex
4d198dffaa libretro_no_rom becomes libretro_no_content 2014-07-28 19:51:17 +02:00
twinaphex
f9b7431289 Rename g_extern.temporary_roms to g_extern.temporary_content 2014-07-28 19:49:07 +02:00
twinaphex
3d43749f2e Rename 'roms' references to 'content' 2014-07-28 19:45:00 +02:00
Themaister
30cb130184 Warning fix. 2014-04-14 12:09:04 +02:00
Themaister
95c8d92eec Correctly pass NULL when we load no ROM. 2014-04-04 19:23:40 +02:00
Themaister
2280e28737 Add support for ZIP extraction to temporary folders. 2014-04-04 17:33:19 +02:00
Themaister
9f5a714615 Rename to SET_SUBSYSTEM_INFO.
Add test case.
2014-04-04 17:04:01 +02:00
Themaister
7d9732ba20 Cleanup block sram overwrite. 2014-04-04 15:35:46 +02:00
Themaister
2d840ef826 Small bugfix and docs fix. 2014-04-04 15:13:44 +02:00
Themaister
c81de5119d Initial take on subsystems support. 2014-04-04 14:58:42 +02:00
Themaister
a60d49293b Remove completely obsoleted "XML map" support.
This is from ancient times and no longer relevant.
2014-01-02 16:01:43 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
8487cd0204 Start using C89-style for loop initial declarations for
reusable code module parts that we reuse in other projects. It's
a huge maintenance burden having to change this stuff around everytime
when compiling in non-C99 mode
2013-10-19 19:39:38 +02:00
Themaister
7df4500024 Use native side asset extraction. 2013-10-14 21:08:41 +02:00
Themaister
23069b6146 Log how SRAM is truncated. 2013-10-13 18:53:12 +02:00
Grazvydas Ignotas
0711463c1e Allow partial SRAM load
Different cores that emulate the same system may have slightly different
understanding of SRAM, like it currently is for Genesis Plus GX vs
PicoDrive. Currently Genesis Plus GX uses larger padding, which means it
creates larger files. When loading such file for PicoDrive, current
code refuses to load it and this effectively destroys user's save
because new SRAM file is written on PicoDrive's exit.

To fix this, allow partial load (and print a warning).
2013-10-13 18:42:31 +03:00
Themaister
197c4db204 Add RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME.
Allows libretro core to not require a ROM to be loaded.
Kill stdin ROM loading support (pointless these days).
Replace "no ROM on CLI" behavior to be attempting to load a core with no
ROM.
2013-05-01 00:59:43 +02:00
twinaphex
da8bbde11d Simplify some _WIN32 includes 2013-04-11 22:35:15 +02:00
Themaister
0ab0688525 Error out correctly if ROM fopen() fails. 2013-02-18 20:31:29 +01:00
ToadKing
7bdc1df39a delete the correct file 2013-01-21 20:28:30 -05:00
ToadKing
6d174dcc3b (Console) don't delete the wrong file on when loading a second rom after loading one in a zip file 2013-01-21 20:18:11 -05:00
Themaister
b90490f425 Add zip loading support to core. 2013-01-21 23:52:47 +01:00
Themaister
e04217e373 Refactor where ROM is loaded. 2013-01-21 21:01:12 +01:00
Themaister
276b588217 Add custom xml parser. Use as fallback. 2013-01-02 15:18:42 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
64ba845cf4 Do not strip copier headers.
This was a bSNES specific "thing". bSNES core now strips copier headers
anyways.
2012-11-17 00:32:36 +01:00
Themaister
f643df4300 Log save ram more verbosely. 2012-11-16 11:47:39 +01:00
Themaister
c2674328ec Fix broken CRLF, and minor fixes for VC12. 2012-10-24 17:19:37 +02:00
Twinaphex512
53868033b7 (MSVC 2012) Initial MSVC 2012 solution
Just need to sort out the linking errors - we'll need to create a
Direct3D driver that is not external for PC and do away with the
'external' one which is really an unacceptable extra dependency for such
a popular graphics API. Also, look if the WGL context file will even
work. Added some TODOs too.
2012-10-24 15:48:44 +02:00
Themaister
369431d97d Remove some "not-so-serious" logs. 2012-09-07 21:59:20 +02:00
Themaister
29a1e7ac27 Purge some still lingering SSNES-isms. 2012-09-07 21:56:26 +02:00