adelikat
8bed5ae6da
Move lua events to the end of the frame loop
2012-09-02 14:14:36 +00:00
pasky1382
c31322400f
Fixed an offset in the script.
2012-09-02 03:46:09 +00:00
adelikat
d942c68086
Add Paskys Ninja Gaiden lua script to lua scripts folder
2012-09-02 03:24:36 +00:00
adelikat
f519fa0e2d
Ram Search - fix Truncate from file, and exclude ram watch
2012-09-02 03:05:48 +00:00
pasky1382
02c447becb
Fixed gui.drawBox. Now draws correctly when width is a negative value.
2012-09-02 02:37:25 +00:00
adelikat
1f128aeda4
Ram Search - small speedup on UpdateValues
2012-09-02 01:52:16 +00:00
adelikat
5179710c82
Ram Search - fix undo
2012-09-02 01:21:57 +00:00
pasky1382
cd292d7fd2
Added a gui.drawBox() function in the lua engine. Uses four coordinates to draw a box like other emulators rather than a height/width argument.
2012-09-02 01:15:18 +00:00
adelikat
d6f3c05ecd
Ram Search - fix broken searching, also some code cleanup
2012-09-02 01:05:08 +00:00
pasky1382
ff218af117
Added lua bitwise operators, AND, LSHIFT, RSHIFT, OR, XOR, NOT, ROTATE LEFT, ROTATE RIGHT.
2012-09-02 00:56:50 +00:00
adelikat
0e1bf887b6
Cheats Dialog - fix losing of values on restart, editing a cheat flags changes
2012-09-01 19:29:41 +00:00
adelikat
dd41cb6365
NES Cheats - fix so that only the system bus uses the built in cheat/game genie system
2012-09-01 18:15:04 +00:00
adelikat
c1d2272aec
Cheats - if cheats file is empty dont show "Cheats file loaded" message
2012-09-01 17:44:55 +00:00
adelikat
e5a3764f69
Cheats - implement Compare textbox
2012-09-01 17:31:56 +00:00
adelikat
3b39b2b898
Cheats - add compare column, and show active cheat rows in cyan (like other tool dialogs), do validation on address and value textboxes when adding/editing a cheat
2012-09-01 17:09:44 +00:00
adelikat
21cd754a7d
Cheats - implement removing of cheats for the NES core
2012-09-01 14:35:12 +00:00
adelikat
e741aa2af0
NES - fix game genie codes with an empty compare text value
2012-09-01 14:18:54 +00:00
adelikat
9b7404b059
NES - Round 1 of Hook up NES cheats for system bus (i.e. game genie codes now work)
2012-09-01 14:13:36 +00:00
adelikat
816435ad2f
Some backend changes to support compare value in cheats, no visible changes yet
2012-08-31 11:59:14 +00:00
adelikat
cfadca6fd6
NES - sound config - set ok/cancel winform properties
2012-08-31 02:11:55 +00:00
beirich
e24f0962fc
gen: fix dumb tile priority bug (primarily affects Ghouls n Ghosts, which use the layers backwards from normal)
2012-08-30 04:29:33 +00:00
adelikat
ff84855f2a
Ram Search - another speed up - prevent recoloring the background unless it has changed
2012-08-29 02:58:22 +00:00
andres.delikat
0e02fd7ee4
Ram Watch - major speed up of the preview feature especially with large memory domains, got a 30fps boost on gens system bus. THere is still a lot of code to clean up as a result, and I touched everything about the search feature so there may be regressions in this commit.
2012-08-29 01:42:04 +00:00
adelikat
7bc1e88d1d
TAStudio - Rewind button - fix logic when movie is finished or inactive
2012-08-28 03:18:53 +00:00
adelikat
644caa4786
Record Dialog - do not prompt to overwrite on save file dialog (otherwise the user is asked twice when the main dialog asks)
2012-08-28 02:29:48 +00:00
adelikat
1a75f0734d
Max Turbo - bypass limit frame rate, and auto-minimize skipping, and ramp up frame skip to 20
2012-08-28 02:20:22 +00:00
adelikat
f5e08a72d0
Max Turbo - bypass on screen messages/gui text/ram watch on screen
2012-08-28 01:48:01 +00:00
adelikat
ebf029b76d
Some turbo speed refactorings - added a new hotkey for turbo mapped to shift+tab, rennamed the original turbo as unthrottle (since it is simply a toggle for this feature) and removed its mapping. On the new turbo, lots of various things will eventually be in place, but right now it bypasses tool updating. Still todo: have it max out frame skip and whatnot, also what is the difference between unthrottle and the limit framerate option? I think these should be merged.
2012-08-28 01:29:07 +00:00
beirich
8ad3e72ffa
Allow easy swapping of active 68000 core the C# core, or Musashi... As we are likely to be swapping between versions rapidly for some period of time.
2012-08-26 14:39:06 +00:00
adelikat
7ad3ea9ef5
Movie - clean up some code that has gotten crusty in the frame loop and refactored it, fixed logical errors at the end of a movie regarding playback, rewind, and loadstate. Movies now go correctly into finished or play mode under various circumstances. Removed the stop on frame code because it was breaking things, this will be a regression in functionality in tastudio until it is rethought.
2012-08-25 23:31:54 +00:00
rolanmen1
7a9e5d856b
LuaImplementation: Implemented forms.setproperty and forms.getproperty. Kinda buggy though.
2012-08-25 22:45:44 +00:00
adelikat
5486acbbbc
Movies - fix a regression that happened at some point where the movie is not truncated on a loadstate that triggers record mode (instead it would keep the entire movie in the savestate and record over each frame, this would leave garbage data that could lead to potential desyncs)
2012-08-25 22:18:54 +00:00
adelikat
cca1396fad
NES - save framebuffer to savestates in the same manner as other cores
2012-08-25 18:18:05 +00:00
rolanmen1
6cec0f0182
LuaConsole: Call UpdateNumberOfScripts after you delete a script.
...
LuaImplementation: Added emu.ispaused(), also added the parameters width and height to forms.label and forms.button
2012-08-25 17:01:13 +00:00
rolanmen1
8f22c9098b
LuaConsole: The Label that counts the scripts gets updated each time a change has been made to the ListView, also removed all calls of the said function.
2012-08-25 12:17:44 +00:00
beirich
377dce08d7
switch to using the real megadrive gamedb (eliminate issues with the temporary one)
2012-08-20 03:12:36 +00:00
adelikat
694f2aaae6
Ram Search - very slight optimization
2012-08-20 00:22:57 +00:00
adelikat
df5ddfced8
oops
2012-08-19 23:49:42 +00:00
adelikat
6108a88245
About box cleanup - use emuversion constant so I don't have to update it in two places, add a release date constant so I don't forget to update that, some misc dialog tweaks
2012-08-19 23:44:17 +00:00
adelikat
07c32e23ba
GUIText (Lua and ram watch) - remove gray in drawing
2012-08-19 23:24:16 +00:00
adelikat
1350daa5d4
Clear Lua and Ramwatch lists on loadstate, fixes problem of garbled drawing on loadstate
2012-08-19 23:22:10 +00:00
adelikat
72cc4aa50a
DrawScreenInfo was being run twice, removed one of the calls
2012-08-19 21:54:23 +00:00
beirich
728c970f16
fix premature commitation
2012-08-19 19:16:08 +00:00
beirich
4ba8fcf227
ym2612: Implement detune. Implement a somewhat better resampler, still not a Good One.
2012-08-19 04:41:34 +00:00
adelikat
43518a3a57
TAStudio - add hotkeys for Clear and Insert # Frames
2012-08-18 00:09:00 +00:00
adelikat
514c3200d7
remove more tastudio instances in movie class, TAStudio - re-hook up double click event
2012-08-18 00:04:12 +00:00
adelikat
c9ddbd6d89
TAStudio - implement Cut function, fixes to insert, and delete, minor cleanup of movie object
2012-08-17 23:56:37 +00:00
adelikat
37f5027de6
TAStudio - implement copy function, and slicer section
2012-08-17 23:27:29 +00:00
adelikat
952892b5df
TAStudio - implement Truncate Movie
2012-08-17 03:24:33 +00:00
adelikat
862caafd05
TAStudio - implement Insert # Frames, and Select All, hide context menu items based on read-only status
2012-08-17 03:04:35 +00:00
adelikat
d7e05ceb32
TAStudio - implement clear frame, pause emulator on TAStudio load
2012-08-17 02:26:47 +00:00
adelikat
9baf1b8f28
TAStudio - implement clone frame feature, and some UI and Movie object cleanup
2012-08-17 02:18:25 +00:00
adelikat
e900a5b1ba
TAStudio - fix up Insert Frame functionality, add it to non-interim builds, and map hotkey as ctrl+shift+ins
2012-08-17 01:26:00 +00:00
adelikat
932303df68
TAStudio - hook up Ctrl+Mousewheel to frame advance and rewind events. TODO: Figure out how to (also) add right-click + mousewheel
2012-08-17 01:01:46 +00:00
adelikat
99f073266d
Ram Watch - fix bug where values are not updating after a power cycle/rom load/movie load
2012-08-15 01:35:17 +00:00
adelikat
0ed2ec1be9
Ram Watch - oops, fixed last commit better
2012-08-15 01:14:25 +00:00
adelikat
0d867101bf
Ram Watch - if both auto-load and display on screen are set, don't load the dialog when loading the emulator (just load the watches on screen)
2012-08-15 01:03:27 +00:00
adelikat
3e3b154895
Ram Watch - fix endless exceptions when loading different ram watch files
2012-08-15 00:56:34 +00:00
adelikat
7d9cee2905
Remove new controller config idea
2012-08-13 03:23:25 +00:00
adelikat
d8a21d18ff
Revert use of new input config dialog
2012-08-13 03:17:47 +00:00
adelikat
aa2475806a
CHecking in a possible better solution for a controller config dialog
2012-08-13 01:22:02 +00:00
adelikat
a5e369b872
NES - PPU Viewer - more small speed optimizations
2012-08-12 19:42:00 +00:00
rolanmen1
e2469328ae
LuaWriter. Color numbers, need to make it color hexadecimals aswell.
2012-08-12 07:06:38 +00:00
adelikat
6dfcd10575
NES - PPU Viewer - draw immediately on load, PPU Viewer / Nametable Viewer - draw immediately on Restart()
2012-08-12 02:21:53 +00:00
adelikat
57987c0a21
NES - Nametable viewer - big speed boost by not repainting the unseen background
2012-08-12 02:13:06 +00:00
adelikat
fb3d1a1bd3
NES - PPU Viewer - nice speed boosts by tweaking palette and pattern viewers to not redraw backgrounds
2012-08-12 02:05:37 +00:00
adelikat
f84a3709c9
Misc code cleanup
2012-08-12 01:09:30 +00:00
adelikat
af1dbf5305
NES - PPU Viewer - other small optimizations
2012-08-12 00:00:57 +00:00
adelikat
9fff16c0f4
NES - PPU Viewer - oops fix last commit, and also slightly better optimized as a bonus
2012-08-11 22:50:14 +00:00
adelikat
379e724d34
Render Panel - some tiny speedups
2012-08-11 22:38:40 +00:00
adelikat
1fcc6a24a5
NES - Nametable viewer - small optimizations ~1fps speed up
2012-08-11 22:32:52 +00:00
rolanmen1
c5577b7850
LuaWriter. I finally finished coloring Strings and Comments correctly.
2012-08-11 05:15:56 +00:00
adelikat
9cb825418f
Lua Writer - take over paint event and only paint once per ProcessText(). Still todo: better management of when and what to draw
2012-08-11 01:50:27 +00:00
rolanmen1
945c12eb13
LuaWriter. AutoCompleteView will change through selected items by pressing Up/Down while keeping focus of the textbox. This will work once a highlight issue get solved.
2012-08-09 21:53:49 +00:00
rolanmen1
4771ba0f15
LuaWriter. Pressing Enter when there's no if, while, for, etc.. will add the tabs that the previous line had.
2012-08-09 20:18:43 +00:00
jxq2000
2fc36dca9b
Revert previous commit related to updating colors/format of only one line at a time since that won't catch multi-line strings or comments.
2012-08-08 21:33:24 +00:00
beirich
9979c9f0d5
Add Gun.Smoke (KR) SMS to db
2012-08-08 02:28:54 +00:00
adelikat
1121479a5d
gamedb - fix duplicate entry
2012-08-08 01:10:45 +00:00
beirich
ce6de177a6
add CJ Elephant Fugitive dump to GameGear DB [CodeMasters mapper]
2012-08-08 01:02:26 +00:00
jxq2000
5770931669
Some work in ProcessText to try and alleviate the "OMG WE ARE ALWAYS SCROLLING" problem when typing.
...
Still needs some work (so no functional change yet), but the initial idea is to allow for checking/updating of only the current row when called from timer_Tick.
2012-08-06 23:19:05 +00:00
jxq2000
759bd52f6d
Some progress made on positioning of the autocomplete box.
2012-08-06 22:52:55 +00:00
rolanmen1
05b107ed49
LuaWriter. Made ColorComments, ColorStrings and ColorLongStrings (wich is now called AddComments, AddStrings and AddLongStrings respectively) will no longer search symbols in the textbox, instead on a copy of it that is saved in a string variable.
2012-08-06 08:18:50 +00:00
rolanmen1
38723f8786
LuaWriter. This is half of a lot of changes im making.
...
1)Made a list of int arrays, these will have a start position, length, color and a number that will tell if said text is gonna be bold or not. This was made to color the text only once per edit. I also made it so these values are added in order of the starting position. This will select the text from top to bottom and not randomly like it used to be.
2)Made ColorSymbols (wich is now called AddSymbols) will no longer search symbols in the textbox, instead on a copy of it that is saved in a string variable. This was made because the RichTextBox.Find method selects text in the textbox, making the whole process slower. This will be done to the ColorComments and ColorStrings aswell.
2012-08-06 07:12:25 +00:00
adelikat
ea8d47bcc0
Start Mapper 197 (based on MMC3) and sort out the use of this vs Mapper 91.
2012-08-05 21:34:00 +00:00
adelikat
4a28a1aa96
Archive Chooser - sort entries by region, add hotkeys 1-9 that select items 1-9 respectively
2012-08-04 22:45:58 +00:00
adelikat
02fc8eeaaf
Archive Chooser - automatically highlight the first entry on load
2012-08-04 21:57:49 +00:00
rolanmen1
087947273c
LuaWriterColorConfig. Added a panel to color Normal Text, also to put it bold.
...
LuaWriter. Added menu item that colors the background of the textbox. Added all the variables into Config.cs
2012-08-04 03:35:17 +00:00
adelikat
3eff778b98
Increment build number, this marks the beginning of the 1.0.6 release
2012-08-04 01:20:05 +00:00
rolanmen1
886ef5940a
LuaWriter. Fixed small bug when editting a script from Lua Console, also from the Save and SaveAs options. Created a bool value that tells when the Text is being processed or not, since coloring triggers the TextChanged Event it will ProcessText multiple innecessary times.
2012-08-03 22:08:28 +00:00
goyuken
b14154b30c
AviWriter.cs : don't mix unmanaged allocation types
2012-08-03 22:02:04 +00:00
goyuken
49daf880fb
automated dumping with --dump-type=vfwavi works. this involves marshalling/unmarshalling deep copies of unmanaged structs, which has a lot of details i'm not terribly familiar with. so might crash on some stuff? feedback appreciated
2012-08-03 17:43:17 +00:00
rolanmen1
44abe3ad4a
LuaWriter. Now colors LongStrings.
2012-08-03 06:17:21 +00:00
rolanmen1
8d0f87e5d9
LuaWriter. Added new option "Start With Empty Script", wich triggers the option of having while true do emu.frameadvance() end when creating a new script.
2012-08-03 02:59:36 +00:00
andres.delikat
cc82bfbefc
small optimization
2012-08-02 21:46:08 +00:00
rolanmen1
bc39f81b8a
InputPrompt. I made the UserOK variable to change to false if the user clicks the Cancel button.
...
LuaWriter. Adding "end" after pressing Enter if the current line has "if", "for", etc. is now fixed. Also added some more edit menu items, like Undo, Redo, Cut, Copy, Paste, Select All, Search, Replace and Go To...
Search and Replace still need to be implemente. Implemente Go To, if the user inserts an invalid text (letters, symbols, etc) it will not close and prompt an error. Otherwise, it will go to the specified line.
2012-08-02 21:45:06 +00:00
andres.delikat
174dec1472
Clean up some movie slop in the frame loop, sbizhawk should now run unnoticeably faster
2012-08-02 21:30:30 +00:00
andres.delikat
754422b0e4
Lua Writer - bold for syntax highlighting option
2012-08-02 17:48:17 +00:00
jxq2000
2e41102f8a
Initial code, which doesn't fully work, for positioning the AutoComplete box.
...
Also moved over the "zoom" label so it doesn't clash with the position label.
2012-08-02 01:07:04 +00:00
adelikat
5a28f54454
On behalf of Rolanmen: LuaWriter. Added Restore Settings item, when closing, it will save the Zoom Value in Config.cs
...
LuaWriterColorConfig. Fixed little bug that didn't colored the Library panel. Also made each Color Dialog select it's default color.
2012-08-01 02:56:38 +00:00
adelikat
4930979940
NES - progress on mapper 96, Oeka Kids - Anpanman no Hiragana Daisuki seems to play (but I can't get passed the title screen without Oeka Kids tablet emulation). Oeka Kids - Anpanman to Oekaki Shiyou!! fails to load (suggesting a PRG mapping problem?)
2012-07-31 02:58:59 +00:00