Commit Graph

706 Commits

Author SHA1 Message Date
zeromus 0eef479304 consistentify newlines 2008-06-19 02:41:47 +00:00
zeromus 0a05a707a0 movie file wasnt being closed correctly (perhaps fix the tas crashing bug) 2008-06-18 08:22:19 +00:00
punkrockguy318 2958ab4e71 changed samples in sdl to 512; SDL's recommended setting for games
seems to help sound playback on *nix

if this causes anyone a regression let me know
2008-06-18 01:29:02 +00:00
punkrockguy318 aabdacab84 fixed error in which we had two duplicate -p options; the port option would not work (not that netplay even works) 2008-06-18 01:12:15 +00:00
jeblanchard 0b7bf686a7 fewer warnings 2008-06-17 23:46:55 +00:00
jeblanchard bf48a6f29e cmake update 2008-06-17 23:40:08 +00:00
punkrockguy318 757f810a1f changed itoa -> sprintf()
itoa does not work with gcc, but sprintf serves our purposes
2008-06-17 17:58:33 +00:00
punkrockguy318 8b03a5401b sdl now builds 2008-06-17 17:38:32 +00:00
punkrockguy318 6733a2f8a3 fixed more compile issues with gcc 2008-06-17 16:59:16 +00:00
punkrockguy318 d9adfc4b69 Fixed some g++ compile issues 2008-06-17 16:42:02 +00:00
zeromus fdf51e672f finally fix the bad replay synching bug? 2008-06-17 08:32:24 +00:00
zeromus 742969facb fix a bug which caused mmc1 (and maybe other mappers) not to re-initialize their save ram whenever they were replayed multiple times in release mode 2008-06-17 08:12:48 +00:00
zeromus b82c266971 fixed a bad bug in memorystream which makes movie savestates work better
and now they work faster too
2008-06-17 07:55:27 +00:00
zeromus ce3a9796c3 fixed fresh bug in movie savestates
thought of a better way to do the _P -> __P and _S -> __S conversion (simply make a new file x6502abbrev.h that has _P and _S defined in it which is to be included last in any file that needs it)
2008-06-17 07:10:53 +00:00
zeromus e0a14909f0 faster compiles (mappers include 1/3 as much code now)
fix some memory leaks by changing the path generation APIs to return std::string.. but it still gets strdupped by a lot of clients. 
switch over more movie and savestate code to use iostreams instead of stdio
remove the temporary savestate stuff for more tasing speed hopefully
2008-06-17 06:55:07 +00:00
punkrockguy318 1a725b5850 this may sound OCD but I changed the tenses in the driver usage so they are consisent.
descriptions are now all Enables .. Sets .. rather than inconsistant Enable/Enables Set/Sets
2008-06-14 04:54:26 +00:00
punkrockguy318 f51b7f29aa Added new commandline option: --noframe
When enabled, this passed the SDL_NOFRAME flag when setting video.  This is useful for people who want to use fceux dual head.
2008-06-14 04:41:46 +00:00
zeromus 62d4ca6cdb slight performance boosts to save/load state when movies are running 2008-06-13 19:15:24 +00:00
jeblanchard e42d3d288f Fix frame-count of 0 in replay dialog 2008-06-13 02:03:55 +00:00
zeromus 66b43671bb fixed recent breakages in movie recording 2008-06-13 01:42:30 +00:00
zeromus 41d375a435 fix bug in guid parsing causing rerecording always to fail 2008-06-13 01:33:46 +00:00
jeblanchard c83e2968be politics 2008-06-13 00:23:54 +00:00
jeblanchard fc36382f62 Fix SDL joystick input 2008-06-12 23:06:10 +00:00
jeblanchard 2c777eb656 Add turbo toggle hotkey and -turbo [0/1] cmdline option. (Win32 only.) 2008-06-12 22:26:34 +00:00
zeromus 12bdce8669 nothing 2008-06-12 07:20:15 +00:00
zeromus fc9c64e5e7 make movies load faster 2008-06-12 07:10:46 +00:00
zeromus 043aabf009 add reset/poweron/etc column to movie format 2008-06-12 05:07:30 +00:00
zeromus a1773fc087 fix a crashing bug when resetting or powering on with a movie loaded 2008-06-11 04:54:33 +00:00
punkrockguy318 a4647ef3e2 cleaned some code 2008-06-10 18:09:46 +00:00
punkrockguy318 284740c373 config system no longer crashes
npos was negative, pos was unsigned
2008-06-10 17:49:01 +00:00
jeblanchard 84e7d10f38 Kill many warnings. Note: may waste bytes of memory! 2008-06-10 16:06:14 +00:00
jeblanchard 4b43a1429d Slightly less broken SDL config 2008-06-10 08:45:20 +00:00
punkrockguy318 4df6b97013 quieted a dumb warning and tripped useless code 2008-06-10 06:20:39 +00:00
punkrockguy318 d00be0620b fixed compile error on gcc 4.3 2008-06-10 05:51:11 +00:00
jeblanchard fa951d9fbb Save the position within an MMC1 controller write! 2008-06-10 05:04:51 +00:00
jeblanchard 6821875304 Possibly a fix for [ 1989029 ] Message log not working 2008-06-10 04:56:39 +00:00
jeblanchard e094a3fbd2 Commit to speed up the movie-replay box -- not tested :( 2008-06-09 19:40:06 +00:00
jeblanchard b5885b45aa Work around a really irritating CMake bug 2008-06-09 18:47:06 +00:00
jeblanchard 0aba87d311 cleanup 2008-06-09 13:52:49 +00:00
jeblanchard fd67041d4e Convenience check-in (makes configSys an iota less buggy) 2008-06-09 11:58:21 +00:00
jeblanchard 81d1a6c7eb Fix SDL after r425 -- checkin comments from r425 still apply to both input.cpp files 2008-06-09 11:56:10 +00:00
zeromus c438158a00 changed fourscore to exclude other control options. (this is still not as clean as it could be. more work should be done in both input.cpp files to make sure that only gamepads can be used with fourscore.
also properly implemented zapper logging. and now, finally, I can log anything if I add in a little bit of code.
2008-06-09 08:15:20 +00:00
zeromus 2683c041af fix windows compile issue 2008-06-09 02:31:13 +00:00
punkrockguy318 11390351ac fixed SDL build issues 2008-06-08 13:27:17 +00:00
punkrockguy318 70de69eacf fixed some sdl compile errors 2008-06-08 13:16:34 +00:00
jeblanchard ab6b13fbd5 Fix release/debug in cmake 2008-06-08 11:36:51 +00:00
zeromus f90336a6a5 some work on infrastructure for recording any kind of input. but now movies are broken. once i teach the movies how to only output the three columns that are currently defined, zappers will work. 2008-06-08 10:22:33 +00:00
jeblanchard 7676eff5cb Lots of love for the cmake build system 2008-06-08 06:34:13 +00:00
zeromus eea70691e4 just a small generalization to the input code 2008-06-08 06:23:43 +00:00
punkrockguy318 db4fbe165f fixed build errors in sdl version 2008-06-07 21:51:04 +00:00