Commit Graph

135 Commits

Author SHA1 Message Date
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
Themaister ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister aab8fb6151 ssnes_* => rarch_*. 2012-04-21 23:25:32 +02:00
Themaister 9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
Themaister 687d5a2b2b Fix build for Win32. 2012-04-13 21:30:55 +02:00
Themaister 8c426ed49a Split file.c in two. 2012-04-13 21:29:25 +02:00
Twinaphex add97b9ef5 (360) Don't make a copy of dir_list_new in 360/main.c but rather use
the one in file.c with two small Xbox 360 tweaks to make it work
2012-04-13 14:52:51 +02:00
Themaister 7c5c04bf36 Warning fixups. 2012-04-10 00:37:30 +02:00
Themaister 9f0211d9d7 Fixup C++ build. 2012-04-09 22:30:29 +02:00
Themaister e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister e012e290ae Builds clean. 2012-04-09 22:04:44 +02:00
Themaister 5d51942f69 libretro fixups. 2012-04-09 22:04:43 +02:00
Themaister 62c96ea937 Change license header. 2012-04-09 22:03:57 +02:00
Themaister 9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
TwinAphex51224 a860a71016 (360) 360 uses Griffin now too 2012-03-29 12:04:58 +02:00
Themaister d73ec9b645 Move hashing code to hash.o. 2012-03-25 23:29:39 +02:00
Themaister 5272008f54 Add --no-patch to forcefully disable all patching. 2012-03-20 23:45:58 +01:00
Themaister 4e772003c8 Style nit. 2012-03-20 23:18:10 +01:00
Themaister 48cddde84a Add IPS patching. 2012-03-20 23:08:34 +01:00
Twinaphex 4e3359ec19 Merged console_ext.c / main_wrap.c and got rid of warning in file.c 2012-03-17 23:05:48 +01:00
Themaister 56e5c9fcec Refactor patch handling. 2012-03-17 01:12:29 +01:00
Themaister 224db6a4c8 Merge ups.h/bps.h into patch.h. 2012-03-16 23:47:31 +01:00
Themaister 9ab02b12be Move compat functionality to compat/. 2012-03-16 23:26:57 +01:00