mart0258
d8f2b333b7
movie.cpp, tasedit.cpp, tasedit.h: Invalidate greenzone when re-recording earlier portions of a movie.
...
condebug.cpp: Fix comments to match code.
2010-11-06 06:01:57 +00:00
adelikat
1cd34b57ea
Win32 - Add movie filename at the top of the main window, did this by creating a SetMainWindowText() function that sets it based on various conditions, this allowed some nice code cleanup on the various places that set the window text. Also removed an unused and useless prototype from movie.h
2010-08-21 03:59:17 +00:00
mart0258
b8c6ed272e
Tasedit - prevent crash when truncating while turbo, disable auto-savestate during turbo, allow redrawing Tasedit window while turbo and paused, and window cleanup
2010-07-10 00:58:20 +00:00
aquanull
252a4a55ad
Allowed the user to disable keeping finished movies open.
2010-06-22 14:29:05 +00:00
adelikat
7cfd86f261
casts to fix annoying warnings
2010-06-11 01:14:06 +00:00
adelikat
b03401b198
Movies - Fixed read-only loadstate error logic & messages
2010-06-09 13:01:30 +00:00
mart0258
f0cda70dea
Movie loading now faster:
...
* TAS Savestates moved from MovieRecord to MovieData.
* Calls to LoadFM2() no longer provide INT_MAX as the size, and now use the actual size of the file.
2010-06-07 21:39:10 +00:00
adelikat
0a677d74e1
Fix inaccuracy in documentation comments (sorry for the tiny commit)
2010-06-01 01:03:50 +00:00
adelikat
d2526bc795
Movie loadstates - Undo a "fix" I made in previous revisions. Not sure what it was supposed to fix but it definitely broke things.
2010-05-31 23:52:29 +00:00
adelikat
487074a6b5
Better document new loadstate logic and fix up changelogs
...
[[Split portion of a mixed commit.]]
2010-05-30 23:45:55 +00:00
adelikat
626528ade6
Fix wrong comparison during loadstate+read-only checking. Post-movie savestates can now be loaded in read-only without an erroneous error.
2010-05-28 19:59:06 +00:00
adelikat
5ed6637f60
Movie errors - again, stopping the movie and informing user in the event of backup savestates being disabled. This time for savestate after movie end + read-only
2010-05-28 19:48:49 +00:00
adelikat
ed6e4258e0
Movie errors - fix GUID mismtach error to stop movie if backups are disabled. On Win32 this option is only done if user selects cancel. In both cases an error message informing of the lack of backups is presented.
2010-05-28 19:39:16 +00:00
adelikat
c2a9da0adc
Movie errors - fix timeline error so that it stops movie if backups are disabled (since it will be unable to restore previous state). Also informs user of the situation.
2010-05-28 19:25:42 +00:00
zeromus
bccf3f2f85
movie speedups
2010-05-28 03:59:19 +00:00
adelikat
ed2a319661
Win32 - TASEDit - more mapping out logic & structure.
2010-05-26 02:26:31 +00:00
adelikat
23277bc4df
Win32 - Memwatch - ignore spaces at the beginnign of an address in the address boxes
2010-05-25 04:34:34 +00:00
adelikat
68e300e7a2
Fix FCEUI_MovieGetInfo. It was keeping info.reset from being initialized and causing garbage to be used to determine if a movie began from soft-reset. As such the Win32 replay dialog was always reporting savestate movies as soft-reset.
2010-05-25 03:09:53 +00:00
adelikat
0fdd04954e
Fix playmovie from beginning for movies that begin with savestate.
2010-05-25 02:34:10 +00:00
adelikat
1aafbe1a62
Fixed so that Play movie from beginning has no affect on a movie that starts from a savestate rather than attempting to and using a power cycle to do it. TODO: properly replay a movie from beginning that starts from savestate.
2010-05-25 00:50:27 +00:00
adelikat
642ef6e568
frame counter turns red on MOVIEMODE_FINISHED
2010-05-19 03:46:52 +00:00
adelikat
88e7627162
Remove stopmovie() on old savestate load attempt when a movie is active. The error checking prevents anything destructive from happening so there is no reason to stop the movie.
2010-05-18 18:10:17 +00:00
adelikat
fdbbb5bbc0
Implemented a "full savestate-movie load" mode similar to the implementation in VBA-rr & SNES9x-rr.
...
In this mode loading a savestate in read+write doesn't truncate the movie to its frame count immediately. Instead it waits
until input is recording into the movie (next frame). For win32 this feature is togglable in movie options and the context
menu. For SDL this is off by default and a toggle will need to be added.
2010-05-18 15:31:53 +00:00
adelikat
8f222b3c91
More efficient if logic in CheckTimlines(). Added a flag for a feature of full copy savestates. This is a VBA/SNES9x type feature where a savestates full movie content can be loaded in read+write. Those emulators perform this option with a bit of trickery by not truncating the movie data until the next frame. Instead we are going to give the user an option to use this mode through the user interface.
2010-05-18 12:54:54 +00:00
adelikat
fb579eb4b2
Made gamepad 2 off by default.
2010-05-18 04:52:05 +00:00
adelikat
cec1766f34
Read-only loadstate - revert a logic error I had in determining a "future event" error.
2010-05-18 04:07:25 +00:00
zeromus
4e66aaef9c
replace most of the crappy iostream stuff with EMUFILE
2010-05-17 21:02:38 +00:00
adelikat
fb1240c262
Fixed the timeline checking function. The mistake was assuming that FCEUX didn't save the entire movie in a savestate. Now that I know it does, the fix was rather simple.
2010-05-17 15:51:11 +00:00
adelikat
7480101827
Timeline error messages now report the frame where the savestate branches from the movie file.
2010-05-16 19:26:29 +00:00
ugetab
046617c693
Added player 3 and 4 to autohold notification window. Made FCEU_DispMessage able to display to different screen locations to do it. Fixed up the input display code for autohold.
...
Wow, that's a lot of stuff changed for something so basic.
2010-05-16 04:18:49 +00:00
adelikat
a1a74c6e9c
Implemented read+write logic for handling a "post movie" savestate. Also fixed a slight error where rerecordcount wouldn't increment if _S9XLUA_H is not defined.
2010-05-16 01:46:04 +00:00
adelikat
7e48d40dfc
This should be the final step in proper post-movie savestate loading.
2010-05-16 01:23:01 +00:00
adelikat
7c06c4d2ab
Fixed up more loadstate logic. We had a slight logic error this whole time that wasn't a problem until now. Checking to see if a state is a future event, we assumed frame counter of the state matched the length of the movie. Now that movie finished is a mode, that is no longer true. Fixed that, and fixed the input display updating at the end of a load state to always look at the state input rather than the statemovie last record. This fixes proper behavior of saving and loading states during movie finished mode as per the "Laws of TAS": http://tasvideos.org/Adelikat/LawsOfTAS.html
2010-05-15 21:22:16 +00:00
adelikat
473b954991
Cleaned up some logic with read-only saving/loading and better error handling. Also made movie finished mode save movie content.
2010-05-15 18:09:11 +00:00
adelikat
dc61c4c414
Better error handling in the event of wrong timeline. Loadstate is canceled, error message displayed, and movie continues playing.
2010-05-15 04:24:29 +00:00
adelikat
1415fb402c
Revert some changes to MovieRecord class. savestate vector is de-pointered & public again as well.
2010-05-15 04:08:16 +00:00
adelikat
2cd959fd84
More robust way to handle previous fix. Put the string manipulations into generic functions in common.cpp
2010-05-15 02:38:32 +00:00
adelikat
e8bed97821
Replay dialog, when selecting a movie in a relative path (.\movies for example), the recent movies list stores an absolute path instead.
2010-05-15 02:06:15 +00:00
adelikat
191196a2bb
Win32 - When recording a movie, add it to recent movies
2010-05-15 01:48:53 +00:00
adelikat
6c474065fe
Fix typo in command button checking of the compare() method
2010-05-15 01:40:39 +00:00
adelikat
ddcd8f3566
Overhaul of MovieRecord class so it has a default contructor that initializes everything to 0, A deconstructor, and a get method for savestate vector. Fixes my timeline issues, but creates crash problems in TASEdit related to the deconstructor.
2010-05-15 01:05:42 +00:00
adelikat
691662f4c9
Make last commit compile, also replace command comparing methods
2010-05-14 23:51:42 +00:00
adelikat
d5aa6a69b2
An attempt add doing "timeline" checks on movie savestates while in read-only mode. Commented out the function call since it isn't performing as expected.
2010-05-14 23:31:47 +00:00
adelikat
06b37466c2
new PPU flag - changed "New PPU" to "NewpPU", made flag false if no flag is present in a movie header. Win32 - replay dialog - display new PPU flag.
2010-05-14 16:55:15 +00:00
adelikat
f4e01e6e77
New PPU flag in movie headers (doesn't change an emulators PPU state when loading a movie)
2010-05-14 16:03:07 +00:00
adelikat
31ec231d1f
MOVIEMODE_FINISHED should not store movie data into savestate.
2010-05-14 14:44:14 +00:00
adelikat
49d1ebd9a3
Uncommented a rather useful loadstate error message
2010-05-14 13:56:41 +00:00
adelikat
f04cb475a4
removing the change that caused movie data to be dumped binary by default. We want text until we make a toggle option where a user can select binary.
2010-05-13 13:46:11 +00:00
adelikat
912e375d0e
Read only toggle displays more informative message (informs user if movie is finished or there is no movie loaded)
2010-05-12 16:05:36 +00:00
adelikat
9006fd7a73
Movies now have a "finished" option. If a playback stops the movie isn't cleared from memory, and can be replayed or a state loaded. Similar functionality as DeSmuME and GENS rerecording.
2010-05-12 15:31:24 +00:00