Commit Graph

2798 Commits

Author SHA1 Message Date
xhainingx 992166852c fixed sdl/SConscript to only compile gui.cpp when using GTK in SConstruct 2013-04-18 05:27:54 +00:00
xhainingx 78770114f9 added #include "types.h" to fceu.h 2013-04-18 04:42:35 +00:00
xhainingx 00d17cc331 removed a debugging printf I had left 2013-04-18 04:41:09 +00:00
xhainingx 11e84829e4 added --periodicsaves command line argument
in sdl.cpp:DoFun(), it will save to the state specified by
--savestate periodically.  The interval is currently decided by
a #define in sdl.h. I have it this way because you have to mod
by the interval, and having this be a compile time value lets 
the compiler optimize out the modulo operation.  Since this check
will happen so frequently I thought this was better.  However, if
this is better suited to something configurable, I am willing to
change it.
2013-04-18 04:17:34 +00:00
xhainingx 3d05dad95e added gui.cpp functions to gui.h and compiled/linked gui.cpp
sdl.cpp had a #include "gui.cpp" line, rather than
including the gui.h header (which was lacking).  All the declarations
are now in gui.h and gui.cpp is in the sources_list
2013-04-17 19:22:05 +00:00
ansstuff 40231420d1 fixed Aboutbox 2013-04-17 18:50:42 +00:00
ansstuff b5ff928a50 "Auto-resume old play session" now also works with NSFs 2013-04-17 18:35:22 +00:00
zeromus c9c4b057dd properly savestate NSF 2013-04-17 18:19:54 +00:00
ansstuff 371ffcbf19 win32: updated 7z.dll to v9.22 2013-04-17 18:08:55 +00:00
zeromus dfbd7c2405 add missing mmc5 savestate variables 2013-04-17 17:24:47 +00:00
xhainingx a8386f8c25 added appropriate constness to Config::getOption functions
Previously the Config::getOption functions were not marked as const,
This prevented them being called through a const Config * as I was
attempting to do.  I've marked them as const member functions
as well as changed the iteration to use a const_iterator.
2013-04-17 15:29:06 +00:00
xhainingx 950d38e25d C++11 compliant string literal concatenation 2013-04-16 20:14:42 +00:00
xhainingx 7abad425c5 switched header files in sdl/ directory to c++ headers 2013-04-16 19:53:01 +00:00
ansstuff acc1a07c1e * Tracer: added "Log Cycles count" and "Log Instructions count" options 2013-04-16 16:12:45 +00:00
ansstuff f63e190e35 * Debugger: fix mouse wheel scrolling by whole instructions 2013-04-14 12:47:06 +00:00
zeromus 166e1637fd fix win32 compilation errors 2013-04-13 23:17:46 +00:00
ansstuff 5399af97e9 * Debugger: scrolling up/down by whole instructions 2013-04-13 13:45:53 +00:00
ansstuff 466798309c fixed win32 bug caused by previous commit. The <sys/stat.h> has to be included above "types.h", or else the "#define stat _stat" fails 2013-04-13 13:05:22 +00:00
xhainingx bc8a01178d corrected c-style includes, added static_casts around compile time conversions
there were a lot of lines that needed static_casts to get rid of compiler
errors (c++11 issues) so I added them.  Replaced #include<lib.h>s with
#include<clib>s, and moved them below the local includes
2013-04-13 02:52:13 +00:00
punkrockguy318 1478ebebeb scons: explicitly disable compiler optimization for debug build 2013-04-12 17:26:08 +00:00
gocha 43c849cc68 Lua: fix wrong frequency calculation in sound.get() 2013-04-12 12:52:01 +00:00
xhainingx a666ca9b4b didn't mean to commit the previous SConstruct, back to normal 2013-04-12 01:34:48 +00:00
xhainingx 6e1137a269 changed names of new command line args
--abstartselectexit     ->  --4buttonexit
--autosavestate         ->  --savestate
--autoloadstate         ->  --loadstate
2013-04-12 01:33:52 +00:00
xhainingx 0ad7a6ed08 added command line argurments for exiting on button pushes and
autoloading/autosaving

