Commit Graph

9228 Commits

Author SHA1 Message Date
zeromus 70f97851b3 continue cue loading 2015-07-11 13:46:18 -05:00
zeromus 7deb5e8575 begin rebuilding cue loading based on the new cue compiling system 2015-07-11 13:46:18 -05:00
zeromus 3c26d48a59 change analyze stage to be a compile stage, which digests the commands as well as analyzing the files and gives an area for extra validation separate from the loading stage 2015-07-11 13:46:17 -05:00
zeromus 8b0593dcb2 some majorly incomplete cue stuff. need to refactor into CueGrid so an index#0 can setup its Q subchannel synthesis by easily referencing the following index 2015-07-11 13:46:17 -05:00
zeromus d698bb8059 work on bringing back cue loading 2015-07-11 13:46:17 -05:00
zeromus 4b8d3cfa79 cleanup CUE toc handling a bit 2015-07-11 13:46:16 -05:00
zeromus fda3ec03ed improve subchannel mismatch reporting during disc a/b testing and add a comment about a failed experiment at a subcode deinterleaving optimization 2015-07-11 13:45:52 -05:00
zeromus f2def57b90 add new subchannel interleaving code and fix errors in CCD subcode loading 2015-07-11 13:45:52 -05:00
adelikat 58f8ad7c12 Issue #422: Virtual Pads - analog stick - when sticky option is off, and the emulator is unpaused, do not snap to 0 until the mouse button is released 2015-07-10 14:36:29 -04:00
adelikat a8bf7f1828 oops 2015-07-10 10:26:51 -04:00
adelikat a9c460802b add an option to run lua scripts while turboing instead of bypassing them. Make this option true by default (a change to the current behavior). Add a checkbox in the customize dialog to toggle this option. 2015-07-09 20:14:52 -04:00
adelikat d015b1aed0 same as last commit, but a different place 2015-07-09 19:35:00 -04:00
adelikat 453d8014bf change an "if (!x)" to "if (x)" because that's easier to read 2015-07-09 19:25:59 -04:00
adelikat 791089a06d Rerecord count OSD: don't display "Rerecords: " 2015-07-09 14:14:06 -04:00
adelikat 7ecf96772c tastudio/lua - implement tastudio.setlag() 2015-07-09 13:16:55 -04:00
adelikat 3541c9e975 Make the lag counter settable, and expose this functionality in lua 2015-07-09 13:05:30 -04:00
adelikat 9455aec767 Tastudio/lua - implement tastudio.onqueryitemicon() 2015-07-09 12:47:59 -04:00
adelikat b0ea42f5a7 Tstudio - some reorg 2015-07-09 12:35:48 -04:00
adelikat a7610bbe5b remove a .manifest file from version control, and add .manefest to the ignore list 2015-07-09 11:07:30 -04:00
feos bc321fedac keep DefaultMessageOptions instead of 2 _different_, _hardcoded_ units. 2015-07-09 02:07:21 +03:00
zeromus 83b2f70283 example of how to store default message positions so it can be used by default config and reset process too 2015-07-08 16:58:17 -05:00
feos 53c415a843 tastudio: keep track of rerecords, increment them in InvalidateAfter()
markers: fix input roll context menu command removing Markers
gpgx: updated dll
2015-07-09 00:48:04 +03:00
feos ea9acdbe8d genesis+plus+gx: fix (1 case of) broken determinism in savestates. io_regs was the only thing saved, input struct is what the client sends, and gamepad struct is constantly used but never saved. 2015-07-08 23:58:47 +03:00
zeromus 4b91330b75 the guy wants the thing says he doesnt need any more than 16 of the thing and neither does anyone else, so limit the thing to 16 2015-07-07 14:17:39 -05:00
zeromus c9dab721fb fix bug in GDIRenderer font cache that made fonts go wacky and get measured wrong and then TAStudio to layout differently each time 2015-07-07 14:05:44 -05:00
scrimpeh bcbc588e05 Apple II - Fix Memory and Input Callbacks interacting with savestates 2015-07-06 22:09:18 +02:00
scrimpeh 23d93cc1fe Apple II - Add Input Callbacks, Change definition of a lag frame 2015-07-06 21:15:48 +02:00
zeromus db1191dc48 emuhawk - add experimental prescale option to display manager 2015-07-06 12:31:30 -05:00
scrimpeh 60c3734e8c Ram Watch - Fix moving up and down blocks of identical Watches 2015-07-05 18:55:43 +02:00
scrimpeh f472b4802d Apple II Breakpoints - Fix Write Breakpoints 2015-07-05 17:12:46 +02:00
scrimpeh 43dd015b51 AppleII - Add MemoryCallbacks, Breakpoint Support, Set Registers in Debugger to proper bit size. 2015-07-05 17:09:07 +02:00
adelikat 0a6fb3dce2 remove the GPGX trace logger since it isn't wired up and we don't want it to display if it doesn't work 2015-07-05 09:13:44 -04:00
pjgat09 a064560f88 N64 - Added the GLideN64 plugin as a submodule 2015-07-04 18:29:36 -04:00
pjgat09 fd74723537 Fixed mupen64plus-video-glide64mk2 to work with the updated mupen64plus-win32-deps 2015-07-04 18:14:22 -04:00
pjgat09 30d0ae3f16 Added mupen64plus-win32-deps as a submodule 2015-07-04 18:10:47 -04:00
pjgat09 0a7eeffd78 Removed mupen64plus-win32-deps to be added later as a submodule 2015-07-04 18:09:40 -04:00
Tom Rochette d1bce27223 Add missing changes to BizHawk.Client.EmuHawk.csproj for the Lua sandbox. 2015-07-02 19:40:25 -04:00
adelikat 19423092cd Tastudio/lua - implement tastudio.ongreenzoneinvalidated 2015-07-02 14:51:42 -04:00
adelikat 105b8d3a64 Tastudio - cell height padding of 0 instead of 1 2015-07-02 14:37:28 -04:00
adelikat 2790dcbf0d lua - implement userdata.containskey() 2015-07-02 14:29:19 -04:00
Tom Rochette a783ef75f6 Simple Lua sandbox.
Uses an EnvironmentSandbox to restore the Environment.CurrentDirectory. Will also catch any script exception and redirect them to the Lua console.

