Commit Graph

1605 Commits

Author SHA1 Message Date
qeed 5308b98264 p2mic thing 2010-05-01 21:17:42 +00:00
ugetab da1a1c7b61 This input.h addition proved useless. 2010-05-01 20:34:54 +00:00
ugetab 1f70280225 Dealt with bug 2746888. LUA now CDs to folder of LUA file on load. Added working Windows CD code, and test *NIX CD code. *NIX code still needs to be confirmed. 2010-05-01 18:48:42 +00:00
ugetab 0613eb2163 Addressed bug 2995032. LUA now throws a maximum of 8 errors when stopping a script. 2010-05-01 16:42:06 +00:00
ugetab 6c902a9562 Updated documentation for microphone, and reduced microphone polling restrictions. 2010-04-28 21:51:08 +00:00
ugetab 8c379b7bba Added microphone button support to the Config>input dialog(replaces Port 2 Start button), the config file info, and the movie file header. Tested in 3 or 4 games, where it performed accurately.
I'll add the documentation later.
2010-04-28 19:25:52 +00:00
ugetab 558c7930ae Added what amounts to a working example of a Microphone button. When playing an FDS game, the microphone replaces the input that the Start button would have.
Also added config file option replaceFDSStartWithMicrophone to allow someone to restore the previous functionality. I won't fully detail this unless there's no reasoning against it.
2010-04-28 08:06:56 +00:00
mart0258 ed6a9b0684 FCEUI_MoviePlayFromBeginning() - prevent movie-loading delay.
MovieRecord::dump() - handle binary movies.
2010-04-28 04:50:32 +00:00
mart0258 fd9b3a2978 Slight performance boost to re-recording savestates. 2010-04-28 03:13:33 +00:00
ugetab ec98da5332 Help document:
Lua Functions:
Altered header referencing to use Alias: when referring to different sections(gui.*, input.*, etc), and relist same-section aliases as headers to function information multiple times.

emu.getreadonly() changed to emu.readonly()
emu.print() added.
gui.savescreenshot() added

Other:
Altered some table fonts to Fixed Width in Technical Information>NES Processing>CPU - 6502

Removed link to non-existent RAM Filter page.

