Commit Graph

46 Commits

Author SHA1 Message Date
Unknown W. Brackets
887a61ae56 Make it possible to add new sections optionally. 2013-09-15 07:58:52 -07:00
Unknown W. Brackets
418d6c1e83 Reset the game when loading a state fails.
This way it doesn't crash.
2013-09-14 21:19:10 -07:00
Unknown W. Brackets
2cca2568c7 Make sure the saved git ver is null terminated.
strncpy() is a tricky beast.
2013-09-14 20:29:01 -07:00
Unknown W. Brackets
d2f2f8d7ad Make it possible to version DoState sections.
This will have the more important benefit of bailing if anything goes
awry.
2013-09-14 20:19:58 -07:00
Unknown W. Brackets
7349de55d1 Fix some initialization/sprintf warnings. 2013-09-01 01:15:07 -07:00
papel
a150fdd6ae Continue ignoring savestate incompatibility for now. 2013-07-18 15:33:13 -03:00
papel
9b6f1abed8 Version to savestate and open other game in other screens. 2013-07-17 02:33:26 -03:00
Unknown W. Brackets
a32cf817ff Fix some minor warnings. 2013-07-07 20:31:04 -07:00
Unknown W. Brackets
0019666939 Fix null pointer typo, breaking savestates. 2013-07-07 17:58:37 -07:00
Unknown W. Brackets
b9c2e21105 Improve performance of syscall resolving.
This was actually kinda slow (noticeably) in God Eater Burst.
2013-07-06 15:14:50 -07:00
The Dax
7884df8013 Simplify error message via better translation key/message. 2013-06-24 04:47:12 -04:00
The Dax
a341d39720 Make failure reasons translatable. 2013-06-24 04:24:34 -04:00
The Dax
1a7cce2fc5 Fix a comment and remove an old comment. 2013-06-24 04:00:10 -04:00
The Dax
810dfac704 Restructure load/save failure message by reverting it back to the original and add a translation ini key instead. Much simpler, and cleaner. 2013-06-24 03:58:29 -04:00
The Dax
fe8c439614 Clean up slightly. 2013-06-24 03:08:24 -04:00
The Dax
3a0fe2f374 Add failure messages to savestates loading/saving. It's misleading to always say "Loaded state" or "Saved state", even if it fails. Plus, result was unused up to this point. 2013-06-24 02:58:21 -04:00
Henrik Rydgård
d8f9790abc Some Mac build fixes from vit9696 and some more. Update submodules. 2013-05-07 00:08:57 +02:00
Unknown W. Brackets
1e6e333d38 Fix savestates not even trying on diff version.
Also, update native.
2013-04-29 23:40:12 -07:00
Henrik Rydgard
5d0dc146a7 Possible buildfix 2013-04-13 21:32:01 +02:00
Henrik Rydgard
e3fb88de68 Background thread for icon loading, show in game list. Switch to GNU STL in Android port. 2013-04-13 21:24:07 +02:00
Unknown W. Brackets
fe97fd6fc5 Add better savestate error handling.
Aborts when it can't load.
2013-04-13 01:39:17 -07:00
Unknown W. Brackets
23224f1c1d OS X: Fix build on Mac OS X 10.6 (from vit9696.) 2013-04-02 07:37:18 -07:00
Unknown W. Brackets
339b2839b3 Finish implementing savestates for fonts.
Oops, missed this before.  Was crashing FF3 and games using custom fonts.
2013-03-20 23:37:57 -07:00
Sacha
630ee68b05 Build fix for iOS. Now compiles. 2013-02-24 22:17:52 +10:00
Unknown W. Brackets
363d1dbe19 Fix some misc. warnings. 2013-02-18 08:44:59 -08:00
Sacha
013357f21e Build fix for iOS 2013-02-13 16:39:53 +10:00
Sacha
148c390524 Buildfix for Symbian 2013-02-04 09:55:56 +10:00
Xele02
2a424977c0 Fix linux build ^^ 2013-02-04 21:24:01 +01:00
Henrik Rydgård
d60f685ae8 MacOSX buildfix 2013-02-04 20:36:43 +01:00
Henrik Rydgard
7a36619174 Android buildfix + cleanup 2013-02-04 20:19:24 +01:00
Unknown W. Brackets
112c1e9e23 Automatically delete pointers when savestating. 2013-02-04 08:28:22 -08:00
Unknown W. Brackets
82a8450758 Fix some more non-pod structs in savestates. 2013-02-04 08:27:02 -08:00
Unknown W. Brackets
8f10c7f161 Make savestates automagically call DoState(). 2013-02-04 08:27:01 -08:00
Unknown W. Brackets
806907e2cc Add a safety check that p.Do() is only used on pod. 2013-02-04 08:27:00 -08:00
Florent Castelli
522983549d Correctly savestate std::maps with non-uint keys. 2013-02-04 03:10:00 +01:00
Unknown W. Brackets
140fd171ef Fix some 64-bit type conversion warnings. 2013-01-19 13:48:20 -08:00
Mathias Tillman
b780e39397 Fixed various potential bugs and compiler warnings 2013-01-07 15:57:19 +01:00
Henrik Rydgard
19b8ff5331 Use snappy to compress savestates. This is a bit of a hackjob sorry, will clean after 0.5. 2013-01-02 22:13:29 +01:00
Unknown W. Brackets
5999fac10d Start saving the state of the GPU.
Not 100% sure this is all that's needed, but let's try it.
2012-12-28 13:55:30 -08:00
Unknown W. Brackets
4b39e39455 Start save stating the filesystem state.
Plus minor fixes and at least an attempt to make states the same
on both 32 and 64 bit.
2012-12-28 13:55:27 -08:00
Unknown W. Brackets
3ed2045f6b Add state saving to tertiary kernel modules. 2012-12-28 13:55:25 -08:00
Unknown W. Brackets
abeaaa9105 Add Verify() method to quickly test states work. 2012-12-28 13:55:22 -08:00
Unknown W. Brackets
595759ef78 Implement a factory for kernel objects.
Couldn't think of a better way to do this, maybe there's some fancy
one I don't know about.

Also finished up a couple left over kernel objects.

Maybe a quarter the way there?
2012-12-28 13:55:22 -08:00
Unknown W. Brackets
d9efdf548b Add basic state for the memory kernel objects.
Not the actual memory partitions quite yet.
2012-12-28 13:52:52 -08:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00