Commit graph

248 commits

Author SHA1 Message Date
Scott Gorman
9ebd7a4bfd Reworked the way soft-reset works, this fixes: hangs, signal 11 crashes, however the implementation is not 100%. The idea behind this commit was to have the r4300 reload each time we reset, however, since we broke apart hard/soft we only call the soft reset. 2008-05-10 05:40:34 +00:00
Richard Goedeken
583e40ebe6 replaced pif.S based register setup code in soft reset function with original Mupen64 code 2008-05-06 04:01:47 +00:00
Richard Goedeken
a5ff80958c Split go() in main.c into hard reset, soft reset, and execute functions. In soft reset interrupt, called soft reset in main.c and jumped to 0xa4000040 instead of PIF_ROM. Replaced original mupen64 register setting code with translation of pif.S from n64dev in Source Forge 2008-05-06 03:32:02 +00:00
Richard Goedeken
29ad5aa37e removed the PIF_ROM emulation code 2008-05-04 22:07:51 +00:00
Richard Goedeken
fd4f53ab03 reverted commit 359 soft reset changes. gonna try a combination of the two methods 2008-05-04 21:55:57 +00:00
Scott Gorman
c720e9ffb0 makes resetting work... go ahead and look what i did... might give you an idea to fix more bugs. 2008-05-03 21:59:49 +00:00
Richard Goedeken
faaa9746e8 preliminary soft reset code. currently this locks the r4300 core when activated. it needs to be analyzed with a debugger 2008-05-03 18:57:49 +00:00
Richard Goedeken
062f283e33 created r0344-soft-reset branch to store work on this feature which requires bios code emulation 2008-05-03 18:50:06 +00:00
Scott Gorman
920747b02e Cleaned up whitespacing, much cleaner and easier to follow. 2008-05-01 21:30:43 +00:00
Richard Goedeken
94df76d563 Testing SVN changes to ignore whitespace and deleted files in email diffs 2008-05-01 13:31:17 +00:00
Richard Goedeken
149494a7a4 Cleaned up white space and dead code in interupt.c 2008-05-01 13:22:14 +00:00
Jesse Dean
4a0ae5000f Resubmitting fixes to debugger. 2008-04-30 23:34:47 +00:00
Richard Goedeken
10719cbb9b fix for regression test script to handle special chars in filename for image comparison 2008-04-29 12:00:33 +00:00
Richard Goedeken
cbf4514d16 fixed bugs from recent input changes. added hysteresis to joystick axis centering detection. Disallowed setting both directions of single N64 axis to same direction of same controller axis 2008-04-29 03:38:30 +00:00
John Chadwick
b7ef061dbd Fixes blight input patches.
- No longer needs inversion of the X axis since we now enter axis's seperately
 - Cleaner user entry of seperate axis's (from the user perspective anyway :P)
 - Some fixes
2008-04-29 02:23:03 +00:00
Scott Gorman
e49ba3e8a0 blight_input now lets you bind all four directions on the analog stick using axises versus it used to only allow one axis for up/down, and one for left/right... (it also assumed that +/- was not inverted) 2008-04-28 22:23:35 +00:00
James Hood
1496911600 gui_parseArgs was changed to gui_init in r213. Updated kde4 gui code. 2008-04-28 06:44:55 +00:00
Richard Goedeken
9d505d10d0 improved regression test timeout message 2008-04-27 21:26:01 +00:00
Richard Goedeken
9014c12a24 Added video regression test script and config file 2008-04-27 19:56:15 +00:00
James Hood
53b40c8cd5 -cleaned up save state autoincrement feature.
-added joystick mapping support for incrementing the save state slot.
2008-04-26 00:57:37 +00:00
James Hood
a6199536e4 Made the following changes to gtk gui menu for save slots (see issue 35 for details):
-Renamed menu to "Current save slot"
 -When save slot menu is opened, gui checks the current save slot and makes sure the selected slot in the menu matches it.
 -Removed "Default" slot option and replaced with slot 0. Slot 0 is the default on mupen64plus startup.
