Commit Graph

15587 Commits

Author SHA1 Message Date
adelikat 8fcd9bb2a5 rename DisplayConfigLite to DisplayConfig, it isn't very Lite anymore :) 2019-12-16 18:41:54 -06:00
adelikat 8eff248d96 cleanup DisplayConfigLite 2019-12-16 18:39:59 -06:00
adelikat 5e8a2a348a Delete unused DisplayConfig form 2019-12-16 18:37:23 -06:00
adelikat da6f358589 ControllerConfig - pass in dependencies 2019-12-16 18:36:31 -06:00
adelikat 583423b0d2 ControllerConfig - code cleanup 2019-12-16 18:27:58 -06:00
adelikat 7d961c34f1 Autofire Config - pass in dependencies 2019-12-16 18:22:41 -06:00
adelikat 88830fad4c code cleanup 2019-12-16 18:18:08 -06:00
adelikat de6979820d ZXS config dialogs - pass in dependencies 2019-12-16 18:14:21 -06:00
adelikat c722a1ef9f code cleanup in ZxSpectrum config dialogs 2019-12-16 18:03:26 -06:00
adelikat 7675e35d85 TI83 settings - pass in dependencies 2019-12-16 17:58:50 -06:00
adelikat 4a332c1fb0 SNES config dialogs - pass in dependencies 2019-12-16 17:53:54 -06:00
adelikat 4a509fa410 pass in dependencies to SMS graphics config dialog 2019-12-16 17:44:18 -06:00
adelikat 47dfdb5190 remove unused Saturn config folder 2019-12-16 17:23:25 -06:00
adelikat 3da1972a61 rename PSXControllerConfigNew to PSXControllerConfig 2019-12-16 17:22:35 -06:00
adelikat ea8ed79402 PSX config dialogs - pass in dependencies 2019-12-16 17:21:49 -06:00
adelikat bdc8be2f6b declare dependencies in PCE config dialogs 2019-12-16 17:06:29 -06:00
alyosha-tas 89c87b0581 O2Hawk: More display work 2019-12-16 11:50:00 -05:00
YoshiRulz 0fcb6cbaa7
ApiHawk refactoring and cleanup
MemApi.ReadByteRange now returns the requested number of bytes and not 1 extra,
MemApi.ReadByteRange now warns only once per call for addrs outside range,
MemApi.ReadByteRange now warns for negative addrs (once per call; previous
implementation passed negative addresses to PeekByte), MemApi.WriteByteRange now
warns only once per call for addrs outside range, MemApi.WriteByteRange now
warns for negative addrs (once per call; previous implementation passed negative
addresses to PokeByte)
2019-12-17 02:39:04 +10:00
YoshiRulz 08d0f462fc
Partially migrate NesLuaLibrary to ApiHawk delegation
nes.setdispbackground and nes.setscanlines now throw when the core is neither
NesHawk or QuickNES (the latter is still silently ignored by these functions)
2019-12-16 17:47:50 +10:00
YoshiRulz 29ac251f34
Migrate SnesLuaLibrary to ApiHawk delegation 2019-12-16 17:14:10 +10:00
YoshiRulz 60daae50d5
Migrate GenesisLuaLibrary to ApiHawk delegation 2019-12-16 17:14:01 +10:00
YoshiRulz 0b43b35427
Migrate GuiLuaLibrary to ApiHawk delegation
Changed param clear of IGui.DrawNew from bool? to bool (default value remains
true), made IGui and GuiLuaLibrary inherit IDisposable, added
GetDefaultTextBackground to IGui, applied fix from 6b3071d8a to
GuiApi.DrawString, replaced background box drawn by Lua API
gui.drawString/gui.drawText with what I think is a shadow (now matches
GuiApi.DrawString)
2019-12-16 16:54:06 +10:00
YoshiRulz 8f93a954e1
Move Lua hacks to Lua libs
Changed parameter of IInputMovie.SetRerecordCount to ulong to match internal
2019-12-16 15:04:35 +10:00
adelikat 861f238cc1 quickNes settings - pass dependencies in 2019-12-15 17:01:25 -06:00
adelikat e84fd17784 support subneshawk for VS menu items, pass dependencies into VSSettings 2019-12-15 16:55:40 -06:00
adelikat 8cc02b8956 NesSyncSettingsForm - pass dependencies in and support SubNesHawk 2019-12-15 16:47:48 -06:00
adelikat e6ac894955 nes config dialogs - pass in dependencies 2019-12-15 16:40:43 -06:00
adelikat 16be999cbc NES graphics config - pass in dependencies 2019-12-15 16:36:46 -06:00
adelikat 827825bbf3 N64 plugin config - pass dependencies in 2019-12-15 16:27:48 -06:00
adelikat 5ec3ac021e N64 plugin config code cleanup 2019-12-15 16:22:51 -06:00
adelikat 0b19090fc2 N64 controller config - pass dependencies in 2019-12-15 16:20:08 -06:00
adelikat a58411efa0 Intellivision config - pass dependencies in 2019-12-15 16:13:31 -06:00
adelikat 394641f2af GB config - pass dependencies in 2019-12-15 16:11:19 -06:00
adelikat a39cedb366 GB config code cleanup 2019-12-15 16:06:33 -06:00
adelikat f833d50f30 code cleanup of config dialog files 2019-12-15 15:57:46 -06:00
adelikat 8c5b13097a refactor coleco config dialog 2019-12-15 15:55:05 -06:00
adelikat 5fb547a09c refactor CPC config dialogs to declare dependencies in constructor 2019-12-15 15:52:04 -06:00
adelikat ad8f321ea1 Add event.availableScopes(), fix LogWithSeparator, cleanup 2019-12-15 12:25:49 -06:00
adelikat 71aaf349b5 Fix GPGX one off hack to fix trace logger, and instead do a less bad hack in CallbackBasedTraceBuffer 2019-12-15 12:13:10 -06:00
YoshiRulz 05801dc2c5
Reduce LINQ usage in Lua subsystem 2019-12-16 04:08:22 +10:00
adelikat 91ef301a23 memory callbacks - log error if a scope is passed in that is not available 2019-12-15 12:02:43 -06:00
adelikat 9676fd97df cleanup 2019-12-15 11:52:55 -06:00
adelikat a5d7c98daf some gpgx code cleanups 2019-12-15 11:50:21 -06:00
adelikat 1d741f3d0e memorycallbacks - rename domain param to scope to avoid confusion, otherwise it looks like any memory domain will do 2019-12-15 11:42:26 -06:00
adelikat 29e284c6f8 cleanup 2019-12-15 11:40:22 -06:00
adelikat 250bd2087e fix lua memory callback functions on cores with no system bus such as PSX 2019-12-15 11:37:45 -06:00
adelikat b6df55bbf0 fix double new line in lua console.log() 2019-12-15 10:18:58 -06:00
adelikat 5d03062c4c remove redundant console checks in console logging methods 2019-12-15 10:06:31 -06:00
YoshiRulz 2f494003c7
Add param to IList.ToLuaTable extension and refactor bizstring.split
Changed behaviour when said Lua function is called with a misformatted separator
param, and updated its docs
2019-12-16 01:58:19 +10:00
adelikat d2f21f84e3 another extension method for lua table creation 2019-12-15 09:46:39 -06:00