Commit Graph

1319 Commits

Author SHA1 Message Date
wowzaman12 96f1de8ec9 Remove even more unneeded complex if statements 2015-03-28 14:47:33 +00:00
wowzaman12 c812fd6344 Got rid of a few huge if statements, just recreate the game panel every time after Display Properties closes. 2015-03-28 14:45:40 +00:00
wowzaman12 4b2ed80a4a Replaced another macro with a templated function. Should be able to use this function to replace a few more macros as well. 2015-03-28 14:41:25 +00:00
wowzaman12 f273c878b6 Removed yet another macro from src/wx/guiinit.cpp 2015-03-28 14:34:44 +00:00
wowzaman12 4257ae5be1 Fixed improperly sized dialog boxes 2015-03-28 14:11:03 +00:00
wowzaman12 ad13e1fb45 Try to be more informative than the default wx exception handler before terminating 2015-03-28 13:56:33 +00:00
wowzaman12 b07e5c63bf Make sure that all loaded xrc dialogs have the correct parent. This might be overkill, but shouldn't hurt. 2015-03-28 13:54:49 +00:00
wowzaman12 2d5c702a7f Another switch from wxDynamicCast to the normal c++ dynamic_cast 2015-03-28 13:44:47 +00:00
wowzaman12 535acbb240 Change a macro from using a special wx funciton to the regular c++ one 2015-03-28 13:43:40 +00:00
wowzaman12 13b97ac102 More work on trying to remove C macros 2015-03-28 13:41:45 +00:00
skidau 2b663259d8 wx build fix 2015-03-28 05:01:39 +00:00
wowzaman12 750fd8a6b4 oops should be copying those files into source dir not binary dir 2015-03-28 04:30:24 +00:00
skidau d42582090e Linux build fix 2015-03-28 04:08:30 +00:00
wowzaman12 00f630949c just missed a parameter. 2015-03-28 04:02:37 +00:00
wowzaman12 bf8098874a JoypadConfig is now working as it's own separate entity
Previously it was using macros that were hardcoded to look for a certain variable
2015-03-28 03:53:07 +00:00
wowzaman12 e97c32f5da Got rid of two unneeded C macros 2015-03-28 03:50:49 +00:00
wowzaman12 d858e35d01 Created a single template that does the same thing as several of the C macros 2015-03-28 01:52:20 +00:00
wowzaman12 432b296af1 Used a regex replace so at least some of the C Macros aren't hiding variables
Also renamed their inputs so it's easier to understand what's going on
2015-03-28 01:46:44 +00:00
wowzaman12 e8d55b2c06 Added more pointer error checking to the wxvbam build. 2015-03-28 01:33:12 +00:00
wowzaman12 1c76277272 Load dialogs the proper way 2015-03-28 01:30:36 +00:00
wowzaman12 07eb6564e0 Now fully use the error checking function instead of the C macro 2015-03-28 01:20:41 +00:00
wowzaman12 76ef5906a0 Move XRC pointer checking/error throwing to a templated function (More backporting from Arthur, next few commits will be importing his improvements) 2015-03-28 01:12:57 +00:00
wowzaman12 54eac49a59 WX: Changed some of the xrc loading handling and error handling (Courtesy of Arthur on github) 2015-03-28 01:08:52 +00:00
skidau a65204d54f Added E-Reader scan support by CaitSith2.
One thing it does, is correct any raw files scanned, if they are correctable. (usually, uncorrectable raw files come up with a read error.)  There is also bin support included as well. (Note, if you open a valid dotcode bin, it will encode it to raw, and save the freshly encoded raw file if it has been set in the menu. If the dotcode save file has not been set, the bin will still load.)