2008-04-25 21:38:36 +00:00
Scott Gorman
7dd276732b Cleaned up white-spaces, much neater. 2008-04-25 08:51:36 +00:00
Jesse Dean
cdf2acdba8 Merging fixes to debugger into trunk, this will allow compiling with DBG=1 and use of debugger with GTK
frontend.
2008-04-25 01:28:48 +00:00
James Hood
2ead0b2a03 converted emulator playback speed printf's to info_message calls so they don't clutter up the console 2008-04-24 19:53:31 +00:00
James Hood
666a1a2ae9 Removed code that resets selected tab of config dialog everytime it's shown. This change was made due to user request. 2008-04-24 15:20:17 +00:00
James Hood
ef14c2cabd Added cheat system support such that if a cheat is disabled during gameplay, the original memory values before the cheat was applied will be written back to memory to attempt to reverse the cheat.
For example, before this fix, if you enabled the "Mario flies without wingcap" cheat during gameplay, it would work, but if you then disabled it during gameplay, Mario would still be able to fly. Now it correctly restores the old memory values so Mario can't fly anymore after you disable the cheat. Note, because cheats are basically writing to a random area of memory, this function may not always restore the previous state depending on the way that area of memory is used by the game.
2008-04-24 07:40:31 +00:00
James Hood
d223e7530d Made cheat dialog prettier, i.e., used table layout widget to line up form widgets more neatly. 2008-04-24 05:50:20 +00:00
James Hood
ed946013f6 -Removed install of doc/readme.pdf from install.sh since it no longer exists.
-Updated keyboard key for pause emulation from 'P' to "Pause" in the controller hotkey mapping dialog.
2008-04-24 05:18:33 +00:00
Richard Goedeken
eea1e01066 renamed static variables in main.c to replace the incorrect g_ (global) prefix with l_ for local 2008-04-24 04:38:13 +00:00
Richard Goedeken
7cc1373c60 Added 2 small features to support regression test. One is to count frame numbers and print current frame for each screenshot taken. Second is to accept new parameter --testshots with comma-separated list of frames at which to take screenshots. Tested with all 3 video plugins and PNG md5sums match between manual and automatic screenshots 2008-04-24 04:15:44 +00:00
Richard Goedeken
7be0f6a771 simplified screenshot naming code. change spaces to underscores instead of removing. fixed bug 2008-04-23 13:30:58 +00:00
Richard Goedeken
47623cc7e6 reverted changes in 287 because debugger has a branch 2008-04-23 12:29:16 +00:00
Jesse Dean
e2fb5b7dd2 Initial cleanup of debugger & gtk gui code to allow use of DBG=1 flag. Code now compiles, and debugger shows up,
although at this time it does little else, and does prevent emulation from running properly.  --Jes
2008-04-23 11:25:24 +00:00
Scott Knauert
51047378fb Added USA/Japan flag. Icon was included with mupen, but
not used. 1080 Snowboarding is an example of this ROM 
type.
2008-04-23 10:28:25 +00:00
Scott Gorman
f653d8fb47 Whitespacing issues. 2008-04-23 07:07:20 +00:00
James Hood
16a274adb6 -Rewrote cheat dialog to handle add/edit and enable of cheats all in one dialog.
-Removed Cheat menu and replaced it with "Cheats..." menu item in the Options menu.
-Modified alert_message and confirm_message so they handle line wrap of the message internally, so now it's no longer necessary to insert newline chars into strings passed to alert_message and confirm_message.
-added list_find_node utility function to util.c.
-added utility functions to create/delete cheat structures for use by the gui.
2008-04-23 06:46:47 +00:00
Scott Gorman
a0b5b1b830 added a lowercase function. changes a string to lowercase.
stub: void lowercase(char string[]);

modified the screenshot function to use the roms header (without spaces, and converted to lowercase) name:

example: supermario64_001.png
2008-04-23 06:05:55 +00:00
Richard Goedeken
869cbf09b8 fixed a bunch of recent warnings from rice_video. I assume these came from re-activating the -O3 compiler switch. The one in RDP_Texture.h was actually a bad bug; I wonder if it affected any games 2008-04-23 04:32:03 +00:00
Richard Goedeken
578f272278 Reworked screenshot mechanism. Now screenshots are retrieved from video plugins with ReadScreen instead of CaptureScreen, and compressed/saved from main core instead of plugins. Fixed 64-bit bug in Glide64. 2008-04-23 03:59:09 +00:00
Richard Goedeken
e90c151f1e Moved Zilmar spec plugin API files from main directory to doc. They are only for reference and are not included anywhere 2008-04-23 02:14:42 +00:00
Richard Goedeken
f9996dc2bb removed old mupen64 readme files and logo from doc directory; they are out-of-date 2008-04-23 02:12:17 +00:00
Scott Knauert
59f63818ac Okay, this should really fix the Rice regressions by
reverting to the older OGLRender.cpp. Assuming svn 
actually commits it to head. I don't know why my mere /
commit wasn't going through before.
2008-04-22 22:40:03 +00:00
Scott Knauert
1e1e2d7265 Fixed the pointer bug which caused the Gtk GUI flag error. 2008-04-22 22:19:14 +00:00
James Hood
605a4a02b1 Changed pause/continue keyboard shortcut to Pause/Break key because the previous shortcut 'p' was conflicting with the new rom filter. 2008-04-22 20:49:45 +00:00
Scott Knauert
c846968e24 The previous revert didn't work. 2008-04-22 16:35:56 +00:00
Scott Knauert
f12b192d95 Reverting Rice to pre-widescreen support due to
Issues 69 and 72. No easy fix.
2008-04-22 16:23:09 +00:00
James Hood
658b341eb6 Changed rom browser filter so it filters as the user types instead of requiring them to press enter. I think this is a more modern approach, but I don't have a lot of roms, so someone who does should probably try it out to make sure it doesn't cause performance issues. 2008-04-22 15:01:12 +00:00
Scott Knauert
c456b9bfc1 Fixed a collision from variable rename. 2008-04-22 13:57:05 +00:00
Scott Knauert
cd92cf9f9a Gtk GUI filter and improved sorting functions. 2008-04-22 13:10:42 +00:00
Richard Goedeken
6adfa80ecf reverted commits 262-267 in trunk 2008-04-22 11:59:50 +00:00