Commit Graph

35 Commits

Author SHA1 Message Date
adelikat a798a9dc08 Fix rewind buffer size, was casting to int and causing large values to be 0 2013-07-28 20:33:26 +00:00
adelikat 9103546bc0 Rewind - UI for setting buffer size, and toggling disk vs memory 2013-07-28 20:08:55 +00:00
adelikat 4a89c7fbd5 Add N64 info to the about box, add delta compression toggle in rewind settings, make defaults for medium and large states 256kb and 1mb respectively, make those dynamic (but not currently settable in the GUI) 2013-07-28 19:09:52 +00:00
zeromus 1280e47fed not everyone will appreciate console spam as much as i do. spam of any sort or kind is the greatest in my mind. console, canned, or in my mail, it brings me joy without a fail 2013-07-27 23:15:55 +00:00
zeromus ba210103c1 support non-delta rewind states 2013-07-27 23:13:27 +00:00
zeromus c0e2a2bbb7 less buffer churn for rewind management. should help performance a tiny bit. 2013-07-27 23:02:26 +00:00
zeromus faa307bb6e fix a little bugaroo in new code 2013-07-27 22:43:08 +00:00
zeromus 42a17e79b0 add RewindBuf.FullnessRatio to let you know how full it is. that, and RewindBuf.Count will give you useful metrics to gauge your choice of rewind buffer sizes against desired rewind timespan 2013-07-27 22:39:12 +00:00
zeromus ce8dad4a33 better tempfile cleanliness 2013-07-27 22:02:43 +00:00
zeromus edd5ddbd35 oops, default to a 128MB disk buffer instead of a 64k disk buffer. someone else can finetune this and make a gui 2013-07-27 21:54:41 +00:00
zeromus ea68d4b71d * add ability to rewind to disk buffer. the logic ended up being more complex than i'd like. im not completely sure about it, but it seems to work ok.
* also refactor basic rewind save/load code for different sizes which was the same but with one tiny difference.
2013-07-27 21:53:47 +00:00
adelikat fdb8098f90 oops 2013-07-21 23:07:29 +00:00
adelikat 77a4eb098f Add Rewind Settings dialog and remove the old Rewind enable menu item. New dialog let's the user set the rewind frequency and/or enable/disable rewind for small, medium, and large savestates separately 2013-07-21 20:39:11 +00:00
adelikat 55471ce891 Implement a rewind frequency option, for now it is hardcoded to 2 for SNES and similarly sized states, and 60 for n64/saturn sizes, else it is 1. TODO: some time of UI for the user to set this 2013-07-20 14:38:09 +00:00
goyuken e2f664d6b9 saturn: disable built in OSD
multiclient: disable "try arcade rewind hack" message when core is not PCE
2013-05-03 00:13:12 +00:00
adelikat e32eaeeb9a More code cleanup 2013-04-16 00:19:31 +00:00
goyuken 932952ae61 oops 2012-10-11 20:05:02 +00:00
goyuken f32f74eb1d rewind: work with variable length savestates without shitting a brick. this won't give good performance, though 2012-10-10 15:04:13 +00:00
goyuken c24abbcbad libsnescore: make deterministic mode savestates all the same size (previously, frame 0 savestates were slightly smaller)
rewind: throw a slightly more intelligible exception message when savestates differ in size
2012-10-08 18:18:43 +00:00
adelikat 8f408737da Movie refactoring - round 2 2012-09-03 19:42:53 +00:00
adelikat 27f4663125 Movies - round 1 of code cleanup (no functional changes) 2012-09-03 15:05:09 +00:00
adelikat 7bc1e88d1d TAStudio - Rewind button - fix logic when movie is finished or inactive 2012-08-28 03:18:53 +00:00
phillip.grimsrud cb4c45eb70 1. Upgraded insert and delete functions in tastudio to support multiple selection.
2. Fixed issues with the light blue current frame pointer in tastudio
3. Removed a totally useless index that was being kept seperately in the movie log.
4. Moved the tastudio update after the check to see if the rest of the saved state list is valid.
5. Changed some function/variable names related to the movie log for clarity.
2012-06-07 04:47:54 +00:00
phillip.grimsrud c813cd853b Fixed a rewind buffer problem. A recent hack started the rewind buffer by saving the state after frame 0 to the start of the rewind buffer. This fix saves the state to LastState at the end of the rom load. This way the rewind buffer starts with a diff between the state after rom load and the state after frame 0. 2012-05-28 04:59:22 +00:00
phillip.grimsrud 9a1e18045e Fixed rewind to still work if there is no active movie. 2012-05-28 03:32:27 +00:00
phillip.grimsrud fc0ec832ae These changes are for TAStudio upgrades. If I've broken other stuff please yell at me.
1. Hooked up Fast Forward, Fast Forward to End
2. Made a placeholder for Turbo Fast Forward.
3. Fixed rewind to not stomp on the previous frame with new input.
4. Fixed rewind to stop at the beginning of the movie instead of freaking out.
5. TAStudio now shows data from the most recent frame.
6. CommitFrame is called even if not recording so played back frames also show up in TAStudio.
7. Play mode only stops at the end of the movie if you tell it to. Your emulator normally continues to play with no input after the end of the movie.
8. TAStudio is now updated after a rewind (even though the rewind doesn't play a new frame).
9. Split the tools update into before and after updates.
10. Going into read-only mode adjusts the movie mode.
11. Implemented New, Open, Save, and Save As for TAStudio.
12. Fixed an issue where frames past the end of the log would default to the input from the last frame of the log.
13. Fixed a problem where you couldn't rewind to frame 0.
14. Fixed a scrolling issue in the TAStudio list view.
15. Fixed an issue with the TAStudio virtual NES controller not matching up with the log.
16. Fixed an issue where the NES reset button would get held in when rewinding.
17. Added/Modified a couple of button graphics.
2012-05-28 00:44:27 +00:00
zeromus 35fbe354c1 add threaded display manager to allow heavy OSD/compositing/filtering to happen on another thread. add a lua layer accessible via GDI+ which can be automatically composited and the simplest possible demo of it. add some filtering infrastructure and a hq2x filter set ported to c# but need to work on a minimal selector gui before its usable. separate OSD from RenderPanel so that gdi+ presentation mode now gets full OSD support. the OSD is now a little uglier because its drawn entirely differently and could use some finetuning 2012-04-16 08:18:41 +00:00
beirich f9d7ff62f4 pce-cd: support arcade card, fix cd-audio playback bug
add new emulation options to gui for SMS and PCE/CD
2011-09-19 00:39:28 +00:00
andres.delikat 38ca651aab TAStudio - more misc stuff 2011-06-12 00:14:19 +00:00
zeromus 0d5cff7408 [NES] mapper cleanup and savestates 2011-03-01 09:32:12 +00:00
zeromus f9d7a15ee5 do some prepwork for proper main loop control and throttling 2011-02-20 08:40:22 +00:00
andres.delikat 6f1272929f Make a DoFrameAdvance() function that will handle any per frame activities (such as updating dialogs), currently it still is called constantly instead of once per frame 2011-02-15 21:40:08 +00:00
beirich d40b7706f8 intelligent? window sizing 2011-01-26 05:06:44 +00:00
beirich c8650fd20b Fix gamepanel being off-center, add two-speed rewind, work started on auto-resizing window (wip, disabled) 2011-01-25 13:24:06 +00:00
beirich 89e4c5a674 2011-01-11 02:55:51 +00:00