J.D. Purcell
85c1a42e48
Remove some duplicated code. Also trying some C# 6 stuff, let's see what breaks.
2017-04-09 20:59:23 -04:00
J.D. Purcell
0b81463408
Make sure Direct3D objects get disposed. Fixes all SlimDX warnings when exiting.
2017-04-08 15:18:55 -04:00
J.D. Purcell
a2aba7e3c2
Make sure DirectInput objects are disposed properly. Also includes a better fix for thread safety issues ( #722 ).
2017-04-08 11:49:04 -04:00
J.D. Purcell
5446a636ba
Fix crash on exit when using XAudio2 with the debugger attached.
2017-04-07 22:57:23 -04:00
zeromus
e484a69950
put RemoveMOTW back in the EXE assemblies. They can't load MOTW'd dlls which contain RemoveMOTW. We still need the RemoveMOTW code in a shared place for externalcores.
2017-03-21 11:09:43 -05:00
zeromus
6b298f07f2
do WhackMOTW after redirecting the dll directories fully, so that the shared RemoveMOTW that I moved to a common assembly can be found (wild guess)
2017-02-23 05:27:27 -06:00
zeromus
daceefdd6a
fix build. buzz off.
2017-02-23 04:54:29 -06:00
zeromus
2bff78f7c6
break the build. buzz off.
2017-02-23 04:42:46 -06:00
zeromus
569113f2f8
fix #741 , maybe, by removing MOTW from external cores before interrogating them. Will it still trigger when running them, if that's done somehow before interrogating them? (untested)
2017-02-21 18:23:02 -06:00
Isotarge
0bf5482af4
Fix typo
...
Thanks to Keeta for pointing this out
2016-11-23 00:04:49 +10:30
zeromus
a7f03d4c2c
make direct3d9 prereq check non-fatal and make d3d display method initialization fail non-fatal, falling back to gdi+
2016-05-05 09:01:01 -05:00
zeromus
b6efb0a056
fallback to gdi+ in case GuiRenderer can't be created by chosen display method (due to buggy drivers)
2016-04-02 14:33:34 -05:00
zeromus
95bc69b448
some prepwork for opengl texture ID importing (skip rendertarget resolve on OGL display method) but there are still problems and it can't be enabled yet
2016-02-22 00:23:20 -06:00
zeromus
0eb6e83384
glcontexts can specify versions and clean themselves up
2016-02-21 17:19:34 -06:00
zeromus
bff0d5b95d
add and hook up AWEMemoryStream option for movie storage. GUI is intentionally shoddy to convey sense that it's experimental. Has been cursorily verified but not thoroughly tested.
2016-02-10 01:09:43 -06:00
zeromus
d786292ccf
remove unused code Apply MOTW code
2016-01-14 01:51:40 -06:00
zeromus
192458a190
try catching some missing prereqs in emuhawk startup and print a report about it
2016-01-14 01:50:41 -06:00
pgrimsrud
bb327261ae
Add a return value to the main function for various purposes.
...
Add Lua function ExitCode to allow script writers to terminate the client with an exit code.
2015-12-15 22:39:42 -07:00
zeromus
28eae0dcb1
Revert "Revert "common logic for tempfiles""
...
This reverts commit 5196fc6b70
.
2015-11-17 17:26:03 -06:00
zeromus
5196fc6b70
Revert "common logic for tempfiles"
...
This reverts commit 5afa44bbec
.
and also "fix regression in libretro core loading and streamline open advanced libretro ui"
59048264cd
but tortoisegit didn't put that in the commit message.
2015-11-17 17:10:27 -06:00
zeromus
5afa44bbec
common logic for tempfiles
2015-11-15 03:01:58 -06:00
zeromus
22192e700b
attempt to make it possible to store movies on disk instead of in memory
2015-11-15 02:27:48 -06:00
zeromus
283cb4ae50
fix loading of roms from commandline
2015-11-12 17:47:39 -06:00
zeromus
76731ba0e7
Add TempFileCleaner
2015-10-24 02:48:16 -05:00
zeromus
595f466ded
add a custom exception display box
2015-10-17 01:18:37 -05:00
zeromus
1e07625d1d
d3d display method: do a better job of surviving device resets
2015-10-11 21:03:16 -05:00
zeromus
4d89558301
fix multihawk opengl window mixup and change GLManager to a singleton to stop that from happening again
2015-03-06 03:05:46 +00:00
SuuperW
bff3d64a4a
-Various fixes, mostly to Undo/Redo.
...
-Changed Program.cs to not use a couple try statements when debugger is attached.
-Implemented the Undo/Redo menu item buttons.
-Ctrl-deselecting frames in TasView now supports dragging.
2015-03-01 19:29:33 +00:00
jdpurcell
7155067e89
Remove unused SlimDX.DirectSound usings.
2015-02-22 04:43:52 +00:00
jdpurcell
83e8abc963
XAudio2! There's no UI for it yet.
2015-01-31 04:49:53 +00:00
adelikat
bcfdc755bb
Program.cs - disable warning and use a non-deprecated method, props to HackerCow for pointing this out
2015-01-01 20:54:01 +00:00
jdpurcell
09c6072082
Issue 288: Fix two crashes in single instance mode.
2014-12-29 04:20:47 +00:00
zeromus
b3923283d2
emuhawk - fallback to gdi+ on systems with less than 2.0 opengl
2014-12-16 20:24:14 +00:00
zeromus
2255e5c9ea
emuhawk - add --gdi commandline so that you can force the program to boot up that way instead of attempting to use a broken opengl by default (take 2)
2014-12-16 19:35:52 +00:00
zeromus
08ae448257
start adding d3d9 display method, but.. it was more work than gdi+, as I expected. I'll finish it another time.
2014-12-08 02:15:42 +00:00
zeromus
556b7b0123
gdi+ display method!
2014-12-07 02:26:52 +00:00
zeromus
9f3763409b
call WhackMOTW on .exe, besides just .dll. Fixes bug with windows prompting to allow execution of bsnes executables
2014-11-06 19:04:51 +00:00
adelikat
bcd78cc4b8
Round 1 of Movie loading system overhaul, this fixes the problem of loading sram when a movie is loaded. Still todo: some cleanup of some hacks that are no longer needed, and restoring the ability to open the play movie dialog and other things, while a movie is active
2014-08-02 15:32:48 +00:00
zeromus
a8d6d71505
add workaround for SetDllDirectory hackery for some video cards
2014-08-01 02:41:27 +00:00
adelikat
43d9f77fd6
this is mostly a hack, but fixes loading a rom when a movie is still running
2014-08-01 01:34:40 +00:00
adelikat
ab5cfab035
remove redundant code throughout the emuhawk project
2014-06-29 02:28:48 +00:00
zeromus
3ea6495031
give yabause its own GL context. gets gl+yabause minimally working. maybe still loadstate-related crashes.
2014-06-08 23:30:34 +00:00
adelikat
8f2746ab86
Change "Interim Build" to "Developer Build" and rename flag variable name, as this is more accurate to the intent of this type of build (unofficial interim builds still shouldn't have developer features or unfinished developer work)
2014-06-04 17:02:54 +00:00
zeromus
857dff9cf4
some small cleanup
2014-01-27 05:37:04 +00:00
goyuken
0b8adc6113
fix some massively fubar config stuff from r5653
2013-12-22 02:47:35 +00:00
adelikat
bc3208ec89
Don't lose stack trace before final catch. We like the message box to be huge and ugly for the user!
2013-12-14 06:26:05 +00:00
adelikat
a7a28c000a
Some low-hanging fruit in the IMovie refactor
2013-11-23 18:18:58 +00:00
adelikat
d88b4a3066
Put in a movie check on the final catching of an exception. If a movie is active it will warn the user the app is about to close and give them a chance to save their movie. This feature is turned off in interim builds (since it is a use at your own risk test environment, and it would likely get in the way of development)
2013-11-23 02:07:02 +00:00
adelikat
6cf637b72a
oh yeah, EmuHawk - program.cs references the core project specifically for version checking. Change reference there.
2013-11-15 14:12:27 +00:00
adelikat
9e5e477467
move emuversion, releasedate, and interim constants from MainForm to VersionInfo so that they are available to all projects (we can now "interim" things in all projects)
2013-11-10 02:32:47 +00:00