Currently, part of the GBA emulation breaks the E-Reader scan code. The reader always returns a Region Error.
2015-03-27 22:50:11 +00:00
wowzaman12 efd5c1b483 intial fix for solarsensor that skid implemented. Will add functioning code after, for now it will allow users to compile at least the SDL interface. 2015-03-27 21:06:10 +00:00
wowzaman12 b31989e82f SDL: Breaks on windows. 2015-03-27 20:01:33 +00:00
wowzaman12 5b26c209e9 missed a minor change. 2015-03-27 19:53:35 +00:00
wowzaman12 32af333548 fix compiling against latest ffmpeg code. 2015-03-27 17:58:35 +00:00
wowzaman12 15d1ae5e3a changed the panel to have a black background when a rom isn't loaded. Also fixed compiling dsound driver in the wxwidgets interface via mingw-w64 2015-03-27 17:54:45 +00:00
wowzaman12 df505a78dd forgot the wxwidgets interface icons. 2015-03-27 17:49:26 +00:00
wowzaman12 dc3b921700 cmakelists changes, wxwidgets interface build fix to follow. 2015-03-27 17:48:42 +00:00
skidau 2af279f274 Added VS2013 solution by mickdermack.
Have to install the Multibyte MFC Library for Visual Studio 2013, because Multibyte strings were deprecated in favor of wchar strings.

https://www.microsoft.com/download/details.aspx?id=40770
2015-03-26 21:19:37 +00:00
skidau e19d04c4fd Added Solar Sensor support from VBA-Wii.
Requires EEPROM+Sensor save type and Real Time Clock enabled.  The solar sensor can be controlled by the left and right motion sensor controls.
2015-03-26 09:08:30 +00:00
skidau 8ac02202e9 Re-enable the save type auto-detect code instead of enabling all save types. 2015-03-25 11:01:50 +00:00
skidau 4be7fed788 Added a Auto-start link option 2015-03-24 13:30:49 +00:00
skidau 0d306b67ba Fixed the crash that would occur if a GBA link mode were used with a GB game. 2015-03-23 13:35:01 +00:00
skidau a704653234 Ported AdamN's Game Link (Game Boy link) code from 1030e.
Seems to work better with a link timeout of 1.
2015-03-23 12:17:26 +00:00
skidau 0db7dfc323 Fixed NO_LINK build. 2015-03-23 06:38:51 +00:00
skidau b3903da2ce Ported AdamN's Wireless Adapter code from 1030e.
Known Issue :
* Instability with 3-4 players on pokemon games due to another client interfering a client and host communication, causing both clients to think their data never reached the host and repeatedly resending the data again (a few retries before dropping the connection)

TODO :
* Host may need to send the ACK data to the Client who send the data instead of broadcasting to all clients, to prevent other Clients from getting the wrong ACK data and thinking their data never reached the Host.
2015-03-23 03:42:39 +00:00
squall-leonhart ae88acca57 bgklink merged to trunk. 2015-03-20 14:23:14 +00:00
skidau c7a7e04395 Fixed importing GameShark snapshots 2015-03-20 12:02:28 +00:00
squall-leonhart 80c8917be5 bios dialog struck through enable text fixed
controls disabled however, because we don't have the execution implemented for cgb bios.
2015-03-20 03:39:21 +00:00
squall-leonhart d1bbb0c75d i had issues applying the xbrz patch and had to revert manually several times, and forgot to add the new files as a result
so here they are.
2015-03-20 02:58:03 +00:00
skidau f1e3094c68 Preliminary update to the GameCube to GBA link cable emulation. Fixes Zelda Wind Waker's Tingle Tuner connection, Pac-Man Vs, Final Fantasy: Crystal Chronicles multiplayer, and most other Gamecube to GBA link cable games.
* Added a second socket at port 49420 (0xc10c) which sends clock information
* Handled disconnections from the GBA and GC
* Made the transfers asynchronous
* Blocks the socket before the connection times out

Requires Dolphin 4.0-5899 or later.
2015-03-20 02:11:12 +00:00
squall-leonhart 65a976a8cc XBRZ 1.2 added as a built in filter 2015-03-19 01:44:47 +00:00
squall-leonhart 02928a204b reverted the removal of backup enabled checks, and changes to remote.cpp 2015-03-19 00:52:47 +00:00
squall-leonhart 478e77c081 Adds a item for the DisableSFX speedhack back to the Video menu. 2014-04-20 09:24:10 +00:00
squall-leonhart b6ffe99fc8 updates subwcrev and applies minor fixes patch 46 2014-03-08 07:11:53 +00:00
kode54 da5cc60685 SDL sound code now posts to semaphores no matter what, in case the other side is still waiting after a speedup transition 2013-11-14 23:32:08 +00:00
kode54 885172ea9c Rewrote SDL sound synchronization, using a very old patch as a base for some of the changes 2013-11-14 07:51:57 +00:00