various other small changes around the source, but the big changes
to the program are the command line arguments
--abstartselectexit (0 or 1)
--autoload (0-9 or greater than 9 for no autoload)
--autosave (0-9 or greater than 9 for no autosave)

autosaving only occurs when sdl.cpp:CloseGame() is called, which
doesn't appear to happen when the window is "X'd out"
2013-04-10 20:58:01 +00:00
ansstuff f645cc891e Taseditor: comply with movie.rerecordcounting() setting 2013-04-07 13:02:59 +00:00
CaH4e3 e64ebd4686 mapper 154 - fixed 2013-04-01 08:25:38 +00:00
CaH4e3 775c6fcd93 rename 2013-03-26 15:54:56 +00:00
CaH4e3 88950914d7 mapper 53 - supported ines format of SUPERVISION UNIF board
UNIF 8157 - fix according to hw
UNIF T-262 - fix according to hw
2013-03-26 07:49:34 +00:00
CaH4e3 140826d245 UNIF DANCE2000 - now emulated properly 2013-03-24 10:14:22 +00:00
zeromus 195514bf78 win32-dont demand lua dll when shutting down 2013-03-20 22:17:14 +00:00
gocha 3316c49348 Win32: delayload lua51.dll 2013-03-20 14:46:55 +00:00
gocha d8ae7d5d0e Win32: link to lua51.dll instead of static linking, because many of external libraries can crash without lua51.dll
Sorry if I break VS2005 build. I don't have it now.
2013-03-20 14:26:44 +00:00
gocha a0500c342a Win32: remove broken character in VS2008 vcproj file. 2013-03-20 13:50:08 +00:00
punkrockguy318 39dc4dee16 sdl: update todo list 2013-03-20 12:40:41 +00:00
punkrockguy318 03ac88ecf7 sdl: ensure auto-play save and battery backup save is saved on quit hotkey
scons: use g++ by default
utils: update to latest upstream backward-cpp
2013-03-20 12:37:31 +00:00
zeromus 098d0a8167 oops 2013-03-19 18:08:32 +00:00
zeromus 33e191fbd4 bring some improvements to newppu from bizhawk, and fig vtoggle5/6 back to vtoggle 2013-03-19 18:08:03 +00:00
zeromus 220ad62d79 fix mapper 28 2013-03-19 16:46:27 +00:00
zeromus 81740ac177 vc cleanup 2013-03-19 16:46:11 +00:00
ansstuff c952bc86d2 * Replay: removed redundant window update when using "Browse" (fix #585) 2013-03-17 13:45:41 +00:00
ansstuff 1f64a4ef1a fixed path according to new SVN structure 2013-03-17 12:31:55 +00:00
punkrockguy318 4a7aff2eac sdl: import an upstream fix for a bakward-cpp issue with clang that was previously haked around in the build script 2013-03-17 01:09:49 +00:00
CaH4e3 031972adb7 UNIF DSOUNDV1 - removed due to duplicate of 178 mapper
mapper 178 - added more features of 8/16M carts with 32K SRAM
UNIF 09-034A - added support for a new SMB2j Lite version
2013-03-16 20:16:14 +00:00
punkrockguy318 bc5d937ca4 minor code cleanup 2013-03-16 04:23:02 +00:00
punkrockguy318 59bd684493 sdl: code formatting cleanup 2013-03-16 02:46:19 +00:00
punkrockguy318 5eeafe4ae3 sdl: fix formatting in code 2013-03-16 02:37:50 +00:00
punkrockguy318 3d1484c7e7 sdl: trivial code cleanup 2013-03-16 01:13:37 +00:00
punkrockguy318 d8723cca95 add backward-cpp header (missed it in previous commit) 2013-03-15 19:31:39 +00:00
punkrockguy318 24313921ce tag 2.2.1 release 2013-03-15 19:11:47 +00:00
punkrockguy318 508ed84af1 re-attempting to tag 2.2.1 2013-03-15 19:10:30 +00:00