nattthebear
85be93c9d2
What was this?
...
Apparently we had random crashes in savestate on waterbox since some recent dev commit woops my bad
2020-07-21 15:43:28 -04:00
YoshiRulz
6371766130
Remove redundant semicolon
2020-07-20 23:42:42 +10:00
YoshiRulz
86e82b97c1
Cleanup internals of comms APIs
2020-07-20 23:42:35 +10:00
adelikat
d94ce80eaa
Tastudio - gracefully fallback to a new tasproj when attempting to load a .tasproj from another core
2020-07-19 16:47:54 -05:00
adelikat
1162e89675
a slight hack to fix Tastudio when loading a different rom while it is open
2020-07-19 15:09:26 -05:00
adelikat
ffd255bb8e
on tool restart, update base properties (particularly needs the Game property to update)
2020-07-19 14:50:05 -05:00
adelikat
4e6d190d48
Tastudio - check MainForm.GameIsClosing in a better place
2020-07-19 14:26:49 -05:00
adelikat
b6cfb9aab7
remove restarting of trace loger in CloseGame, the ToolManager handles this logic just fine
2020-07-19 14:05:46 -05:00
adelikat
f7f6839e6c
fix NRE of Trace Logger close, if the Trace Logger was not used before closing
2020-07-19 13:56:27 -05:00
adelikat
ddbeabf198
Tastudio - pointless refactors
2020-07-19 13:30:07 -05:00
YoshiRulz
86829751aa
Scale VirtualPadAnalogStick correctly when the range isn't ~256 values
2020-07-20 03:18:49 +10:00
adelikat
f6273f2f92
Virtualpads - flip the read-only flag when a movie changes from read-only to another mode
2020-07-19 11:12:38 -05:00
alyosha-tas
77a958af8e
O2: fix mousing cat (timer divider was wrong)
2020-07-18 17:04:24 -04:00
adelikat
74a57c320e
Saturn Virtual pads - fix L/R 3d controller values
2020-07-18 13:36:31 -05:00
adelikat
59661fea86
Tastudio - fix "New" menu item broken by last commit
2020-07-18 13:26:21 -05:00
nattthebear
c7e8744664
Add an extra exclamation point to indicate that code is VERY IMPORTANT
...
This broke any waterbox core that called in to native code in the same EnterExit() right after sealing. All nyma cores were broken, 32x was not, didn't check the rest. Regressed in 175556529e
.
It worked fine in release mode, theoretically
2020-07-18 11:54:05 -04:00
adelikat
0925997557
have Tastudio control RebootCore when it is open, fixes #2201
2020-07-18 10:24:46 -05:00
YoshiRulz
5c250a7ca5
Change SDK ver for GitLab CI to match global.json ( fixes #2231 )
...
see 5a1b5915b
2020-07-15 16:03:39 +10:00
alyosha-tas
d8056b3deb
Move code to avoid NRE
2020-07-14 19:18:59 -04:00
adelikat
219b33732c
make TasMovie Emulator null check a bit clearer as to what is going on
2020-07-14 17:47:22 -05:00
adelikat
7040eca741
tastudio - simplify image setting
2020-07-14 17:43:31 -05:00
alyosha-tas
6f461c715d
TAStudio: Fix #2191 with a null check
2020-07-14 17:02:52 -04:00
adelikat
5515e9fea7
Tastudio - add some paranoia checks when drawing markers and branches. This happened one time while debugging and I couldn't reproduce, but it is possible the controls might need be told to redraw while still rebooting the core, in which case there is no TasMovie to read from yet, so check for null
2020-07-13 19:39:29 -05:00
adelikat
946ff45608
Tastudio - just print "File saved" instead of the filename since it is redundant to the Title which has the filename, and it overlaps other text in the status bar, fixes #2142
2020-07-13 19:15:30 -05:00
nattthebear
175556529e
waterboxhost refactor
...
Set up a second mirror of guest memory; easily accomplished because we were already using memfd_create / CreateFileMappingW.
This lets us simplify a lot of host code that has to access guest memory that may not be active right now, or might have been mprotect()ed to something weird. Activate is only needed now to run guest code, or when the C# side wants to peer into guest memory for memory domains and such (waterboxhost does not share the mirror address with the C# side).
2020-07-13 19:38:29 -04:00
adelikat
40e19e64fe
oops
2020-07-13 17:25:16 -05:00
adelikat
b87f976c39
remove some unused usings
2020-07-13 15:01:14 -05:00
adelikat
6a3b014fe3
make a thing readonly
2020-07-13 12:06:48 -05:00
nattthebear
59be09b515
Make picodrive work again
...
All picodrive games were broken by 316a9d1568
2020-07-13 06:16:16 -04:00
nattthebear
5a1b5915bf
Fix compiling on ancient compilers, and add a global.json which restricts bizhawk to ancient compilers
2020-07-12 17:24:12 -04:00
nattthebear
570f17cedd
Bit more W65816 disassembler cleanup
2020-07-12 17:14:47 -04:00
adelikat
316a9d1568
gamedb - replace pico with picodrive, remove core name look up in romloader in favor of this pico change combined with a case insensitive compare
2020-07-12 16:10:01 -05:00
adelikat
b22a1070a4
W65816 Disassembler - assign ibuf to null, so it compiles
2020-07-12 16:06:45 -05:00
adelikat
ed9b7b3eb1
Lua address several memory leaks - when a script stops, take any registered functions and spawn new threads for them to execute, and regularly dispose them. Also, the main lua thread needs to have scheduled disposes run on it, even if there is no active scripts (it was being run as part of disposing individual scripts, needs refactoring). All of this fixes #1920
2020-07-12 15:48:50 -05:00
nattthebear
9278c526d0
fix a few compiler warnings
2020-07-12 16:02:26 -04:00
adelikat
1e3324cfab
Registered Lua Functions dialog - update when a lua script unregisters a file, make dupating more robust to catch other possible scenarios where it failed to update
2020-07-12 13:19:48 -05:00
adelikat
c4bcb2451a
remove now unused class in RomLoader.cs
2020-07-12 13:03:32 -05:00
adelikat
05709628e8
remove a jillion unused usings in RomLoader.cs
2020-07-12 13:02:12 -05:00
adelikat
40ad7ed67e
Lua - account for callbacks with no parent script creating more callbacks by generating a mock lua file with a new thread, and register the thread with the sandbox. Fixes #1983 . Not super proud of this.
2020-07-12 12:58:43 -05:00
nattthebear
021b1639c2
Remove special code for UnsupportedGameException in RomLoader
...
This shouldn't be needed anymore
2020-07-12 13:48:46 -04:00
nattthebear
78bbc75f33
multi rom loading by xml all uses core inventory now
2020-07-12 13:45:33 -04:00
nattthebear
8d56b65734
Convert all single-CD loading to use CoreInventory
2020-07-12 13:21:10 -04:00
nattthebear
ab07e67a07
PCEHawk: Use CoreLoadParameters for cd mode
2020-07-12 13:06:15 -04:00
nattthebear
744a9a97d0
Remove custom loader code for ChannelF
2020-07-12 12:54:36 -04:00
nattthebear
5c5ffed5ff
Next piece of the puzzle
...
This probably breaks something. I am sorry, grab me and I'll fix it
2020-07-12 12:52:27 -04:00
adelikat
33a0954087
lua console - fix recent scripts not updating when creating a new script, opening a script, or duplicating a script. Might be other scenarios that are currently missing (regression from some refactors about a month ago)
2020-07-12 11:12:29 -05:00
nattthebear
4ad89667d6
This will get simpler I promise
2020-07-12 11:37:06 -04:00
nattthebear
6f218ff20b
Remove a benign null reference exception
...
This was in a try catch so you got the null you needed anyway, but it could be confusing to see in a debugger report
2020-07-12 11:10:57 -04:00
nattthebear
beb51ab286
Fix a linux waterbox-releated crash
...
Repro steps:
1) Load any waterbox core
2) Do anything that would trigger a NullReferenceException on C# side that you'd normally expect to be caught
2020-07-12 11:03:12 -04:00
alyosha-tas
06fa96e335
O2: finish g7400 graphics set
2020-07-12 10:44:11 -04:00