Commit Graph

6328 Commits

Author SHA1 Message Date
adelikat 650607cfd7 Put Lua FrameBefore and FrameAfter event firing into the event loop instead of tools, so that it isn't bypassed when turboing. Probably works, couldn't test. 2014-05-03 11:59:11 +00:00
zeromus 55f87af633 small ordering change for lua input processing so that event.framestart can set buttons 2014-05-03 09:02:17 +00:00
zeromus 26c30c44ca improve AR integerization 2014-05-03 03:25:09 +00:00
goyuken df6fa1dec0 gambatte: fix video problem related to new frame timing 2014-05-03 03:05:34 +00:00
zeromus 61c7537bfc fix issues with integerizing logic in association with system AR correction enabling 2014-05-03 02:52:35 +00:00
adelikat 2c167b51ca Atari 2600 - virtual width of 275, but something does't work, oh well 2014-05-03 02:30:13 +00:00
adelikat 76a4560ff9 Lua - emu.getsystemId - be consistent with movies 2014-05-03 02:28:12 +00:00
adelikat d978e2c629 Atari 2600 - make background setting a color instead of number, in order to get a color picker in the settings dialog 2014-05-03 01:59:49 +00:00
adelikat 81ca8479f5 Atari 2600 - a round of cleanup, nothing useful here 2014-05-03 01:51:56 +00:00
goyuken 209142bea1 gambatte: cut out unused OSD cruft 2014-05-03 01:47:55 +00:00
adelikat c0b8647e69 RecentFiles - put jsonignore on derived properties, and clean up some things 2014-05-03 01:33:12 +00:00
goyuken 0a017f7f27 2600 video setting stuff 2014-05-03 00:48:23 +00:00
adelikat 1f242120e6 Atari 2600 - Expose top line, bottom line, and background color as Settings properties 2014-05-03 00:35:03 +00:00
adelikat c15b665e96 Atari 2600 - crop top and bottom 35 scanlines to make 160x192 2014-05-02 23:59:02 +00:00
adelikat bf363a4c42 Atari 2600 - remove doubled width hack, so it is now 160x262, still todo: don't show vblank scanlines and find a reasonable cropping default 2014-05-02 21:47:02 +00:00
adelikat 5c046134ef quicknes info to about box 2014-05-02 21:36:33 +00:00
adelikat 18b4402e85 Slight fix to input display colors when a movie was loaded and stopped 2014-05-02 20:07:50 +00:00
zeromus d2232e616b minimal implementation of AR correction. this isn't completely satisfying. we need to run the frontend 1x/2x/etc sizing through it, and I'm feeling like we need two tiers of AR suggestion strengths.. we may want a2600 fixing AR out of the box, but NES fixing AR by default is unacceptable 2014-05-02 04:27:08 +00:00
gochaism 00a1f8a3ba LuaInterface: fix regression of optional parameter binding. (gui.text, for example) 2014-05-02 01:54:05 +00:00
adelikat 07e2c9758f back out of 6464 2014-05-02 01:32:01 +00:00
gochaism 0a9039fc60 Set SystemIcons.Application to Lua form icon. 2014-05-02 00:44:14 +00:00
gochaism 3fd9113f0d Disable maximize/resize of Lua forms, since user cannot do anything on resize anyway. 2014-05-02 00:38:48 +00:00
adelikat d5a48614b7 Remove a now unused method 2014-05-01 17:11:05 +00:00
adelikat 06828f2484 Lua - convert emu.setrenderpanes to use params 2014-05-01 17:09:54 +00:00
adelikat f2c5b4eeb4 fix to emu.setrenderpanes 2014-05-01 12:06:54 +00:00
zeromus f84ddbaa08 fix bug with lua console wrecking mainform rendering; fix clear button in lua console to actually work 2014-05-01 07:10:07 +00:00
zeromus 358b9b9328 fix vsync setting 2014-05-01 06:37:51 +00:00
adelikat a736f9576f Config context menu - implement dropdown opened logic for core selection and savestate type, and remove the other menus that need this logic because I dont' want to implement it 2014-05-01 02:06:03 +00:00
gochaism a84b4126f2 Lua: Make console.log(...) a little more prettier. 2014-05-01 00:25:14 +00:00
gochaism acc124ca99 LuaInterface: Disable auto table unpacking for vargs. Lua 5.1 does not have such a feature. print({1, 2, 3}) should pass just an array, not multiple arguments. 2014-04-30 23:54:34 +00:00
goyuken b0970451aa internal infrastructure for video presentation changes (aspect ratio, apparent size, etc) 2014-04-30 23:48:37 +00:00
zeromus 72595b73bb fix configmenu saving of padToInteger displaymanager option 2014-04-30 22:40:16 +00:00
adelikat 71b83e2355 Context Menu - config menu - someone wiped all the menu items here and replaced with a copy/pasted version of the config menu, but with no events so these items didn't work, restore all click events. Still to do: drop down opened events, fun. 2014-04-30 22:06:54 +00:00
goyuken fd5b7263ea NES - MMC5 - head off some possible peek nondeterminism problems before they occur 2014-04-30 20:32:13 +00:00
goyuken 9909b972fb NES: fix nondeterminism in tracelogger when execution passes over $2007 (or mirrors) 2014-04-30 19:43:55 +00:00
goyuken ccd5782909 gambatte: add the new drift trackers (that ensure constant framerate) to savestate 2014-04-30 17:36:35 +00:00
zeromus 3880f9059c fix gambatte sound (misuse of blipbuffer) 2014-04-30 03:46:37 +00:00
adelikat 7d09468d7a 6502 - disassembling should be peeking not reading, there's still some unsafe peeking going on with NES trace logging though 2014-04-30 01:16:04 +00:00
adelikat fea60dfbbe Gameboy - fixed frame timing but broke sound 2014-04-29 23:31:25 +00:00
adelikat 9d7c92fb6e Oops 2014-04-29 21:25:17 +00:00
adelikat bac7ba9a5d Remove new line in console.log, Add console.write and console.writeline (console.write is an alias of console.log), update some lua scripts that depended on newline in console.log, add a console library lua unit test 2014-04-29 21:03:54 +00:00
adelikat 8f35b29a5c Remove extra newline in console.log/print 2014-04-29 20:39:19 +00:00
gochaism 38a0a3593e Lua: Update print and console.log to take variable arguments. 2014-04-29 05:07:43 +00:00
gochaism b82495fed4 LuaInterface: update the binary in output directory (see r6442 for source diff) 2014-04-29 04:45:56 +00:00
gochaism 98df140955 LuaInterface: vargs support. Lua function can use (params object[] args) from now.
This update is ported from [NLua](https://github.com/NLua/NLua), thanks a lot.

Dirty test code <http://pastebin.com/d03N93z8>
2014-04-29 04:42:39 +00:00
adelikat 8c1c034090 Lua - make Print() be an alias of console.log() 2014-04-29 01:24:06 +00:00
adelikat 4269098e8a Gambatte core experimental change to the definition of a frame. gambatte runs the number of cycles it feels like even when you tell it. So track the difference between the desired amount of actual run and adjust the next frame. This way, in thoery it should average out to the desired 35112 cycles per frame. Also track the cycle count and expose it for future api to use 2014-04-28 16:02:11 +00:00
adelikat c863d57113 Better color coding of input display, auto-holds show red, previous frame shows orange, restore ability to show immediate input, also fix but in autofire-autohold 2014-04-28 00:39:40 +00:00
adelikat 36c09eea0f more cleanup of osd message display 2014-04-27 18:45:21 +00:00
zeromus c450351801 add tooltip for lua console erase button 2014-04-27 17:49:25 +00:00