Likely a few other small cleanups.
2010-04-27 22:18:51 +00:00
fatratknight 98a22a6cc1 Reverted the choice to put the rewinder in registerafter. Separated out the backup options for individual players. Made the backup display slightly smarter. Also, updated changelog. 2010-04-26 02:17:55 +00:00
fatratknight 45c10c1e23 Fix attempt #2 of a desync under high lua load, joypad.get, and a stateload from the user. Removed a call to FCEUD_UpdateInput, that's the whole fix. I mostly undid ugetab's recent changes in this change. 2010-04-26 01:58:49 +00:00
ugetab d5fa95c276 Fixes an error with joypad read coding in LUA with processing-heavy scripts, when loading save states. Yes, it takes all of that to cause the error. Someone who uses FCEUX to TAS should try stuff starting from a save state, with LUA going.
FatRatKnight believes it's because the process of pressing a button to load a state, combined with the keyboard reads in LUA, and the heavy processing delaying code execution combine to allow for a skipped frame. The heavier the LUA processing, the more likely a skipped frame.
2010-04-24 22:20:10 +00:00
ugetab 5600ba096b Added an error message to account for FDS BIOS files that aren't exactly 0x2000 bytes in size. The 40k copy floating around shouldn't cause unannounced errors anymore. 2010-04-24 15:54:34 +00:00
ugetab 297d2f2d55 Attempted optimization broke the Visual Themes coding in Release builds. 2010-04-23 22:08:39 +00:00
ugetab a1e4ffe59a Made INES PAL test check only the filename. Error was listed by Andypro on TASVideos forums, page 5. Not in a position to check against a Unix file path. 2010-04-23 21:01:11 +00:00
ugetab 6ad9147ac8 Added an option to Tools>GUI that creates/deletes a (program name).manifest file, to disable the stuff that kuja_killer didn't like. Only affects things for those using visual themes. 2010-04-23 19:32:51 +00:00
ugetab 80f6049f2e Added my attempt at an Intermediate level Debugger Usage Guide to the help document, and fixed a small issue with 'Forbid' breakpoints where even if they were disabled, they would still have the same effect as when enabled. These can now be turned off without deleting them. 2010-04-22 03:46:56 +00:00
ugetab 5ada522ac2 Help file maintenance. Added both new LUA commands, removed errant tabs, described/updated a little debugging data, and fixed a few tables by switching to them Courier New(for fixed width fonts). 2010-04-22 01:26:39 +00:00
ugetab b9955ea463 Minor addition to LUA documentation, and a Super Mario Bros. Competition Recorder, which tracks one's best attempts at recording a 'from reset' movie that achieves a high score, then saves the results in a text file, and sorts them by high score. 2010-04-21 22:04:31 +00:00
ugetab 1ff2b3d892 lua functions movie.ispoweron() and movie.isfromsavestate() fixed. 2010-04-21 21:10:17 +00:00
adelikat a96f1e5360 New lua functions movie.ispoweron() and movie.isfromsavestate() 2010-04-21 03:24:14 +00:00
adelikat daad084393 Win32 - Drag & Drop - if dropping a .fcm with no ROM loaded,
prompt for one (same functionality that was added to .fm2 files)
2010-04-20 19:28:05 +00:00
ugetab 4ff3aed35b Found a release-version crash error when looking up the mapper name for the message log(which was tied to message display). Fixing it required renaming a typedef struct to stop confusing the debugger/compiler, and then making a simple loop that tests against the listed mapper number instead of the array number. 2010-04-20 17:11:24 +00:00
fatratknight efa51e4d35 By request of dwangoac, I have added backup functionality. Might need tweaking with the colors, and some instructions to go with it, but at this moment, I'm satisfied enough with it to commit this lovely addition. Poor numpad, scarcely having any buttons left untouched. 2010-04-20 06:39:21 +00:00
CaH4e3 f4baea95ae vc10 project + vc10 luaperks src package
[[Split portion of a mixed commit.]]
2010-04-19 08:15:20 +00:00
fatratknight e6edd5ab16 The display is smarter now. It also now runs entirely on registers, so another script can include it and do stuff in its own main loop. ... I hope. Unpaused rewinds no longer auto-pause, however. 2010-04-12 18:19:38 +00:00
shinydoofy 5d0aefac08 GTK: fix two typos in gui.cpp 2010-04-10 13:42:33 +00:00
ugetab 16ae807d6b Very likely fixes the Recent games list(to prevent games from randomly going missing from it). Testing suggests that this could have caused setting-erasure errors before the Recent games error started occurring regularly. 2010-04-09 06:58:50 +00:00
ugetab bad5a79e91 Added conditional debugging option 'K', for the bank the PC is on. A workaround-style option to address Tracker Item 2007006, which suggests 24-bit breakpoint addresses to account for bank. Testing shows that the bank evaluates to 0 on RAM code access. 2010-04-08 21:26:20 +00:00
adelikat 801f4c7d96 Fix bug that caused zapper.read() to crash when a movie playback ends. 2010-04-08 20:44:59 +00:00
ugetab df995a5525 Made some small changes to breakpoint operations so that enabling Execute on an address doesn't prevent Read and Write breakpoints from functioning if also enabled. Addresses Bug 2806233. 2010-04-08 19:30:55 +00:00
adelikat 895c8111e2 Start 2.1.4 interim 2010-04-08 14:35:10 +00:00
adelikat 84e328d6ba Prepared files for release. This revision marks the 2.1.3 Release 2010-04-08 13:49:26 +00:00
ugetab 1a98ae6284 Fixed conditional debugging text loading on second+ game load. Variable cleanup was mainly using free(), but code was testing prior usage with if(variable) coding, evaluating to true from the random data, and feeding the freed variables to functions. 2010-04-08 01:57:15 +00:00
adelikat cd6fe07f8e Update changelog 2010-04-08 00:58:21 +00:00
smelenchuk f0c5732035 Checks in Lua gui.text() to make sure drawing isn't attempted
off-screen.  Should close #2692369.
2010-04-08 00:46:56 +00:00
adelikat b38e181aa6 Win32 - Lua console - filename updates when lua scripts are dragged to emulator or recent filenames invoked. This is done by implementing an UpdateLuaConsole() function. TOOD: there are probably other useful things for that function to do. 2010-04-07 23:56:15 +00:00
adelikat b7b4629019 Lua - ip out all the code related to pausing/unpausing of the emulator when running/stopping lua scripts. Let the user be in control of that. 2010-04-07 21:45:06 +00:00
mart0258 bb51d75e22 Remove one of a few slowdown bugs when reading movie files 2010-04-02 04:34:12 +00:00
punkrockguy318 f886aad5fa sdl: fixed glitch introduced with last revision that didn't allow scalers at all (small oversight by me) 2010-03-31 03:59:11 +00:00
punkrockguy318 7a323bba85 sdl: actually bomb out cleanly when scalers are actived with openGL; else we will segfault 2010-03-31 03:50:42 +00:00
ugetab 3e34f5707b Made closing minimized windows stop trying to save the position as a negative number, part of what's reported under Tracker Artifact 2979512. 2010-03-31 03:46:16 +00:00
punkrockguy318 d4f6aae2cb sdl: exit cleanly when scalers are enabled instead of segfaulting 2010-03-31 03:44:40 +00:00
punkrockguy318 ec43e84f64 sdl: fixed some sconstruct glitch that didn't allow openGL to build 2010-03-31 03:41:39 +00:00
punkrockguy318 d11744b9da gtK: removed some code that changed the scaler to null with opengl as it seems that it works in openGL now 2010-03-31 03:35:42 +00:00
adelikat 4cf0532e30 Lua - fixed zapper.read() to read movie data if a movie is playing. Also changed the struct values to x,y,fire. This breaks lua scripts that used it previous, sorry. Fixed the zapper lua scripts to be compatible with the new zapper code. Updated documentation to reflect this change.
[[Split portion of a mixed commit.]]
2010-03-28 04:47:02 +00:00
ugetab bd7bc4effd Added ability to disable .deb file read/write, and related debugger window reload, by adding "debuggerSaveLoadDEBFiles 0" to the config file. Basically turns off all the debugger file stuff I worked on for those who dislike the feature. 2010-03-15 21:28:13 +00:00
adelikat 2393cfca49 Lua scripts - a simple "target" display for zapper 2010-03-12 17:40:03 +00:00
mart0258 c1590b3a1b w32-Tasedit: Enable insert frames, improve greenZoneCount stability, TAS fastforward performance boost. 2010-03-09 03:40:10 +00:00