Commit Graph

1147 Commits

Author SHA1 Message Date
adelikat 917b45f235 stupid Visual Studio not saving everything. 2009-11-17 23:51:08 +00:00
adelikat c400aaab01 Win32 - Fix debug window so it doesn't crash if unminimized with no game loaded. 2009-11-17 23:50:03 +00:00
ugetab 19b5cf13f5 Made the debugger window more persistent, both because the debugger can now be opened without a game loaded, and because someone complained about how the debugger closed when you went to File>Close, even though it would return on game load. 2009-11-15 01:52:29 +00:00
qeed 4681d20481 fix include error 2009-11-14 17:33:26 +00:00
mart0258 0a4a280417 win32 - log - Remove potential buffer overflow 2009-11-14 03:48:47 +00:00
mart0258 7774d786cb Win32 - TasEdit - Adding functionality to interface items. 2009-11-14 02:46:03 +00:00
adelikat cde73a67dc made savestate compression togglable. Win32 - enable a menu item to toggle savestate compression. For SDL to have a similar feature it simply needs to toggle the variable bool compressSavestates in the core state.cpp. 2009-11-13 05:35:32 +00:00
adelikat 4a3369186b made backup savestates togglable. Win32 - enable a menu item to toggle backup savestates. For SDL to have a similar feature it simply needs to toggle the variable bool backupSavestate in the core state.cpp. 2009-11-13 04:21:24 +00:00
CaH4e3 05ea4d2881 damn old mappers crashes fixed finally in addition to 1533 rev 2009-11-12 20:43:27 +00:00
adelikat a45d6068df Win32 - whoops, for the last release I commented out the "remove from list?" pop up box when a lua code fails when selecting it from the recent menu. However, I neglected to remove it in the case of the Load Last Lua context menu item. Shame on me for copying the same code in 2 locations instead of using a single function call. 2009-11-11 20:51:06 +00:00
mart0258 2aab99feb6 Tasedit - enable nav and truncate buttons (with fixes) 2009-11-09 06:58:42 +00:00
zeromus f576691091 fix weird compile error 2009-11-08 17:13:27 +00:00
CaH4e3 6dbd108ea0 mapper 253 final fix lol 2009-11-08 15:53:48 +00:00
CaH4e3 f0e8f17cc5 mapper 253 fixed typo 2009-11-08 15:32:49 +00:00
qeed 3555f87831 update SConscript build to reflect the mapper 253 move 2009-11-08 14:47:20 +00:00
CaH4e3 4c3e35f9ba mappers 253, 226 redesigned, only vc9 project updated 2009-11-08 14:39:50 +00:00
gocha 4c36140c0d apply recent lua changes of snes9x:
* accept a table for color value.
* add gui.parsecolor, joypad.getup, joypad.getdown, emu.emulating.
* gui.line, gui.box, joypad.get becomes like Gens.
* win32: add a menu to Lua window, add "Font..." and "Clear" items.
Note: gui.box will work much differently from before, it's easy to write a wrapper function, though.
2009-11-08 12:15:25 +00:00
CaH4e3 112d03d87f fixed crash on game loading for any battery backed roms with mappers from MapInitTab 2009-11-08 11:12:37 +00:00
mart0258 e2248ca404 win32-tasedit: Added mid-movie start for start mid-movie (WIP), and to build greenzone by fast forward. 2009-11-08 05:07:28 +00:00
adelikat 2cf4d23994 win32 - debugger - added an auto-load feature 2009-11-05 04:36:46 +00:00
adelikat bf14da0052 Win32 - Debugger menu item no longer grayed when no rom is loaded. The debugger is designed to handle whether or not a game is loaded, so there is no reason to block it. 2009-11-04 18:50:18 +00:00
adelikat a70a2bc965 Win32 - Debugger - widen scoll bar slightly 2009-11-04 18:33:15 +00:00
adelikat 7fdba079ca Update changelog and Version number to 2.1.3-interim 2009-11-03 17:04:49 +00:00
adelikat 113511536e Getting everything release ready, version number, web site changes, documentation changes. This SVN number marks FCEUX 2.1.2
[[Split portion of a mixed commit.]]
2009-11-03 15:36:47 +00:00
zeromus 1be04d3c5f fix auxlib to use registerexit 2009-11-03 06:17:51 +00:00
zeromus 856ca12c03 add luaperks.lib (iup and associated libraries) 2009-11-03 06:11:55 +00:00
zeromus 009dd0f23a add lua source files so that we can compile lua once more in linux. 2009-11-03 05:09:17 +00:00
adelikat 0ecb4777d0 Minor fix ups to documentation plus info added to 2.1.2 press release.
[[Split portion of a mixed commit.]]
2009-11-03 04:58:17 +00:00
adelikat 57de66a79f Win32 - Changes to help docs and renamed it better, compile and update the .chm file. Create a 2.1.2 press release file.
[[Split portion of a mixed commit.]]
2009-11-03 04:44:40 +00:00
zeromus 8a0b1acf43 fix it better 2009-11-03 03:55:01 +00:00
zeromus 7c6f53a41d fix weird black control backcolor in replay dialog and also shrink the dynamic labels so they dont overlap each other 2009-11-03 03:32:14 +00:00
adelikat 69f988a449 Win32 - remove the messagebox when a recent lua script has an error opening. Lua scripts frequently fail when writing them, so this messagebox quickly becomes annoying. 2009-11-02 22:06:07 +00:00
qeed fe12a1d308 76-in-1 seems to be playable now 2009-11-02 16:11:25 +00:00
adelikat 6d95de6b4c Win32 - Hacky fix for the annoying directory overrides bug (perhaps not every instance but at least the one reproducable one we have managed to find. 2009-11-02 01:25:31 +00:00
adelikat d3f029d4b9 Win32 - Ram Watch - Fixed so Auto-load now opens the most recent file too. 2009-11-02 01:12:24 +00:00
zeromus 47ed3844cc maybe fix crash on exit from sloppy sound deinit code 2009-11-02 00:02:21 +00:00
zeromus d515741586 do that in a better way 2009-11-01 23:49:14 +00:00
zeromus fd82450e42 fix ram watch recent 2009-11-01 23:44:44 +00:00
adelikat 61a9f31785 checking in an attempt to fix Ram Watch recent menu, warning! this breaks the window build. 2009-11-01 23:33:13 +00:00
adelikat 025f0ad7a9 Win32 - Hoooked up Ram Watch's auto-load feature 2009-11-01 02:34:38 +00:00
adelikat f2b59bac4d Win32 - Add hotkeys for Ram Search and Ram Watch dialogs 2009-11-01 02:20:31 +00:00
adelikat f028e0d9bd Win32 - Memory Watch - Save Changes prompt - default to quicksave first and save as second (instead of always defaulting to save as) 2009-11-01 01:04:06 +00:00
adelikat cf20f9bf88 Win32 - hooked up Ram Watch AskSave() function to main exit loop 2009-11-01 00:56:00 +00:00
adelikat 327163b60c Win32 - ramwatch saves x,y position, and auto-load & save window position bools. Minor update to help doc. 2009-11-01 00:46:21 +00:00
zeromus 6b2a3afe7f then, we should get rid of the check for the lua dll 2009-10-31 14:08:06 +00:00
gocha 10aa7e32d8 Readd lua files from pcejin and fix VS2005/2008 compile error "lstate.h - include file not found". lstate.h is an internal header file of Lua, but TAS emulators refer it for some advanced implementation (for instance, error handling); sideeffect: Lua library has become a static library.
Note: we can import more files from desmume and some other TAS emulator projects if they're needed.
2009-10-31 12:07:26 +00:00
gocha 3bdf15ec1c Modified LoadBackup() to notify savestate load to Lua 2009-10-25 03:07:06 +00:00
gocha 0bc230bd31 add savestate.registerload, savestate.registersave, and savestate.loadscriptdata from snes9x lua (test needed! especially for savestate.loadscriptdata, one of the functions I've never used) 2009-10-25 03:02:00 +00:00
gocha ea92db188b luaconsole: allow resizing, add vertical scrollbar 2009-10-20 08:06:29 +00:00
zeromus c5fd3aaa79 fix a bug in mapper 43 using u8 to count irqs and comparing to 0xFFF 2009-10-19 20:06:56 +00:00
qeed ca70fde4c7 add save state format and fix mirroring 2009-10-19 17:13:24 +00:00
qeed 6f54fc602c fix typo 2009-10-19 10:22:29 +00:00
qeed e63fb66b40 [ES-1064] Qi Long Zhu (C) should be mostly playable now, still some graphic glitches though 2009-10-19 10:18:20 +00:00
gocha 15c980ff10 win32: improved Edit action of Lua console. it tries to open a script by other ways if there is no association with "edit" action. 2009-10-19 04:34:48 +00:00
gocha 0ed6811c8c Lua: add register s and p. 2009-10-19 04:07:30 +00:00
zeromus 4e4013993d fix some random annoying gcc warnings 2009-10-19 03:37:38 +00:00
zeromus 51b0429c24 fix osx compile issues 2009-10-19 03:09:25 +00:00
gocha 25cdffc734 add lua console, and add/replace print, tostring, addressof, and copytable. 2009-10-19 03:01:26 +00:00
ugetab 972e87ca32 Makes the Trace Logger refresh adequately when using stepping options in the debugger. No visible speed reduction over the previous coding. 2009-10-17 18:08:32 +00:00
gocha 8b8cc62b26 Lua: change defaultSize of memory.registerexec 2009-10-15 01:12:57 +00:00
gocha 9ca250083a Lua: initialize 'transparencyModifier' 2009-10-14 22:43:12 +00:00
gocha 469bf325a1 Lua: remove 'extern int fromPause' from doPopup. it doesn't exist. 2009-10-13 21:50:59 +00:00
gocha 3b86027f01 FCEU_LuaGui speedup 2009-10-12 22:43:26 +00:00
gocha e462f55688 Lua: upgrade gui.popup, add input.popup. 2009-10-12 22:30:06 +00:00
qeed 643f8f7cff define forceinline to be nothing if it is a unix and not using gcc 2009-10-12 19:28:07 +00:00
qeed d3ef9e7f81 woops, fix forceinline define 2009-10-12 19:05:23 +00:00
qeed d0b9f45f02 fixed linux compilation errors 2009-10-12 19:04:28 +00:00
gocha f075b248ae Lua: converted internal graphic buffer to 32bpp, however, the final output is still indexed 8bpp (XBuf); sideeffects: add gui.opacity, fix gui.line, add small font of gens lua (not used), gui.gdoverlay supports indexed image. 2009-10-12 07:32:31 +00:00
adelikat ea652c6836 Win32 - removed the RAM Filter dialog since it is doubly redundant compared to both cheat search and Ram search. Some minor changes to the help doc. 2009-10-12 02:51:38 +00:00
gocha 9553ec70c7 re-add movie.playbeginning for backward compatibility; add the description of emu.registerbefore, emu.registerafter, emu.registerexit, memory.getregister, memory.setregister, memory.registerwrite and memory.registerexec to the Lua functions list. 2009-10-11 23:48:45 +00:00
adelikat 888febcd19 Added some backwards compatible lua functions. Cleaned some lua stuff up, added documentation on lua changes to the help file. 2009-10-11 21:11:30 +00:00
gocha 3cabff32c6 add memory.[get|set]register; since I don't know about NES specification much, there are only a, x, y, and pc at present. 2009-10-11 08:50:09 +00:00
gocha 3ab41b359c ported memory hook codes from gens, then re-implemented memory.registerwrite, and add memory.registerexec; FIXME: CallRegisteredLuaMemHook in nsf.c, I couldn't get how it should be; there might be other issues possibly 2009-10-11 08:34:10 +00:00
gocha d7b02d9549 Lua: add movie.recording and movie.playing, and rename movie.playbeginning to movie.replay 2009-10-11 05:29:41 +00:00
gocha cc55d175a6 Lua: add emu.framecount and other alternative names of existing functions. 2009-10-11 05:09:17 +00:00
gocha f0a1983112 Lua: rename fceu_* functions to emu_* 2009-10-11 04:39:05 +00:00
qeed 5e4aa9b7ad fixed dragon lair (mapper 4 version) in new ppu 2009-10-11 01:56:19 +00:00
qeed 5a2750d160 Fixed linux compilation issues 2009-10-10 23:12:21 +00:00
zeromus 6d75c9ce0d newppu: fix bug in _vt = 30,31 latching causing general malfunction (fix tecmo super bowl) 2009-10-10 22:36:16 +00:00
ugetab 086e53310f Minor NSF related Hex Editor update. Cuts display of PPU Memory to 0x0000-0x1FFF, because 0x2000-0x3FFF only show 0 due to a bug-fix. 2009-10-09 20:00:54 +00:00
ugetab 18cd4d6569 Fixed a debugger crash error I introduced while adding .deb saving, fixed an internal Unif/FDS filename issue that was affecting .deb saving/loading, and enabled bank display in the debugger for NSF and NES. FDS and Unif banks displayed aren't right, but shouldn't be a serious problem, even if not fixed. 2009-10-08 17:55:21 +00:00
gocha 493e086850 vs200x: print svn revision number in version string. 2009-10-08 13:48:15 +00:00
gocha 449d62e0a8 activate ramwatch hotkeys 2009-10-08 13:04:27 +00:00
gocha 197322bcf1 win32: fix new ramsearch 2009-10-08 08:06:45 +00:00
gocha 585cb80257 add gens style RAM tools; RAM watch somehow works, but RAM search doesn't work well for some reasons. I hope I'll fix it a little later. 2009-10-08 07:04:41 +00:00
gocha dfeff60615 Remove emu.OnClose and register fceulib as emu instead.
Add emu.registerbefore, emu.registerafter and emu.registerexit.
2009-10-08 05:02:22 +00:00
gocha 313ed75b55 Lua: register entire LuaBitOp library. 2009-10-08 03:45:47 +00:00
qeed 36d61a2b2c updated mapper253 to the point where the title screen displays ok, gameplay is still b0rked though 2009-10-06 00:50:42 +00:00
CaH4e3 ec6398fd6e mapper 103 fixed now 2009-10-05 08:15:36 +00:00
qeed b5b5c7affc preliminary support for mapper 253 2009-10-04 13:56:43 +00:00
qeed 1c6ac0a46c added save state for the mapper rams 2009-10-03 23:11:28 +00:00
gocha 41ab92edb3 movie dialog: changed framerate from 60 (or 50 for PAL games) to real framerate.
movie: fixed the initial value of rerecord count. it should be 0, not 1.
2009-10-01 14:59:41 +00:00
fatratknight 9706c82a8c Moved an if statement out of a function that prevented input.get from working properly with a mouse on movie playback. Just a quick fix. 2009-09-29 21:29:23 +00:00
qeed 0b96e69ca2 added mapper ram reading, this gets some more games in action 52 to work 2009-09-27 13:01:36 +00:00
qeed d08c507765 fixed action 52, should work like 2.0.3 version 2009-09-27 02:52:51 +00:00
ugetab 6b6d218388 Working Debugger list(.deb) Saving and Loading finished.
It's even less of a hassle to use now than it is to use in FCEUXDSP. Debugger/watchpoints automatically reload on game change, no phantom information traversing .deb files, and it's compatible with the FCEUXDSP .deb files.

Took a long time to write & debug the code, so there may still be errors I didn't catch.
2009-09-18 03:29:44 +00:00
ugetab 86ce4304cb Nearly working Debugger list Saving and Loading.
It loads correctly. It saves correctly in most cases.
The issue is that it randomly overwrites the debugger's list for an opened game if you cycle through the recent files list, or it otherwise fails to load the opened game's .deb file.
2009-09-17 06:36:09 +00:00
ugetab bd8a0f3b10 Removed LogPCM routine, confirmed PCM logging works without it. 2009-09-16 21:29:33 +00:00
ugetab dbdcacadfb Restored DPCM Logging when Code/Data Logger is active. 2009-09-16 20:25:41 +00:00
fatratknight feb135ce2e Added in an invert possibility for joypad_set. Using a string instead of true/false/nil will let lua invert the player's input. 2009-09-15 18:20:10 +00:00