Commit Graph

838 Commits

Author SHA1 Message Date
zeromus 29736a18f6 fix bug in splitpath that made tas savestate filename generation fail 2008-06-22 23:04:38 +00:00
zeromus a91d2c414e better movie conversion 2008-06-22 22:25:30 +00:00
punkrockguy318 851ef0d7fb fixed build errors on sdl 2008-06-22 22:06:14 +00:00
zeromus 67c4a6d6ab batch fcm->fm2 convert rough draft (look in the file menu)
the headers arent output fully correct.. and there is no error reporting.. but it works.
2008-06-22 06:53:49 +00:00
zeromus 69bc4b3f72 added obj/bg display toggle
much cleanups
fix memwatch configuration saving
2008-06-22 02:38:00 +00:00
zeromus 79de2d8295 - a ton of cleanups
- re-enabling some tasedit functionality
- stabilize emu during tasedit by disabling features
- clarify/stabilize some basic tas stuff (interaction with reset/poweron)
- remove a bunch of warnings
2008-06-21 07:24:01 +00:00
zeromus 94a807d428 line ending fix 2008-06-20 22:27:10 +00:00
zeromus 8009546872 add binary movie mode, which is used when saving movies into savestates 2008-06-20 22:15:30 +00:00
zeromus d159696288 ever so slightly faster movie i/o? this has hit diminishing returns. binary mode is all that is left 2008-06-20 06:52:20 +00:00
zeromus f17b83fb22 show correct movie data in replay dialog once again 2008-06-20 04:18:04 +00:00
zeromus 105a3e2516 try fixing zapper movies again 2008-06-20 00:50:01 +00:00
adelikat c8e3eef74d Fixed a potential movie desync problem for FDS games. (Disables disk shadow write during movie play). (This was a fceu.22 fix originally) 2008-06-20 00:12:56 +00:00
zeromus e75fd93f68 oops. how did i check that in 2008-06-19 23:53:44 +00:00
zeromus 0883fdd050 fix to zapper movies and minor fix to movie loading 2008-06-19 16:19:48 +00:00
zeromus 0d6820d922 see if this fixes zapper movies 2008-06-19 03:26:37 +00:00
zeromus 85b5214f40 ohh i was wrong. dont do that. 2008-06-19 03:24:09 +00:00
zeromus 3078b63a3c take into account first scanline when drawing the zapper input aid (crosshair) 2008-06-19 02:42:19 +00:00
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
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 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 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
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
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
zeromus 3ea76ba08d reorganize and cleanup a bunch of input code. still in preparation for more general support of all input devices in movies. 2008-06-07 08:18:04 +00:00
jeblanchard 8e546b1bed More silly warning elimination 2008-06-07 01:21:38 +00:00
jeblanchard c8e4dee70a Add semi-stub UTF8_fstream function to SDL port 2008-06-06 12:45:25 +00:00
zeromus a4fb078f3c some work on the zapper movie recording, but it is not finished and a lot will have to be scrapped. there was some useful refactoring in here though so i am checking it in 2008-06-06 08:23:12 +00:00
zeromus ab82d07be8 restore compression to savestates (accidentally left removed while debugging sdl savestates) 2008-06-06 06:45:20 +00:00
zeromus 2a190f3c74 fix sdl savestates? 2008-06-06 06:34:39 +00:00
zeromus d40ffb715c vc8 compile fix 2008-06-06 03:03:14 +00:00
zeromus 43908a249d goodbye fastapass and c80x86 2008-06-06 03:02:00 +00:00
jeblanchard c1b20f3050 Another stupid warning fix 2008-06-06 01:42:47 +00:00
jeblanchard 5c83c20513 Try using uintptr_t to make systems happy... stupid alignment 2008-06-06 01:41:13 +00:00
jeblanchard 8af58628fa Oops, another rsrc cleanup! 2008-06-06 01:25:09 +00:00
jeblanchard 7105d7d537 Numerous seemingly harmless gcc warning fixes 2008-06-06 01:21:51 +00:00
jeblanchard 3fa4624317 Update to reflect zero's movie.h and driver.h changes 2008-06-06 01:15:49 +00:00
jeblanchard b5bce89e2e Final resource cleanup: NAMEBOOKMARKDLG, ASSEMBLER, contextual menus in memview, and the (un-broken) special scaler in windowed mode. 2008-06-06 00:15:47 +00:00
punkrockguy318 0d84597aa6 fixed stupid gcc warning 2008-06-05 11:13:57 +00:00
zeromus 9a7da827a2 break tasedit. but on the way to making it better! 2008-06-05 06:49:11 +00:00
jeblanchard b4021afc58 Revert previous change, but increase padding/alignment in case x64 machines care 2008-06-05 04:16:08 +00:00
jeblanchard b7b9c992ec Default to high-quality sound in SDL front-end 2008-06-05 04:07:39 +00:00
punkrockguy318 4925bb9e5c removed an include to a file that was atticed 2008-06-05 03:58:04 +00:00
punkrockguy318 44cfb9eabb Fixed a build issue with gcc; however might not be the cleanest solution 2008-06-05 03:39:38 +00:00
zeromus 8a7abd0c95 added NAMEBOOKMARKDLG and ASSEMBLER from sp 1.07 2008-06-05 02:43:15 +00:00
jeblanchard 432c0c18d9 Minor SDL CLI fixes. 2008-06-04 22:04:44 +00:00
jeblanchard 9f7ea702a6 Restore usage string and several old command-line options 2008-06-04 04:11:33 +00:00
jeblanchard 8f5fcdf334 Fix [ 1959924 ] Copy/paste feature in movie replay dialog. 2008-06-04 02:02:29 +00:00
jeblanchard c4b1a5db64 Log sound as --> Record WAV 2008-06-04 01:12:39 +00:00
jeblanchard ec13169354 Other than documentation, fix [ 1965524 ] Option - Play movie from beginning 2008-06-04 00:53:09 +00:00
jeblanchard 30db575cb1 Fix and plug in MAHJONGDIALOG 2008-06-04 00:24:23 +00:00
zeromus 168d8d9413 politics 2008-06-03 06:15:09 +00:00
zeromus e3056fc1eb irritating tasedit ui speedup 2008-06-03 05:55:26 +00:00
zeromus c366dc1f2b repair and speedup tasedit 2008-06-03 05:50:58 +00:00
jeblanchard f062107e60 Fixes for gcc compilation 2008-06-03 05:35:39 +00:00
zeromus 7173b5e2cb fix in-movie savestates 2008-06-03 05:06:54 +00:00
zeromus 7a9721e48a more savestate things work better 2008-06-03 05:01:07 +00:00
jeblanchard c013dd96e6 Resource cleanup part 2: remove (nearly all) obsolete, unreferenced resources and ID macros 2008-06-03 04:08:48 +00:00
zeromus c208a2012d adding memorystream. fixed savestates. 2008-06-03 04:04:04 +00:00
zeromus b89ba6a9ca checking in untested code to get it on another pc 2008-06-03 03:31:05 +00:00
jeblanchard 5a9781ade5 Magic-number holocaust part 1: substitution for existing UI elements 2008-06-03 01:25:12 +00:00
jeblanchard 69d6da7451 Code needs <ostream>, not just <iosfwd> 2008-06-02 21:29:53 +00:00
zeromus e51f3a9b69 commiting some tasedit infrastructure so i can work on another pc 2008-06-02 14:02:02 +00:00
jeblanchard 059d8c474c std::string-ify drivers/win/help.* 2008-06-02 04:29:54 +00:00
zeromus fc66466f09 help must now be in the same directory as fceux.exe
now the vcproj copies the chm to the output directory (which could be complex and contain other useful files)
2008-06-02 03:43:49 +00:00
adelikat 952671c6b5 More help changes 2008-06-01 21:19:11 +00:00
adelikat 5761f5d391 Updated help file 2008-06-01 17:20:20 +00:00
jeblanchard 3ae281cf5b Actually add the new files; search for the .chm in ${BASE}/help/ (as req'd by adelikat) 2008-06-01 17:01:31 +00:00
jeblanchard 9920fb4b72 Commit a saner help system--still improvable in terms of direct access to topic pages 2008-06-01 16:57:37 +00:00
jeblanchard b351ce60b6 Fix warning (and act like we're using C++) 2008-06-01 16:31:27 +00:00
jeblanchard e517895e15 add _BROKEN_ help-viewing support 2008-06-01 15:38:36 +00:00
adelikat 101a774dd9 Added Help entry to fceux menu in preparation for fceux.chm 2008-06-01 01:35:15 +00:00
jeblanchard a607572b61 Fix "Log Sound As" and "Stop Sound Logging" 2008-05-31 02:59:28 +00:00
jeblanchard 38eb679ebc hacks to fix MinGW builds 2008-05-31 02:58:43 +00:00
jeblanchard 12531d470e Fix residual BOT_MAXCOUNTERS=256 hard-coding 2008-05-30 23:06:08 +00:00
adelikat 85df746e77 Forgot the pause key remap. Sorry for the small commit. 2008-05-30 15:53:58 +00:00
adelikat 4a3b4d2c91 Misc. res fixes. Added Ctrl+W to close roms. Remapped default hotkeys to a more sane configuration. 2008-05-30 15:47:02 +00:00
zeromus 9ea2557ca8 oops 2008-05-30 14:55:19 +00:00
jeblanchard 428074c5c5 Axe stale declaration 2008-05-30 14:01:02 +00:00
zeromus 113c75cd40 mehhh im tired. no time for copy/paste. just a stub and then i sleep 2008-05-30 06:18:14 +00:00
zeromus 88669859ff fix tasedit bugs i just introduced, and add movie exporter 2008-05-30 06:01:43 +00:00
zeromus 2b142ddd71 tasedit multi-edit (select rows and then click the column header) 2008-05-30 05:11:35 +00:00
jeblanchard bdf11aafa5 oops 2008-05-30 01:58:38 +00:00
jeblanchard 2fed26a75a More Windows command line options 2008-05-29 17:29:00 +00:00
jeblanchard f22a4735b8 Crash less 2008-05-29 15:15:00 +00:00
jeblanchard 3e8441a9ac Fix at least one crash-worthy bug 2008-05-29 14:32:35 +00:00
jeblanchard 52b203b8a2 Add -playmovie (the "old-fashioned" way) 2008-05-29 08:15:20 +00:00
jeblanchard ce72bbad0b Kill most (non-const) static vars in header files 2008-05-29 06:24:39 +00:00
jeblanchard 6755343a52 Revert #327, at least for now 2008-05-29 03:04:44 +00:00
jeblanchard f4ab095a5e Initial support for tools tracking memory reads&writes. 2008-05-29 01:22:17 +00:00
jeblanchard 44ea956424 Quick gcc(4) fix 2008-05-29 01:09:38 +00:00
jeblanchard 4e65f7c885 Quick portability fix 2008-05-29 01:09:11 +00:00
adelikat 42942032e8 small memwatch bug fix 2008-05-28 16:28:51 +00:00
adelikat 64d43f70d3 Added accelerator keys to memwatch 2008-05-28 13:47:34 +00:00
zeromus d1cc70c7c4 tas editor rough draft 2008-05-28 07:41:49 +00:00
jeblanchard 886bae8b5a Kill two numeric resource IDs 2008-05-28 03:04:45 +00:00
zeromus 750d897b89 accelerators in main window 2008-05-27 23:24:43 +00:00
jeblanchard 42a62e0e60 Extend max GUI message length due to thinner font. (NB: length isn't yet enforced...) 2008-05-27 23:23:53 +00:00
jeblanchard d4a0870d20 Move windres workaround from the .rc into here 2008-05-27 21:49:31 +00:00
adelikat b578b61a21 Cheat search possibilities window updates values now. But it flickers, so it needs to be optimized (it also updates while game is paused). Also, fixed up cheat search window a bit (thinner, says cheat search instead of dialog, has minimize button). 2008-05-27 15:30:15 +00:00
jeblanchard 952dc6c637 fix executable names 2008-05-27 12:17:08 +00:00
zeromus 69d9032576 and once again. last time, and then i start editing in linux 2008-05-27 07:09:28 +00:00
zeromus 765ef019c4 try again 2008-05-27 07:07:11 +00:00
zeromus 72706e995a try to have more stable sound failure handling 2008-05-27 07:04:07 +00:00
jeblanchard 7740dbbaf4 Make mingw happy 2008-05-27 06:12:21 +00:00
zeromus 5ad0bff3f9 oops 2008-05-27 05:56:29 +00:00
zeromus 2fca98caed fix for cross compiling in old debian 2008-05-27 05:49:08 +00:00
jeblanchard 9b7f730b43 Changes that allow a Linux machine to build, targeting either a Linux or Win32 host. (Maybe a newline at the end of a few header files for my sanity's sake too.) 2008-05-27 05:29:00 +00:00
zeromus 4c398a4a01 give ability to display messages that will display in the movie. the only movie that is displaying this way is "Movie playback stopped." but we can make any message display that way. however, we'll need a tiny bit more work to be able to display the frame counter in the movie. 2008-05-27 04:40:03 +00:00
zeromus 960bc00229 fix memwatch to have working tabs (modeless dialogs need special treatment involving IsDialogMessage() in the app message pump) 2008-05-27 04:03:32 +00:00
zeromus a94c996dd7 fix for 'jerky' rendering in final fantasy by changing emu to properly use startscanline and endscanline.
removed author stuff from record and replay dialogs
2008-05-27 00:51:31 +00:00
zeromus 14500a50be weird case with loading read+write savestate at end of movie fixed? 2008-05-26 23:29:00 +00:00
zeromus 9fbcd1ed78 fixed with digits in builtin font 2008-05-26 23:14:51 +00:00
zeromus 1c664bbfb3 lets try pause after playing again.. i still dont fully understand whats going on... 2008-05-26 22:45:17 +00:00
zeromus a24c85ba6e xxx 2008-05-26 22:06:46 +00:00
zeromus 307bf9c819 pause after playback 2008-05-26 21:58:24 +00:00
zeromus e471ef6f53 show replay count 2008-05-26 21:10:55 +00:00
zeromus d998a3c015 change extensions to fm2 (but we still claim we'll load fcm; even though it is not supported now)
added dialog accelerator framework
support new improved savestate-with-movie-running naming convention
2008-05-26 07:34:40 +00:00
zeromus ac025d7d65 added record count 2008-05-26 05:54:21 +00:00
zeromus 0c694353e5 display pause icon and play/rec icons at the same time 2008-05-26 03:32:55 +00:00
zeromus 52091eed22 beginning a new movie sets to read+write mode 2008-05-26 03:13:16 +00:00
jeblanchard ac75dc61ed Add src/drawing.cpp (to match commit 289) 2008-05-26 02:31:00 +00:00
zeromus 3250180b9f bugs to tas logic fixed.. 2008-05-26 02:20:56 +00:00
jeblanchard 7f5f91558d Correction to DUMMY(f) macro 2008-05-26 02:19:03 +00:00
zeromus 18f1dc0e31 re-add input display 2008-05-26 02:05:01 +00:00
zeromus ae2426e807 reimplement frame number drawing 2008-05-26 01:55:45 +00:00
zeromus 5c6de85dcb retain pause state through poweron process in record/replay commands 2008-05-26 01:10:13 +00:00
zeromus 7489c70b3d there was a very old bug in the emulator which didnt matter due to luck but which caused unexciting mappers not to store their (empty) state correctly in the savestate. WriteStateChunk() returned 0 when there was an error in SubWrite(), even though it shouldve written a 5 to account for the overhead 2008-05-26 00:58:26 +00:00
jeblanchard 03ad29922f Minor Linux compilation fixes 2008-05-26 00:33:27 +00:00
zeromus 52bb5ccbd8 tas logic done? 2008-05-26 00:03:20 +00:00
adelikat 2c6492cafb Memory watch labels can now hold up to 64 characters. 2008-05-25 23:43:27 +00:00
adelikat ee77a32651 Removed memw-recentdirectory code. 2008-05-25 04:17:52 +00:00
adelikat e719f79034 Memory watch - recent files works now as does "load last file on startup" 2008-05-25 03:53:48 +00:00
adelikat 83b669679b Made small changes to the look of the GUI dialog box and Memory watch menu 2008-05-24 23:06:52 +00:00
zeromus a2397b25c4 quick checkin so i have files on another computer 2008-05-24 22:31:58 +00:00
zeromus c24c415d2a support loading TAS savestate 2008-05-24 22:18:16 +00:00
zeromus e524818f1e compress savestates, and movie no longer needs to do any compression itsself.
savestate compatibility is now broken.
2008-05-24 21:25:20 +00:00
zeromus bf6d70c56d compress the savestate in fcm 2008-05-24 17:53:14 +00:00
mauzus 2dcd90fc6c fix directories configuration stuff 2008-05-24 16:25:15 +00:00
mauzus 437c1f65ec major dialogs cleanup (directories override is broken until next update) 2008-05-24 13:50:14 +00:00
mauzus 451bce87a6 Ram Filter: double clicking a ram address sends it to memwatch 2008-05-24 11:09:14 +00:00
zeromus ff532f74e8 why in the world did this compile on my computer last night. well maybe now it will compile for other people 2008-05-23 17:51:52 +00:00
zeromus 1e539ad681 phase 1 of new movie system
we can now round trip a text movie format
2008-05-23 09:58:38 +00:00
zeromus 91733a146a re-add start from reset flag 2008-05-23 04:11:35 +00:00
zeromus 047808ba93 clean up movie some code; no longer write savestate with play-from-poweron movies; change main logging format to text (the header still needs to be changed) 2008-05-22 07:43:48 +00:00
zeromus 9477c03c09 changed control ids to symbolic constants so i can stay sane 2008-05-22 05:20:09 +00:00
mauzus ce73828279 [1959914] Input Config - add hotkey assignment to input presets
[1959913] Input Config - ability to save/load input presets
2008-05-21 15:35:37 +00:00
mauzus 335d52614f resource stuff: added back auto-hold and changed "disable lrud" to "allow lrud" on input dialog. other minor design changes in res.rc 2008-05-21 08:45:21 +00:00
adelikat 70f5b31300 Fixed up the Input config dialog box in preparation for input presets. 2008-05-20 15:22:58 +00:00
zeromus b7b815d711 [ 1962778 ] loading an FDS game without having disksys.rom crashes FCEU 2008-05-19 05:59:20 +00:00
zeromus b662f92cfe fix resource compile missing ID issue
bind many more windows positions to configfile
change configfile to a text format
fixes sf [ 1962795 ] Config file changes
2008-05-19 05:44:49 +00:00
adelikat efcb2c8e8f Some updates to memory watch. Mainly the beginnings of the recent submenu. I am uploading now because something is wrong with my vc8 so I will upload my progress before messing with it. 2008-05-19 00:22:24 +00:00
zeromus 6fa78df786 remember more window positions 2008-05-18 21:32:55 +00:00
zeromus 8a9f4e493b re-install the memview (hex editor) find window to the
bind some window positions to the configfile
2008-05-18 20:24:31 +00:00
adelikat a3ce8af593 2008-05-18 05:07:28 +00:00
mauzus 2cc25611a5 fixed MEMW_OPTIONS_LOADSTART menu item 2008-05-18 04:57:46 +00:00
mauzus 672ef0b001 Memory Watch load on start up 2008-05-18 04:42:47 +00:00
adelikat a2da59b353 Added functionality to the menu in memory watch. 2008-05-18 04:12:34 +00:00
mauzus d0f1eb3be4 fixed res.rc: re-merged some lines from an old and working copy 2008-05-16 16:28:52 +00:00
zeromus f747048689 remember window size variables between sessions 2008-05-16 16:20:48 +00:00
adelikat f38dcdec9b Updated res.rc & resource.h to with changes to memwatch dialog. And added a memw menu for it. Also added come code to memwatch for some of the menu function but they are commented out since memwatch can't yet recognize the menu items. 2008-05-16 15:56:31 +00:00
mauzus e85df098d6 bugfix: [1959910] Cheats menu - add - double click ram address sends to mwatch 2008-05-16 02:49:38 +00:00
adelikat 0b112b5ef4 2008-05-15 15:58:57 +00:00
adelikat 83cb9bd378 2008-05-15 14:04:53 +00:00
mauzus f1497e8914 bugfix: [1959907] Cheats Menu - allow it to be open while using emulator 2008-05-13 04:24:53 +00:00
mauzus 909245915b bugfix: [1960354] FCEU should log a message when loading a .cht file 2008-05-13 03:51:35 +00:00
adelikat 79f0aee87f 2008-05-13 03:50:28 +00:00
mauzus b897cc0b33 added option to enable/disable L+R/U+D 2008-05-13 03:43:12 +00:00
mauzus 00acbb98d1 bugfix: movie recording - loadstate should update input display 2008-05-13 03:02:53 +00:00
mauzus f65b5eb2b7 bugfix: FCEU ignores last input delivered when switching read+write 2008-05-13 02:59:07 +00:00
mauzus 014e0365e4 use correct directory configuration: BasicBot, Memory Watch, FDS BIOS ROM and Record Movie from savestate 2008-05-13 02:34:39 +00:00
zeromus 9e1f1d82e9 faster memwatch? 2008-05-13 00:17:49 +00:00
zeromus 43d21f1889 improvements to memwatch 2008-05-12 23:16:41 +00:00
zeromus c7db72391f added ram filter 2008-05-12 22:13:33 +00:00
zeromus 412304e840 sound options work better, and they save with the configuration now 2008-05-12 17:57:12 +00:00
zeromus ef228133f6 mute frame advance option works once again 2008-05-12 16:53:18 +00:00
zeromus 201261c142 fixed http://sourceforge.net/tracker/index.php?func=detail&aid=1787298&group_id=13536&atid=113536
(screen needs to blank when rom is closed)
I dont think this was causing crashes anymore, but I went ahead and did it


fixed http://sourceforge.net/tracker/index.php?func=detail&aid=1960732&group_id=13536&atid=113536
(Increase frame advance speed when holding it down)
Now it runs at native emulation speed! Now that it is set up, I can easily adjust the speed to a fraction thereof.

fixed https://sourceforge.net/tracker/index.php?func=detail&aid=1960359&group_id=13536&atid=113536
(Sound doesn't work when fceu is running and not in focus)
Now it respects the global focus flag in the sound options (because I dont like global sound)
But the sound options engine is totally different so a lot of those options dont do anything.. we'll have to clean that up some other day
2008-05-09 06:43:55 +00:00
zeromus ece963731e fix list-jumping-around annoyance in hotkey mapping dialog 2008-05-09 04:27:52 +00:00
zeromus 6bb20c0dc9 despam 2008-05-09 04:01:04 +00:00
zeromus 84274fe6d6 better frame advancing. debugger window no longer opens itsself. 2008-05-09 04:00:04 +00:00
zeromus 7720f71ffa fix the close button 2008-05-09 02:29:18 +00:00
adelikat 54802f4d00 2008-05-09 02:25:32 +00:00
mauzus 56b225b76a aligned elements in DIRCONFIG dialog 2008-05-08 00:29:50 +00:00
zeromus 7f7b80b8a8 google issue 42 - palette corruption 2008-05-07 22:33:53 +00:00
zeromus 914dac6540 fix google issue 64: FCEU crashes if opening a non existing rom in the recent folder or will crash upon loading any rom after such an error 2008-05-07 18:45:23 +00:00
mauzus bbec95cb82 Merged FECU rerecording:
-New font
-New directory override options: FDS ROM, MemWatch, BasicBot and Macro
-Fixed default_directory_names order
2008-05-07 17:03:29 +00:00
zeromus 3db4ae6df5 fix fds loading 2008-05-07 07:39:23 +00:00
zeromus 3078b40cf4 memwatch added back in 2008-05-07 07:08:34 +00:00
zeromus 3cd4b22cc6 a workaround for not being able to set and save the ntsc scanline rendering options (which were defaulting to 8->231): change the ntsc scanline rendering to match pal, 0->239. suboptimal but simple and effective. 2008-05-07 05:55:57 +00:00
zeromus 67956c9f2c [win] bug #1658288 - crashes when sound is disabled 2007-08-30 08:10:32 +00:00
zeromus fa5503ef9a fix for avi files not writing with any video (probably a problem leftover from the merge, shared memory buffer not declared the same way as it was externed in another module) 2007-08-30 07:47:20 +00:00
zeromus ea1c37a8d3 reformatted movie dialogs to order buttons according to windows standard 2007-08-30 06:22:03 +00:00
zeromus c5d5b18967 [win] fixed a bug that makes movie recording dialog crash. 2007-08-30 05:49:37 +00:00
zeromus 63205aa5a5 a bit of windows driver cleanup 2007-08-30 05:30:53 +00:00
CaH4e3 316511edc6 69 mapper sound code bug 2007-08-06 06:39:47 +00:00
rheiny 69cd8e18a1 Fixed issue: [ 1625522 ] Incorrect search results in text mode (char buffer overflow) 2007-02-11 19:08:51 +00:00
rheiny 78794d2d6f Broke the build. 2007-02-11 18:49:21 +00:00
rheiny afad3527d7 Cleaned up some code. 2007-02-11 18:42:16 +00:00
rheiny 880030665f Separated input from mapinput 2007-02-11 16:55:47 +00:00
rheiny c59c9d8626 Cleaned up Timing Configuration dialog. 2007-02-11 16:26:23 +00:00
rheiny 1c539a66a4 Cleaned up some code. 2007-02-11 16:08:53 +00:00
rheiny 1dcf46fa78 Main window is now centered. 2007-02-11 15:47:56 +00:00
rheiny 61bc92f255 Palette configuration window is now centered. 2007-02-11 15:47:40 +00:00
rheiny ab96f4b00a GUI configuration dialog is now centered. 2007-02-11 15:40:50 +00:00
rheiny 23c0a5ab65 Fixed a bug in the Directories configuration dialog. 2007-02-11 15:37:47 +00:00
rheiny 12f87fac8c Improved the Directories configuration dialog. 2007-02-11 15:35:46 +00:00
rheiny 5595d2c17b Improved the Directories configuration dialog. 2007-02-11 15:35:03 +00:00
rheiny 2a4e33a08c Default directories are now shown in the directory configuration dialog. 2007-02-11 14:25:05 +00:00
rheiny bca418ff84 Cleaning out window.cpp 2007-02-11 14:02:13 +00:00
rheiny 143909288c Cleaning out window.cpp 2007-02-11 13:45:14 +00:00
rheiny 5847e9eedb Trying to untangle the horrible web of file dependencies 2007-02-11 13:16:25 +00:00
rheiny a991ad19e4 Trying to untangle the horrible web of file dependencies 2007-02-11 13:13:36 +00:00
rheiny 1381b9fe37 Trying to untangle the horrible web of file dependencies 2007-02-11 13:08:36 +00:00
rheiny 949c9a83ce Trying to untangle the horrible web of file dependencies 2007-02-11 12:41:01 +00:00
rheiny 7b75fb1448 Trying to untangle the horrible web of file dependencies 2007-02-11 12:04:24 +00:00
rheiny 49b05ff178 Trying to untangle the horrible web of file dependencies 2007-02-11 11:45:50 +00:00
rheiny e018632901 Trying to untangle the horrible web of file dependencies 2007-02-11 11:23:20 +00:00
rheiny 695d4aaa0e Trying to untangle the horrible web of file dependencies 2007-02-11 11:22:43 +00:00
rheiny 22adcaa7fc Improved menu handling. 2007-02-11 10:19:00 +00:00
rheiny 35704e5aa4 Cleaned up some code. 2007-02-11 10:10:16 +00:00
rheiny 1644cb0762 Cleaned up some code. 2007-02-10 15:56:13 +00:00
rheiny 652c36be53 Added Cheat Console again. 2007-02-10 14:48:52 +00:00
rheiny c4d9cfe679 Cleaned up some code. 2007-02-09 19:02:13 +00:00
rheiny 5befd8b8be Cleaned up some code. 2007-02-07 20:50:47 +00:00
rheiny 507ddedda5 Cleaned up some code. 2007-02-07 20:35:15 +00:00
rheiny 618d4fccea Cleaned up some code. 2007-02-07 18:28:50 +00:00
rheiny 379136451f Cleaned up some code. 2007-02-06 19:15:24 +00:00
rheiny 62efccb998 Cleaned up some code. 2007-02-06 18:59:15 +00:00
rheiny e163d2cd87 Cleaned up some code 2007-02-06 14:14:58 +00:00
rheiny be3ec4a072 Cleaned up some code. 2007-02-05 20:41:23 +00:00
rheiny 54ff3f3b9d Cleaned up Windows logging code. 2007-02-05 19:37:24 +00:00
qfox a85e1ca59f BasicBot 0.3.4a: added some crude logging. fixed abs(). fixed at least one bug that contributed to the desync, but the bug may still remain. version not very well tested, therefore the 'a'. See changelog for the whole lot. 2006-11-26 23:53:28 +00:00
qfox 84e4c81061 Basic Bot 0.3.3, now allows toggles while computing. bot can now process in parts, but it will desync for some reason, need to check this later. single-segment still works fine. 2006-11-19 22:45:40 +00:00
qfox bb77f84fe3 BasicBot 0.3.2: Added some minor commands, fixed a crashbug. 2006-09-16 11:18:37 +00:00
qfox 5558cca57f BasicBot 0.3.1: Removed code-length limit (rather drastic change). Improved the GUI and added stuff for future features. 2006-09-10 14:11:26 +00:00
zeromus 5e04ada196 add directx files to remove sdk dependencies. dunno if this is the right thing to do, but it will get more people compiling forn ow 2006-09-07 17:57:24 +00:00
qfox fe0492c6e7 BasicBot 0.3.0, now uses bytecode and interpreter (should increase performance). Changed branching (far more efficient) and added >> and << operations. 2006-09-04 22:26:58 +00:00
qfox a2f48e180f BasicBot 0.2.2b, updated save/load code. Will auto-load/save on open/close, once a bug has been fixed. Need help fixing the WM_INITDIALOG event (-> mailinglist). 2006-09-01 02:57:35 +00:00
gimmedonutnow 091d0b225d - SDL now uses the new configuration system 2006-08-30 15:27:05 +00:00
qfox 24288cd015 Basicbot 0.2.2: Added "static variables" (no, not a contradiction ;) and "static random variables" (I won't even try...) 2006-08-28 23:16:10 +00:00
zeromus dd126e30e5 more sound/throttle cleanups and improvements 2006-08-25 07:05:55 +00:00
zeromus 11e0d7ebcf improved windows sound and throttling. cleaned up lots of the mess. 8bit supported, although I dont know why you'd want to do that (it doesnt significantly cut down on processing time). Im halfway tempted to take out all the 8bit code and reimplement it buried very deep into the sound output driver as an uncontrollable panic toggle for obscure cases where 16bit isnt available. 2006-08-24 07:19:31 +00:00
zeromus ee82ccc638 configsys needs to include ../../types.h to get the snprintf macro for vs 2006-08-24 03:36:59 +00:00
zeromus a82608cd98 minor sound tweaks 2006-08-22 07:13:41 +00:00
zeromus 886085c9cb wtf with this stdbool. use a normal compiler 2006-08-22 06:31:32 +00:00
zeromus e991e6f0ca added very limited experimental improved sound/throttling code to windows build. windows users, please use 44100 16bit sound for now and test the stability. 2006-08-22 06:27:18 +00:00
qfox d81578e52f Wrapped changes to input in WIN32 ifdefs. 2006-08-21 14:19:02 +00:00
qfox 272e8e1f92 Forgot empty line at end of document. Fixed now. 2006-08-21 14:10:07 +00:00
qfox cbd856a185 Unix users ahoi. 2006-08-21 14:09:13 +00:00
qfox a843631e9f Basicbot update to 0.2.1: redesigned GUI, fixed a few bugs, added more control. 2006-08-21 13:48:15 +00:00
qfox b15942881d FCEU_SetBotMode() in input.cpp now calls UpdateExternalButton() in basicbot.cpp to update a label in GUI. 2006-08-21 13:40:13 +00:00
radsaq cd7afa49fa Fix previous fixes to Windows build. 2006-08-20 20:25:57 +00:00
rheiny 54922cf5ba Fixed build problems 2006-08-20 19:50:26 +00:00
rheiny feb819f372 Fixed build problems 2006-08-20 19:49:33 +00:00
radsaq e7d5aa6d29 Consolidate use of FCEUGI* globals GI, CurGame, and FCEUGameInfo into a single
GameInfo var. Still not very pretty, but at least there's only one of them and
the code compiles on Linux now.
2006-08-20 19:40:15 +00:00
radsaq 2dee2b9f59 Add missing file to SConscript. 2006-08-20 17:26:20 +00:00
qfox 1c30cf754e Fixed merger changes, forgot them sorry. 2006-08-20 15:13:33 +00:00
qfox 309a670313 Complete overhaul of the EvaluateFormula function. Added tiny debug option ("echo" command) to scripting language. Fixed several bugs in the process. 2006-08-19 22:13:45 +00:00
rheiny 6e2066b7f9 Started to separate debugger code into common code and Windows-specific code 2006-08-19 18:31:18 +00:00
rheiny c33e0a25bf Started to separate debugger code into common code and Windows-specific code 2006-08-19 18:30:52 +00:00
rheiny c888947c5e Added include guards 2006-08-19 18:29:58 +00:00
gimmedonutnow 349c47d122 - added config-file only options 2006-08-17 21:21:00 +00:00
gimmedonutnow c985215391 - return error on _load() when no config file exists 2006-08-17 03:55:06 +00:00
gimmedonutnow ea9b2a33a1 - added a way to have options like '-h, --help' by having the user of the class specify a function that is called when such options are seen 2006-08-14 22:35:14 +00:00
gimmedonutnow 4102348817 - added this configuration system for cross-platform testing 2006-08-10 05:25:19 +00:00
radsaq 937645bbe6 Enable SDL OpenGL code, fix compilation of sdl-opengl.cpp (broken because we're
compiling it as C++ now?), and make some minor tweaks to scons stuff.
2006-08-04 17:32:08 +00:00
gimmedonutnow d1b99bf834 - cleaned up a few variable and function names for readability
- static'd more variables
- added TODO about video resolution
2006-08-04 05:44:13 +00:00
gimmedonutnow 01c05ec26f - trying to reduce the number of non-static globals
- moved a bunch of functions around to accomidate this reduction
2006-08-03 19:51:28 +00:00
rheiny a9911ff6d7 CenterWindow now with less build breaking 2006-08-03 19:48:05 +00:00
rheiny 16f13d5d22 Changed the CenterWindow function and added comments. 2006-08-03 19:41:39 +00:00
gimmedonutnow c08f71181e - got rid of that annoying "Not implemented" message in SDL coming from the movie stuff
- static'd several global variables in input.cpp
2006-08-03 05:49:37 +00:00
gimmedonutnow 3ee6888bbd - merged the main.cpp code into sdl.cpp and a new config.cpp
- config.cpp contains the configuration and args parsing
2006-08-03 05:35:21 +00:00
gimmedonutnow c39de3f8a8 - pretty much done commenting... might have a chance to start cleanup tonight
- had to change the name of the 'brk' variable name again... please don't change it back... brk is a reserved word in *nix.
2006-08-03 00:31:31 +00:00
radsaq 8d2dfca52c Fix up my AUTHORS entry, remove another automake file, and add some
svn:ignores.
2006-08-02 22:02:11 +00:00
CaH4e3 777dc074bc Some mapper fixes, new UNIF board SL1632 was added. 2006-08-02 19:24:21 +00:00
gimmedonutnow af143cdfeb - added FRAMESKIP define by default to SConscript
- commented sdl/main.cpp
2006-08-02 06:05:44 +00:00
gimmedonutnow dee1cf579d - stupid typo during commenting was killing SDL build
- more commenting
2006-08-02 05:36:12 +00:00
gimmedonutnow fe6431a9a4 - more commenting 2006-08-01 18:45:32 +00:00
gimmedonutnow 9e68cfc6ad - this file is obsolete 2006-08-01 18:21:53 +00:00
gimmedonutnow c4c3b82d00 - updated myself in the AUTHORS
- more commenting of code.

I hope to comment it all before I start really cleaning house so that I have a sense of how it all fits together.
2006-08-01 18:20:31 +00:00
zeromus e3c020b64d added vc7 project, cleaned up some things 2006-08-01 07:56:11 +00:00
zeromus e20b6b82d9 bugfix to windows debugger and mainloop, enhanced docs 2006-08-01 07:40:00 +00:00
gimmedonutnow 4025828176 - got rid of the EXTGUI define and associated code
- commented sdl-video.cpp
2006-08-01 06:47:01 +00:00
zeromus 2d30eb6daf forgot buildscript for utils. updated project todo.. 2006-08-01 05:54:35 +00:00
zeromus cd427263da moved some util files to utils directory 2006-08-01 05:50:19 +00:00
zeromus 1b3195eca3 docs 2006-08-01 05:15:34 +00:00
zeromus a28765574f boo xstring.cpp hadnt been included 2006-08-01 04:46:04 +00:00
zeromus bfb73d91f7 oops, forgot to checkin these 2006-08-01 04:44:47 +00:00
zeromus 06536f226e moved the assembly/disassembly code to the core code
improved docs a little
2006-08-01 04:33:12 +00:00
radsaq ebab58016c Simplify scons stuff:
- instead of doing Import() and Export() for subdirs, just Return() the files
  in the subdirectories' SConscripts and add that to the top-level file list
- remove the manual handling of sdl-config output, as scons will do it for us
- remove the manual addition of libz to LIBS, as scons seems to automatically
  do it if you do a CheckLib()
- properly read and use $CC, $CFLAGS, and $LDFLAGS environment variables,
  if they exist
2006-07-31 22:24:21 +00:00
zeromus 0474a05ac3 added support for inheriting CCFLAGS and LINKFLAGS from system
environment
2006-07-31 20:07:15 +00:00
punkrockguy318 9c6cbb0563 renamed pc to SDL for clarity 2006-07-31 17:42:18 +00:00
zeromus bd5f91edcf added newline to __dummy_mapper.cpp
considered the windows default hotkeys
2006-07-31 07:40:11 +00:00
zeromus bc98e7be2d tinkered around with some more docs 2006-07-31 06:04:44 +00:00
zeromus 7fbbe82b03 prepared doxygen stuff 2006-07-31 05:41:13 +00:00
punkrockguy318 45156a8ba6 fixed compiler warning 2006-07-31 04:21:30 +00:00
zeromus 2faad5ca51 cygwin buildscripts changed again to be more stable.
added a couple more endlines to eof
2006-07-31 00:03:35 +00:00
zeromus b8b6324ba3 got the sdl/sconstruct build working in cygwin
this required some changes to build scripts. please assume, if it requires fixing, that what I did was sane!

many files included #ifdef WIN32 which I changed to #ifdef MSVC since we are only supporting windows-specific features in the msvc build.
2006-07-30 22:49:15 +00:00
zeromus 529df3c6b5 added newline at end of file 2006-07-30 22:46:39 +00:00
zeromus 80d0d46d73 moved fceu to its own folder to make room for other projects
[[Split portion of a mixed commit.]]
2006-07-29 05:46:15 +00:00