Commit Graph

2665 Commits

Author SHA1 Message Date
ansstuff 78b47b938a * fixed filename reference in Luabot.lua (#603)
* SDL: fixed instructions counting (even though the only way to see the value of the counter is to use debugger.getinstructionscount() in Lua)
2013-05-26 16:20:38 +00:00
ansstuff 50a1ad74ab * Lua: added debugger.hitbreakpoint() function
* Lua: added debugger.getcyclescount() function
* Lua: added debugger.getinstructionscount() function
* Lua: added debugger.resetcyclescount() function
* Lua: added debugger.resetinstructionscount() function
* Win32: when no script is currently running, Shift+L loads the most recent Lua script
2013-05-26 15:18:30 +00:00
CaH4e3 1b5220a004 mapper 183 - second level crash fix 2013-05-26 07:55:23 +00:00
CaH4e3 175c4af22b mapper 253 - fixed dragonball garbled graphis TODO: irq
bandai mappers - fixed savestates
2013-05-14 08:41:03 +00:00
CaH4e3 d5e6d7f891 mapper 43 - new dumps needed
UNIF mihunche - new source for the old board/mapper
UNIF PEC-586 - new mapper almost complete
2013-05-13 19:27:34 +00:00
ansstuff dad4e753f6 Video config: changed "Create surface in memory" to an actual drop-down list with 3 options: a) No hardware acceleration; b) Create surface in RAM; c) Hardware acceleration. Because it appears that some video cards still blur textures even when stored in RAM. 2013-05-09 13:26:47 +00:00
CaH4e3 95b120fcf4 bandai eeprom emulation, enjoy 2013-05-08 15:41:12 +00:00
CaH4e3 abcb50e2e3 bandai mappers fix (for now)
more crc redefinitions
2013-05-07 20:42:54 +00:00
ansstuff b2b47db6ef updated docs
[[Split portion of a mixed commit.]]
2013-05-07 14:53:50 +00:00
CaH4e3 80ec97d159 copyrights 2013-05-07 05:49:08 +00:00
ansstuff 24f16b670c * added checking if the archive file has any files in it, because new 7z.dll confuses FDS files with archives (it recognizes the first "F" as a signature of an archive) 2013-04-29 12:52:43 +00:00
ansstuff 4597f8543c * Video config: changed "Disable hardware acceleration" option to "Create surface in system memory" 2013-04-28 18:03:55 +00:00
ansstuff d15b71a9ce * win32 video: always create backbuffer in system memory, should fix the blur in WinXP
* also made hardware acceleration enabled by default
2013-04-24 13:44:42 +00:00
zeromus 7bc40c5c51 dont printf size_t with %d, cast it to an int instead. because really, have you ever seen a size_t that wasnt immediately casted to an int? woops, missed one. 2013-04-23 03:09:52 +00:00
ansstuff d962178d15 * Video config: added "Square pixels" option, enabled by default
* Video config: renamed "Use console BG color for empty areas" option to just "BG color"
* Video config: added aspect ratio fields for customizing "TV Aspect" ratio, by default it's 4/3
2013-04-19 16:34:55 +00:00
ansstuff 510b8a770b Savestates: fixed errors handling (broken by previous commit) 2013-04-19 12:58:14 +00:00
xhainingx c497432785 added optional arguments to suppress messages on state load/save
the argument was added in the following functions
state.cpp:FCEUI_LoadState
state.cpp:FCEUI_SaveState
state.cpp:FCEUSS_Save
state.cpp:FCEUSS_Load
This helped with the periodic saving where you don't really want the
save message popping up every time there's a save.
2013-04-18 19:40:57 +00:00
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