summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Main.cpp
AgeCommit message (Collapse)Author
2015-07-25Revert "Join the emu thread in Core::Stop. Get rid of Core::Shutdown which ↵Jules Blok
did that before." This reverts commit ba664b3293e88ddee94a4b922ced192f3270b569. Added documentation to Core::Shutdown() to prevent breaking changes.
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-08DolphinWX: Remove unnecessary includesLioncash
2015-04-13Join the emu thread in Core::Stop. Get rid of Core::Shutdown which did that ↵comex
before. Core::Shutdown was only called on app exit, yet the emu thread exits whenever emulation stops; if you launched a new game it would just join via the destructor when s_emu_thread was set to a new thread. (Incidentally, the destructor also makes explicitly joining on app exit rather pointless.) Because the GUI thread wasn't waiting for the CPU thread to fully shut down, Core::IsRunning would remain true briefly after CFrame::DoStop which, given Dolphin's penchant for accessing variables belonging to other threads, can only mean trouble... In my case, because the previous commit caused UpdateGUI, which is called at the end of DoStop, to call PauseAndLock, which checks IsRunning, pressing stop at the right time would cause strange behavior.
2015-04-12Main: Remove unnecessary shellapi.h includeJosJuice
The include was introduced by bcf1f54c and made unnecessary by 611f3494.
2015-03-15[windows] Just kill ExtendedTrace.Shawn Hoffman
The code is not really worth saving, and afaik it has never actually been helpful.
2015-03-04Call SetUserDirectory before InitLanguageSupportJosJuice
Fixes a regression from 4.0-5692 where only the system language was used.
2015-02-25Move user directory detection location to UICommon.Ryan Houdek
The UI should decide on where it wants the user directory, not our core system. This is in anticipation of some upcoming work on Android which will need proper user directory setting.
2015-02-13DolphinWX: fix -e parameterTillmann Karras
2015-01-06Merge pull request #1764 from Armada651/safe-exclusiveMarkus Wick
D3D: Only try to apply exclusive mode when the renderer is in focus.
2015-01-04Merge pull request #1743 from Stevoisiak/variableNamingConsistencyPierre Bourdon
Globals.h: Variable naming consistency
2015-01-04Host: Add Host_RendererIsFullscreen().Jules Blok
2015-01-03Fix "Lionux" typoJosJuice
2014-12-28Merge pull request #1432 from randomstuff/linux-perfMarkus Wick
Add Linux perf JIT support (/tmp/perf-$pid.map)
2014-12-20DolphinWX/Globals: Variable naming consistencyStevoisiak
2014-12-01Remove runtime OS X version check.comex
My recent update to that check broke compilation on 10.9: https://code.google.com/p/dolphin-emu/issues/detail?id=7900 However, on further review, the check isn't actually necessary. If the OS X version is older than LSMinimumSystemVersion in Info.plist, the system will generally refuse to run the binary in the first place. You can try to launch it via a terminal, but at that point it's the user's problem if it crashes.
2014-11-26Merge pull request #1561 from comex/10.9skidau
Update OS X Requirement to 10.9 + fixes
2014-11-25Update Main.cpp version checks.comex
2014-11-24Use CLI argument for Linux perf JIT supportGabriel Corona
2014-11-24More formatting and consistency fixesStevoisiak
2014-11-17Host: Kill off GetRenderWindowSizeLioncash
2014-11-13Various formatting and consistency fixesStevoisiak
2014-11-09DolphinWX: Kill off trivial event tablesLioncash
Also fixes some of the wonky stuff in Main where we would fire an event to do post-init stuff which isn't necessary anymore.
2014-11-06Merge pull request #1511 from lioncash/httpsLioncash
Main: Explicitly use the HTTPS site URL.
2014-11-06Main: Explicitly use the HTTPS site URL.Lioncash
2014-11-06Remove unnecessary cstdarg header includesLioncash
2014-11-06Merge pull request #1497 from lioncash/hostLioncash
Host: Kill off Host_SysMessage
2014-11-05Host: Kill off Host_SysMessageLioncash
Equivalent facilities already exist.
2014-11-04DolphinWX: wx-ify the unofficial version warningLioncash
2014-10-08Debug: fix disable block linking optionFiora
Previously it did the opposite of what it was supposed to; when checked, it'd turn block linking on, and when unchecked, it'd turn it off. Also update JITIL's block linking disabling in debug mode to match the behavior of the regular JIT.
2014-10-05Merge pull request #1085 from waddlesplash/refactoringLioncash
Migrate global init stuff into UICommon.
2014-10-05Migrate global init stuff into UICommon.Augustin Cavalier
This avoids code duplication in a bunch of places . I also moved the NVIDIA Optimus export into VideoCommon.
2014-10-03Fix running dolphin with a single flag.Rachel Bryk
2014-09-30If one argument is given, assume it is a game, and run it.Rachel Bryk
2014-09-30Fix focus detection on OS X by replacing wxGetActiveWindow with ↵comex
wxWindow::FindFocus. wxGetActiveWindow is implemented as "return NULL" on OS X, while wxWindow::FindFocus works. On Windows, the difference is in the use of GetActiveWindow() vs. GetForegroundWindow(). A MSDN comment says: > A system has only one active window, which GetForegroundWindow() > returns. GetActiveWindow() seems to return the same window as > GetForegroundWindow() if the foreground window belongs to the current > thread. Otherwise, it always returns null, rather than the topmost > window of the calling thread. Since we are on the GUI thread, it shouldn't make any difference.
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-08-30DolphinWX: Clean up brace placementsLioncash
2014-08-29Remove the SSE2 messagebox.Ryan Houdek
This is no longer required since we don't support x86_32 anymore. x86_64 implies SSE2 support. Also this check was a bit messed up and was hitting on Generic builds.
2014-08-19Core: Move the titlebar / statusbar abstraction to DolphinWXJasper St. Pierre
The concept of a "title bar" / "status bar" shouldn't be a core concept, so remove the Host_UpdateStatusBar function, and move the code handles whether to update the status bar or titlebar into DolphinWX.
2014-08-15Core: Kill off Host_ShowJitResultsLioncash
Another host function that can be killed off by simple wx event handling
2014-08-14Debugger: make "PPC to x86" open JIT windowFiora
The button just silently did nothing if the window wasn't open, with no hint as to how to make it work.
2014-08-08Core: Kill off Host_UpdateLogDisplay()Lioncash
This was actually never used as far as I can tell. There was no wx event handling done whatsoever for the global ID, So this is basically a dead function.
2014-08-08Core: Kill off Host_UpdateBreakPointView()Lioncash
Uses wxWidgets event propagation to the parent window which then appropriately handles the breakpoint list updating.
2014-08-03Merge pull request #671 from lioncash/non-panicPierre Bourdon
DolphinWX: Use a regular wxMessageBox instead of a PanicAlert for non-panic errors.
2014-08-03Merge pull request #428 from Sonicadvance1/x86_32-removalPierre Bourdon
Remove x86_32 support from Dolphin.
2014-08-03Merge pull request #716 from delroth/vertex-loaderPierre Bourdon
Make vertex loader testable
2014-08-03Core: Get rid of Host_GetInstance()Lioncash
2014-08-03Isolate D3D and Software Renderer from wxWidgets codeLioncash
2014-08-03Remove x86_32 from DolphinWX.Ryan Houdek