SuuperW
8bd025d127
This addresses the regression from commit 0c8ce935
that made external tools unable to draw.
...
This removes the old obsolete methods IGuiApi.DrawNew and DrawFinish (they didn't do anything; any scripts using them already didn't work).
2023-10-09 20:35:39 -05:00
SuuperW
6c1cb1e951
Refactor to make loading external tools simpler by not requiring passing around a load callback method.
...
Add TestExternalToolCanUseApi (passes)
2023-10-08 20:58:39 -05:00
SuuperW
74e210e80b
Move most of ToolManager's functionality to new ToolManagerBase, to support testing external tools
2023-10-08 19:47:35 -05:00
SuuperW
ae76497aa4
move some stuff and use DisplayManagerBase instead of DisplayManager, in preparation for testing external APIs
2023-10-08 03:10:17 -05:00
SuuperW
30b3819cb1
Move ExternalToolManager to Client.Common in preparation for testing external API.
2023-10-08 03:01:01 -05:00
SuuperW
bc7decff75
swap order of parameters to Assert.AreEqual, so they match parameter names (expected, actual)
2023-09-25 14:36:53 -05:00
SuuperW
594a0251fa
Add some tests for the new GuiApi methods BeginFrame and EndFrame
2023-09-19 20:00:21 -05:00
SuuperW
0c8ce9356f
Update GuiApi so that TestDrawingWithTwoScripts passes. This fixes the bug where if two lua scripts draw stuff on the same frame only one script's drawings are visible.
...
Replaces a bunch of obscure ThisIsTheLuaHack and locking/unlocking code with a simple pair of methods.
2023-09-19 19:51:26 -05:00
SuuperW
1bb5f9e82a
Add two tests for drawing with Lua scripts. One passes. TestDrawingWithTwoScripts fails.
2023-09-19 17:33:34 -05:00
SuuperW
7b1417acae
Move two methods from LuaConsole to ILuaLibraries because they make more sense there. (They had no need of a reference to a LuaConsole.)
...
This also supports testing by removing the need to use a LuaConsole in tests.
2023-09-19 17:28:25 -05:00
SuuperW
d2152010d3
Remove FormsLuaLibrary reference in LuaLibrariesBase and move LuaLibrariesBase to BizHawk.Client.Common (to support testing).
2023-09-19 17:18:44 -05:00
SuuperW
1623a0f44d
Move handling of loading EmuHawk lua librarys from LuaLibrariesBase to LuaLibraries, as part of moving LuaLibrariesBase to BizHawk.Client.Common (to support testing).
...
Remove params that can instead be obtained from mainForm (instead of creating private variables to hold them for reference in code that was moved outside of the constructor). Also remove them from Restart method for consistency in how ApiManager.RestartLua is called.
2023-09-19 17:18:18 -05:00
SuuperW
53b2d1d7bc
Rename file. (Next commit will rename class and create new file/class with the old filename.)
2023-09-19 14:31:34 -05:00
SuuperW
258289426e
Move ApiManager to BizHawk.Client.Common, as part of moving LuaLibraries to BizHawk.Client.Common (to support testing).
2023-09-19 14:31:19 -05:00
SuuperW
ac91285a1c
Create IToolManager, as part of moving LuaLibraries to BizHawk.Client.Common (to support testing).
2023-09-19 14:30:09 -05:00
CasualPokePlayer
acff619034
add more mmap heap to melonds, check against 0 sized arrays in roms
2023-09-17 12:37:37 -07:00
CasualPokePlayer
9c389eadf7
fix seeking not working, put this back to shared_ptr (no make_shared<T[]> in c++17 :( )
2023-09-17 12:23:53 -07:00
CasualPokePlayer
fe3d34dbd3
fix most cursed UAF
2023-09-17 03:23:07 -07:00
CasualPokePlayer
0496d45e09
melonDS's logs already have a newline
2023-09-17 02:52:44 -07:00
CasualPokePlayer
e222dbc554
fix space/tabbing here
2023-09-17 02:45:08 -07:00
CasualPokePlayer
0ad1f7feb2
waterbox has fun limitations
2023-09-17 02:16:25 -07:00
CasualPokePlayer
871c2bba8f
oops, that wasn't supposed to be deleted
2023-09-17 02:02:10 -07:00
CasualPokePlayer
178939f76c
woops
2023-09-17 01:03:42 -07:00
CasualPokePlayer
d3dff6fe37
update c# side for melonDS changes
2023-09-17 00:58:49 -07:00
CasualPokePlayer
f7786e81b9
Merge melonDS master, do massive cleanup/splitup of code
...
also, get rid of the GBA SRAM hack where it was inserted in ROMs (gross), instead figure out the size and give melonDS a blank save of the correct size
GBA SRAM is also now in SaveRAM
also add in more memory domains (SRAM/ROM/DSi BIOS)
2023-09-17 00:58:05 -07:00
Morilli
2fc9f719e5
Fix #3685 again
2023-09-12 16:44:31 +02:00
CasualPokePlayer
4f98bf101c
fix minor oops in previous commit
2023-09-11 22:57:04 -07:00
CasualPokePlayer
d788e603fd
force usage of bios on gambatte when recording a movie
...
(except when the rom cant be booted with bios, then enable bios sync setting is respected)
also cleanup this code a lot
2023-09-11 22:52:48 -07:00
CasualPokePlayer
ed0dbb77ae
expose SRAM for GBA rcheevos
...
see https://github.com/RetroAchievements/rcheevos/pull/265
2023-09-11 21:29:34 -07:00
James Groom
c08edb3df3
Remove old documentation source
...
ABSOLUTELY PROPRIETARY
2023-09-12 01:13:20 +10:00
James Groom
e68a49aa51
Use absolute path to `ffmpeg` in `FFmpegWriter`
2023-09-11 16:31:23 +10:00
James Groom
a7ee68f47d
Fix typo in Satellaview header model
...
see #3749
2023-09-10 22:38:19 +10:00
James Groom
2647bb8300
Log FFmpeg download fails to stdout in Debug config
2023-09-09 16:56:06 +10:00
James Groom
a351dcc557
Make the onboarding flow impossible to miss
...
This should motivate widening the scope of profiles, and may also inspire additional features for onboarding such as paths/firmware, screen layout, or keybinds.
2023-09-05 05:47:03 +10:00
James Groom
e9b7ec8fc4
Update readme to current release filename format
2023-09-05 05:32:30 +10:00
James Groom
ebe3cad66c
Change UI label for `Config.AcceptBackgroundInput`
...
see #671
2023-09-02 01:47:52 +10:00
Moritz Bender
362269c982
Establish basic style analyzer rules ( #3759 )
...
* Fix analyzer nullable error
can't disable them in CA1305 xdd
* .editorconfig -> .globalconfig
* Add basic set of style analyzer rules
* dotnet format output
* Some additional fixes
* Apply manual simplification
* Transform some enum comparisons
* fix typo
* add TODO
2023-08-30 23:08:21 +02:00
James Groom
7193313e12
Comment-out unreachable code
...
fixes a315b122c
2023-08-25 11:59:35 +10:00
James Groom
e86a0d6dda
When editing watches, select notes field
2023-08-25 11:41:51 +10:00
CasualPokePlayer
1575949762
upgrade these for c#10
2023-08-22 19:34:51 -07:00
CasualPokePlayer
19443040c4
slightly refactor OSD layer, no longer uses a render callback, rather it will do its logic itself and has its own enable drawing flag
2023-08-22 17:57:46 -07:00
CasualPokePlayer
53563657fe
Implement blending enable/disable for IGL_GDIPlus (more just moving it away from GDIPlusGuiRenderer)
...
Fix GDI+ used for display method (got broken in some cleanup commits ago)
Remove some things meant to be removed in the last commit (fixes debug build)
2023-08-22 17:16:48 -07:00
CasualPokePlayer
8c1d996b80
simplify IGL 3: Remove ability to make custom blend states (was never used), only have 2 functions for blending, one enabling "normal" blending, one disabling blending (with alpha copy semantics) (only 2 which actually were used)
2023-08-22 16:46:21 -07:00
Morilli
757ae3293f
Resolve part 4 of #3735
2023-08-22 19:22:34 +02:00
kalimag
54b1b2e421
Stop moving executables' pdbs to dll folder
2023-08-20 14:24:30 +10:00
kalimag
d459aaaf6f
Dispose disks in Nyma cores ( #3751 )
2023-08-19 23:27:05 +02:00
Moritz Bender
c57657bbd4
Set inputdisplay correctly on LoadState ( #3747 )
...
* Set inputdisplay correctly on LoadState
* Add explanatory comment for future generations
2023-08-19 23:22:55 +02:00
Morilli
ebf1950873
fix #3686
2023-08-18 04:58:38 +02:00
Morilli
4fea6752f3
Fix #3685
2023-08-18 04:06:28 +02:00
Morilli
ea7683a996
Bump LangVersion to 10
2023-08-16 16:30:06 +02:00