Commit Graph

6510 Commits

Author SHA1 Message Date
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
xmikecampx7 b5c0be3f7f Added Min/Max ranges for N64.
Added the option to add more controllers.
2014-04-27 17:38:30 +00:00
adelikat c4a4ca069d More cleanup on osd messages 2014-04-27 13:53:20 +00:00
adelikat 0acf6ed0d6 Some simplifying of logic for drawing frame counter, lag counter, etc 2014-04-27 13:17:35 +00:00
adelikat bbf7c43b6d Rip out the Alert font from OSD Manager since it wasn't being used for anything useful anymore, Ram Watch on screen display - show frozen addresses in a cyan color instead of red to be consistent with the rest of the system 2014-04-27 13:01:10 +00:00
adelikat faa7da4fdb Don't put fps in the text property of mainform 2014-04-27 12:20:18 +00:00
zeromus a9a4c04a6a change Firmwares menu item to Firmwares...
also re-synchronize contextmenu config to mainmenu config
also change the size of every single menu item, apparently, because why not? visual studio does it apparently.
2014-04-27 02:26:03 +00:00
zeromus b4db548e94 remove lame console spam 2014-04-27 01:20:53 +00:00
adelikat b3c7c44940 Un-interim the Core selection menu item 2014-04-27 01:13:12 +00:00
adelikat 9615ff7836 Atari 2600 debugger - interim flag the menu item 2014-04-27 00:40:02 +00:00
zeromus ca6f993b7c workarounds for lousy intel gpus 2014-04-26 21:55:04 +00:00
adelikat 2661fe08c0 A dirty workaround to fix issue 161, a better solution would be cleaner but this works for now 2014-04-26 19:34:52 +00:00
adelikat 09793ae9dc Controller Config - a round of formatting and small cleanup before I fix stuff 2014-04-26 19:18:55 +00:00
adelikat 3553b06350 Play Movie - Match current game hash not current game name 2014-04-26 17:54:56 +00:00
adelikat 4fc81991d7 Save cheats even if the cheat dialog was never opened (for instance, if the cheat were added via a game genie dialog or lua) 2014-04-26 17:28:43 +00:00
adelikat f3766249bf Fix Ram Watch on screen display that I broke in the last ram watch related commit 2014-04-26 14:51:33 +00:00
adelikat edf2e2e4a7 Watch Value box - fix behavior of pressing up/down on signed values, was wrapping from 0 to max value, now it goes to -1, and on min value it wraps to max value (and vice versa) 2014-04-26 00:01:00 +00:00
adelikat c657678555 some code cleanup on WatchValueBox before I do some fixes 2014-04-25 23:47:34 +00:00
adelikat 3901fb640b more icons, don't show one if there isn't oen 2014-04-25 23:17:10 +00:00