Commit Graph

206 Commits

Author SHA1 Message Date
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
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 208d27fd14 The modified FCEUXDSP 1.07 NSF Updates were applied.
Additionally, Hex Editor and PPU coding that was causing errors because of the updates was also changed.
2009-08-07 19:24:50 +00:00
CaH4e3 9e77b890a5 latest fceumm mappers merged into fceux
fixed sound volume bug
a lot of vandal modifications lol
2009-03-22 05:31:17 +00:00
adelikat e4339554fb Closing a game or opening a new game resets the frame counter 2009-03-13 16:27:29 +00:00
adelikat 0bb0d643ce Win32 - TraceLogger - Fix bug where user can't scroll log text while auto-updating 2009-03-12 13:09:51 +00:00
adelikat 9ecb9f1821 Win32 - small fix to recent roms menu 2009-03-06 16:59:55 +00:00
adelikat 00f4ce012f Win32 - Sound channel volumes - fixed a careless error I made 2009-03-02 02:58:55 +00:00
adelikat 2960c30888 change FSetting sound volume defaults to 100 (based on a 0-100 scale) 2009-02-07 02:00:19 +00:00
adelikat c68e7c58e0 checking in WIP of Individual sound channel control 2009-01-12 18:59:00 +00:00
adelikat 800ebed60b Win32 - View save slots Menu Item added. 2008-12-27 00:08:29 +00:00
adelikat e7cf0d62c6 Win32 - Next save slot and Previous save slot menu items added. 2008-12-26 23:49:45 +00:00
adelikat d3697ca84e Win32 - Menu items Save State and Load State added. FCEU Menu reorganization. 2008-12-26 23:26:43 +00:00
adelikat 62641715fc auto-save fixes, prevent loading an auto-save from previous session. Win32 - added flags for enabling auto-save menu item. 2008-12-24 05:07:32 +00:00
adelikat 5cb9c50814 Undo savestate / Redo savestate and Undo loadstate / Redo loadstate features implemented. Win32 - undo/redo context menu items implemented. 2008-12-24 00:38:47 +00:00
adelikat 40926ab5f7 More undo savestate fixes. Win32 - Undo/Redo savestate menu item added. 2008-12-23 22:44:04 +00:00
adelikat d8d239e35d Movie auto-back feature implemented 2008-12-23 01:07:55 +00:00
adelikat 6fb09465ca Moved around movie options variables and make movie backup functions 2008-12-23 00:10:15 +00:00
adelikat ffe25288cc Win32 - created movie options dialog box 2008-12-22 23:31:39 +00:00
adelikat dde6132ded Win32 - better sound bypassing during turbo while muteturbo is checked. 2008-12-19 05:51:34 +00:00
adelikat 49a8bc25cf Win32 - minor mute sound on turbo fix 2008-12-13 03:31:44 +00:00
zeromus 551cb8e866 clean up header file, for fewer dependencies and hopefully slightly faster builds. also fix a couple of const arrays which were being defined in a .h file 2008-12-13 02:47:07 +00:00
zeromus 408d0306b6 fix linker error re SetSnapName 2008-12-12 17:39:27 +00:00
CaH4e3 6d1651dad7 All this mapper shit from FCEUMM enjoy ;) 2008-12-10 15:20:40 +00:00
adelikat e534c03691 more FCEUI_Emulate code clean up 2008-12-05 04:23:48 +00:00
adelikat b199505bcb fceu main loop - code cleanup. Saves a few cycles in a the process! 2008-12-05 03:59:46 +00:00
adelikat a51aa36f29 Win32 - added many hotkey items as menu items 2008-11-24 15:24:11 +00:00
adelikat 13d2afeffb Win32 - Movie subtitle toggle menu item 2008-11-23 21:41:33 +00:00
adelikat eb65e0122b Movie subtitle system installed 2008-11-23 21:28:22 +00:00
adelikat 4119180195 Win32 - Memwatch - ram change monitor beta version 2008-11-16 16:58:12 +00:00
adelikat 9ac49d11a1 Win32 - texthooker fixes - 1) reinstalled error checking on dialog startup. 2) Fixed crash on save file 3) Texthooker updates while game is playing 3) Remembers window position 4) Fixed bug where cancel save gives error message. 2008-11-15 01:35:29 +00:00
zeromus cda4fb4824 emulua: add rom.readbyte and rom.readbytesigned 2008-11-02 20:11:14 +00:00
zeromus 6f4928726e reset/power recording and playback support. 2008-11-02 18:21:44 +00:00
shinydoofy d0992f7ff5 toggle skipping of lag frames for SDL build 2008-10-19 17:48:06 +00:00
adelikat de92a9a9ba limited number of characters the movie filename can be when including in savestate filenames. (To help prevent insanely long savestate filenames) 2008-10-19 04:01:21 +00:00
punkrockguy318 407f0f8663 optional lua in sdl 2008-09-24 06:06:31 +00:00
zeromus ddd786eadf support mmc5 in newppu 2008-08-24 00:04:09 +00:00
zeromus 2cba0fd439 support autoloading from archives in cases where there is only one useful file in an archive.
add experimental ram-only emulua savestate code. now call savestate_persist(ss) if you want to cause it to go to disk. otherwise it will stay in memory. this might speed things up. also add experimental new ppu which can be enabled by newppu 1 in configfile. there is no reason to use it yet but i needed to do a checkin
2008-08-18 03:11:42 +00:00
punkrockguy318 b6edc72bc8 reverted all fceu_emulate changes 2008-08-14 16:12:26 +00:00
punkrockguy318 a962ff65de god damn it 2008-08-14 15:59:05 +00:00
punkrockguy318 01aaee7cf4 oops 2008-08-14 15:58:35 +00:00
punkrockguy318 4900b4afbd attempt to fix frame advance 2008-08-14 15:58:16 +00:00
punkrockguy318 077f756572 fixed --input(1-4) 2008-08-13 07:06:41 +00:00
zeromus 93c18133cb [ 2047986 ] palflag 1 in .fm2 files crashes fceux ;
also, change build process so that upx doesnt happen until deploy.bat (lets you debug release builds)
2008-08-13 04:06:01 +00:00
punkrockguy318 55cba7414f snapname now fixed and slgith SConstruct cleanup 2008-08-12 16:48:02 +00:00
zeromus 3e983865df SF [ 2046985 ] SRAM not wiped on power cycle (during movies) 2008-08-12 06:52:48 +00:00
zeromus 89641c1b92 improve ips and filename generation system 2008-08-12 05:31:06 +00:00
zeromus f73de3b31e restore IPS patching capability which was lost when archive support was added 2008-08-12 04:57:15 +00:00
zeromus c8473ffadb SF [ 2011550 ] Buffer overflow (change vsprintf to vsnprintf) 2008-08-12 03:35:54 +00:00
punkrockguy318 88b1fffe9d extensive sdl cleanup
see the changelog.txt for details
2008-08-10 13:38:39 +00:00
adelikat 7d03ee4fc9 frame adv - skip lag feature implemented 2008-08-07 15:56:39 +00:00
zeromus 2c5a0a443a lagcounter added to savestate 2008-08-07 04:56:40 +00:00
zeromus ae0e3a5db4 SF case 2040448 View Slots bug - does not include new savestate naming 2008-08-07 04:10:41 +00:00
adelikat 9ba575fa82 Autofire fix, fceu.cpp was initializing to 0 instead of 1 (my silly mistake) 2008-08-04 17:05:29 +00:00
zeromus d7524bcdba committing basicbot rip-outage so i can test it at work 2008-07-31 16:21:42 +00:00
adelikat 697f248eb0 AutoFire() now takes lag into account. If last frame was a lag frame it repeats the previous pattern. 2008-07-26 18:31:45 +00:00
zeromus d8f83637e2 fix bug where canceling from archive browser causes emu to freeze 2008-07-24 22:44:56 +00:00
zeromus cf65728642 lua!!!! 2008-07-23 06:54:14 +00:00
qfox 9bd8553976 New BasicBot works, but very very basic (only numbers). 2008-07-22 20:17:43 +00:00
adelikat e1ed71bbd9 Cheat search fix - pausing emu stops possibilities updating and double clicking is done only while emulation is paused. 2008-07-19 17:34:49 +00:00
bbitmaster 595881979c Deleted the MapperInit() call from the PowerNES() function. This was added in build 527 and was causing saved state problems in Just Breed, and possibly other issues. (It was causing mappers to get initialized twice) 2008-07-13 00:06:49 +00:00
zeromus 0a63a42df2 proper support for single-file archives 2008-07-10 05:42:12 +00:00
zeromus 81241b5d26 reorganize lagflag code 2008-07-10 04:55:52 +00:00
adelikat ef349c0a0d Lag counter colors work while paused 2008-07-10 04:51:58 +00:00
adelikat 584c444118 Lag Counter now has colors! 2008-07-10 03:21:04 +00:00
adelikat 3bff3154c7 Lag Counter on its own line (instead of added in with general messages) 2008-07-10 02:17:42 +00:00
zeromus bc54e2abba generalized the loading-from-archive code to work with any archive format and to load any kind of file from archives (although nothing but the roms may work yet and i will have to fiddle with things as requested). I probably broke the sdl build; just stub the two new FCEUD_ functions in the most brainless way possible and it should work. 2008-07-09 05:47:13 +00:00
adelikat 663a2daf08 1) Lag Counter setting remembered by config. 2) MapHokeys now includes many tools such as debugger, ppu viewer, etc. 2008-07-07 15:54:38 +00:00
adelikat 1ebff1d250 Lag Counter implementation 2008-07-07 00:18:55 +00:00
adelikat 8a89a598f8 If cheats file loaded, message is sent to window 2008-07-06 02:35:00 +00:00
adelikat b09d9b62a6 Autofire offset and alternate A and B remebered in config 2008-07-03 18:56:44 +00:00
adelikat 13de73daf2 Autofire pattern now remembered in config file. 2008-07-03 15:33:04 +00:00
zeromus 033ae55048 - add 2nd player to tasedit
- fix bugs which broke movies with saveram which was added when 7zip was added
- fix bugs in tasedit insert and delete
2008-06-28 23:31:02 +00:00
zeromus 6f9831ec68 7zip archive browsing
configurable no-bg-render fill color
change to poweron sequence for movies. hopefully that wont break any compatibility.....
2008-06-25 06:34:08 +00:00
adelikat 3eecd0033e Changed rewind to auto-save 2008-06-25 00:43:02 +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 105a3e2516 try fixing zapper movies again 2008-06-20 00:50:01 +00:00
punkrockguy318 6733a2f8a3 fixed more compile issues with gcc 2008-06-17 16:59:16 +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
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 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 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
zeromus 9a7da827a2 break tasedit. but on the way to making it better! 2008-06-05 06:49:11 +00:00
zeromus 88669859ff fix tasedit bugs i just introduced, and add movie exporter 2008-05-30 06:01:43 +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 52bb5ccbd8 tas logic done? 2008-05-26 00:03:20 +00:00
zeromus a2397b25c4 quick checkin so i have files on another computer 2008-05-24 22:31:58 +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 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 b7b815d711 [ 1962778 ] loading an FDS game without having disksys.rom crashes FCEU 2008-05-19 05:59:20 +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 84274fe6d6 better frame advancing. debugger window no longer opens itsself. 2008-05-09 04:00:04 +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
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
rheiny 1644cb0762 Cleaned up some code. 2007-02-10 15:56:13 +00:00
rheiny 618d4fccea Cleaned up some code. 2007-02-07 18:28:50 +00:00
rheiny be3ec4a072 Cleaned up some code. 2007-02-05 20:41:23 +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
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
zeromus cd427263da moved some util files to utils directory 2006-08-01 05:50:19 +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
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