With this change, I've tried to replace all the places where Lua is executed so that if an exception occurs, it is catched, sent to the console and a callback is executed if necessary.

This also fixes a small issue where any callback generating an exception would crash BizHawk.
2015-07-01 22:38:19 -04:00
adelikat c53cef6cf9 tastudio/lua - implement tastudio.onqueryitemtext 2015-07-01 19:46:14 -04:00
adelikat f847e905d2 tastudio/lua - add onqueryitembg event to the lua library, this is called during each cell's background color drawing callback, and gives the opportunity for lua to override the color. 2015-07-01 19:01:29 -04:00
nattthebear a0f3931257 Blah 2015-06-30 23:29:01 -04:00
Tom Rochette de98e0ed66 [#405] Set Environment.CurrentDirectory when executing Lua events within a WinForm.
Since events are not executed within the LuaConsole.ResumeScripts method, those did not have Environment.CurrentDirectory available for the executing script.

The fix is simple: when a lua script instantiates a LuaWinForm (through forms.newform), we store the current Environment.CurrentDirectory in the LuaWinForm object.
When a button or checkbox is triggered, it calls WinForm.DoLuaEvent which will set up the Environment.CurrentDirectory for the duration of the callback and then set it back to the initial Environment.CurrentDirectory.
2015-06-30 22:35:59 -04:00
zeromus 0341d24bc8 I think more stuff needed thread locking for more time in 7z library manager 2015-06-30 19:43:59 -05:00
adelikat e03da4f5fe Lua - add a userdata library, with basic api for a script to add arbitruary data to a dictionary. This dictionary is saved and loaded in savestates (if present). Scripts can use this to create counters and whatnot that need data saved in savestates 2015-06-30 18:54:42 -04:00
adelikat e50f81d54c Tastudio - remove a line of code that makes the emulator spaz out when mousewheeling up very fast, I don't think removing this breaks anything, I suspect it was only there from some defensive programming and overthinking 2015-06-29 22:08:31 -04:00
adelikat 8911049f68 Merge pull request #447 from TomzxForks/fixes/lua-console-output-resize
Add a split container to LUA console window.
2015-06-29 21:35:46 -04:00
ConHuevosGuey 200916bb8d Added Ninja Gaiden II collision viewer (LUA). 2015-06-29 19:13:47 -05:00