nattthebear
be81bc12c2
more wip
2020-06-20 10:30:41 -04:00
nattthebear
4f09ffcda9
doc cleanup
2020-06-20 05:59:43 -04:00
zeromus
5e399b8fc3
fix crash shutting down when GL retroshaders failed compiling
2020-06-20 00:52:38 -04:00
zeromus
1b4a6f6415
get gl display method working, at least, minimally, with the scanlines shader. someone else can fix up the others if they need to or make me a bug. at least the hard part is past
2020-06-20 00:48:42 -04:00
zeromus
d4cb18aff8
actual remove CGC.exe, that was the whole point wasnt it
2020-06-20 00:48:42 -04:00
zeromus
00e546a537
keep working on CGC-removal
2020-06-20 00:48:42 -04:00
zeromus
b842f3ed16
remove cgc (step 1)
2020-06-20 00:48:42 -04:00
nattthebear
1f966a4cc1
Fix potential crash on exit if certain native resources weren't disposed
...
Finalizers in SpeexResampler and QuickNes assume that the underlying native dll still exists when they run, as they have to in order to successfully clean up leaked memory. This is not true if those resolvers, which were stored as static fields themselves, had been finalized, which can only happen on app exit (because the static fields were readonly and always kept their value). If a SpeexResampler or QuickNes was never disposed and itself lasted all the way to app exit, then the order of these two finalizers would be unspecified and a crash could happen.
In normal circumstances, this was only observable in DS core because apparently Suuper couldn't copy paste properly and missed the dispose part, but that was already fixed in 129d454a67
.
2020-06-19 23:10:56 -04:00
nattthebear
ffcb7cefb1
Move llvm to submodule
2020-06-19 20:56:17 -04:00
nattthebear
ee6c2ba679
Watch babby's first rust program... one commit at a time
...
Working on some ideas to potentially replace WaterboxHost
2020-06-19 20:56:16 -04:00
nattthebear
129d454a67
blah blah dispose blah blah
2020-06-19 20:56:16 -04:00
zeromus
ee963e8d64
I found this old icon on an old hard disk. I think I meant it for the log window, but maybe that was back when it opened the windows console instead of another window? Anyway, it's cute, maybe someone will figure out what to do with it.
2020-06-19 19:07:20 -04:00
adelikat
65a6ec03f6
reduce some mainform redundant menus for gb3/4x, they have the same logic as gbhawk link
2020-06-19 17:07:42 -05:00
adelikat
7bac6e933b
add icon that the designer ate
2020-06-19 16:49:23 -05:00
nattthebear
020e5a7e32
minor cleanup
2020-06-19 17:26:58 -04:00
adelikat
487c596d76
cleanup Zwinder
2020-06-19 16:16:07 -05:00
adelikat
53716a40e5
Rewind Config - add UI for Rewind.TargetFrameLength, and a bit of visual re-org. Designer was used so this includes designer file barf
2020-06-19 16:09:17 -05:00
adelikat
da59add3f6
add TargetFrameLength to rewind settings
2020-06-19 15:58:18 -05:00
adelikat
4978fe4b92
Rewind config - more cleanup - calculate maths correctly
2020-06-19 15:53:08 -05:00
adelikat
32b14641f1
Rewind config - better buffer size settings
2020-06-19 15:22:39 -05:00
adelikat
9faa159647
Rewind settings cleanup, make default buffer size 512mb
2020-06-19 15:19:50 -05:00
adelikat
d431947d4e
rewind config cleanup
2020-06-19 15:14:11 -05:00
adelikat
392611d6c6
Rewind - rename Small state enable to just enabled
2020-06-19 15:09:59 -05:00
adelikat
c83027b817
remove medium and large state enabled rewind options
2020-06-19 15:05:49 -05:00
adelikat
6b514293ff
Rewind - remove speed multiplier option, very redundant given that speedup and turbo calculate toward rewind speed
2020-06-19 15:02:03 -05:00
adelikat
6440d92a34
remove rewind frequency settings
2020-06-19 14:57:09 -05:00
adelikat
63533888ad
Rewind config - remove on disk option
2020-06-19 14:47:25 -05:00
adelikat
9d17cd40e8
Rewind - remove ability to define Small, Medium, Large state sizes
2020-06-19 14:45:08 -05:00
adelikat
a58a10e633
remove rewind threading config option
2020-06-19 14:37:36 -05:00
adelikat
270d03bf40
rewind - change UseDeltaCompression to UseCompression
2020-06-19 14:35:55 -05:00
adelikat
dec20a4683
remove old rewinder code
2020-06-19 14:10:06 -05:00
adelikat
84c691021b
settings hacks - actually map compression to a compression settings, give rewind an "off" switch, hacked to small states for now
2020-06-19 14:05:38 -05:00
adelikat
02a2efbed1
oopsies
2020-06-19 14:05:38 -05:00
adelikat
7dd78a9fa4
zwinder - hack in some settings from the ui
2020-06-19 14:05:38 -05:00
nattthebear
3b8e0ce39d
Zwinder: Don't tell the mainform we're rewind-state-capping every 0 frames, that's just silly
2020-06-19 14:05:38 -05:00
nattthebear
1121d430f4
zwinder: add optional compression
2020-06-19 14:05:38 -05:00
nattthebear
5bd75fd001
Testing a new "zwinder" rewinder
2020-06-19 14:05:38 -05:00
alyosha-tas
a914cb69e0
GBHawk: Speed change and window fixes
2020-06-19 14:09:03 -04:00
adelikat
75bd2f8063
fix NRE fix fail
2020-06-19 10:18:28 -05:00
adelikat
91c33a49c0
Rewind config - fix NRE when turning off rewind then going back to the config dialog
2020-06-19 10:01:01 -05:00
nattthebear
23f8c2bbe6
waterbox: move location of llvm-project
2020-06-18 14:06:23 -04:00
zeromus
d917d6f377
update mgba from upstream, including commits 2f2908240178cd418acc6e4942ad9b78939b85a5 and 8f1148498e12197745f62e477d9b8e07382cc72e to address #1593 (at least, it fixes the shrek 2 non-tas scenario)
2020-06-18 04:46:21 -04:00
zeromus
3988f1c4cb
suggest using make -j or else I'll forget it every time
2020-06-18 04:37:06 -04:00
zeromus
25327b510d
mgba - try resetting sram memdomain after frame advance, so sram autodetection can progress and feed into frontend. addresses #1620 , maybe not in the best way
2020-06-18 03:08:57 -04:00
zeromus
1efc91cb94
hex editor: handle tiny (even 0 size) memory domains without crashing
2020-06-18 03:07:44 -04:00
zeromus
01cfe12db6
clarify how to build mgba
2020-06-18 01:40:54 -04:00
YoshiRulz
8e414aea29
Enable CA1829 and fix noncompliance
...
"Use Length/Count property instead of Count() when available"
2020-06-18 09:44:01 +10:00
YoshiRulz
620e54580d
Enable CA1052 and fix noncompliance
...
"Static holder types should be Static or NotInheritable" (classes with only
static members should be static classes)
2020-06-18 09:43:57 +10:00
YoshiRulz
16d1782c9e
Enable CA1018 and fix noncompliance
...
"Mark attributes with AttributeUsageAttribute"
2020-06-18 09:43:53 +10:00
YoshiRulz
7f99dd95d6
Enable CA1010 and fix noncompliance
...
"Collections should implement generic interface"
2020-06-18 09:43:50 +10:00