Commit Graph

1255 Commits

Author SHA1 Message Date
Arthur Moore c09a8d90ea Added a function to split an image into multiple pieces.
This just preforms pointer manipulation.  The pieces are still part of the larger image.
2015-06-23 23:11:26 -04:00
Arthur Moore ae84468ff2 Fix some minor issues with multifilter and filter_factory 2015-06-18 17:07:54 -04:00
Arthur Moore a2a917bdc5 Added gprof support when debugging 2015-06-18 16:51:28 -04:00
Arthur Moore 5fcdce361a Created a simple harsh filter.
This demonstrates how easy it is to add a filter using this framework
2015-06-18 01:41:25 -04:00
Arthur Moore dc28fae625 Finished multifilter system
It isn't threaded, but it can handle any number of filters automatically
2015-06-18 01:40:02 -04:00
Arthur Moore 13bb22ba81 Further cleaned up filter system.
wx now only knows and cares about filter_base and filter_factory.
2015-06-17 20:14:05 -04:00
Arthur Moore 4358056e3b Switched New Interframe filter to using string comparison. 2015-06-17 15:28:51 -04:00
Arthur Moore 1b25eeded8 Working on a multifilter framework to handle any number of filters at once. 2015-06-17 14:53:28 -04:00
Arthur Moore 577fc7a99c Moved scale information to Filter Base 2015-06-17 14:53:01 -04:00
Arthur Moore a8499431e2 Re enable GBA Link 2015-04-10 03:56:09 -04:00
skidau 3cf8721847 Cleaned up GBA cable link (network).
Removed cable link speedhack as it is not needed.
Hard-coded timeouts.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1300 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-10 03:31:58 -04:00
wowzaman12 25db05d679 small fix for compiling against gcc
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1297 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-10 03:31:34 -04:00
Arthur Moore 9ff72c0c69 Updated to SFML 2.2. Fixed LINK build on Linux.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1292 a31d4220-a93d-0410-bf67-fe4944624d44

Conflicts:
	project/vs2010_mfc/VBA2010.vcxproj
	project/vs2010_mfc/VBA2010.vcxproj.filters
2015-04-10 03:31:07 -04:00
skidau 7b9c6fa39c Initial refactor of the GBA link code.
The code has been rearranged with the link framework at the top, followed by cable socket, joybus socket, cable IPC, RFU IPC and lastly, GB link IPC.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1291 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-10 03:29:25 -04:00
skidau 9154353721 Added a Auto-start link option
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1244 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-10 03:28:18 -04:00
skidau ad29903c8e Fixed the crash that would occur if a GBA link mode were used with a GB game.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1243 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-10 03:27:32 -04:00
skidau cc0101622a Ported AdamN's Game Link (Game Boy link) code from 1030e.
Seems to work better with a link timeout of 1.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1242 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-10 03:26:54 -04:00
skidau 1ca9a52821 Fixed NO_LINK build.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1241 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-10 03:25:53 -04:00
skidau 027d8f76ed 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.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1240 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-10 03:25:15 -04:00
Arthur Moore c9d56fd063 Fix wx No Link build 2015-04-10 03:24:25 -04:00
Arthur Moore fca11fb3a1 bgklink merged to trunk.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1239 a31d4220-a93d-0410-bf67-fe4944624d44

Conflicts:
	src/win32/VBA.rc
	src/wx/wxvbam.h
2015-04-10 03:16:58 -04:00
skidau ac309d6d18 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.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1235 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-10 02:54:09 -04:00
Arthur Moore 06c753fe25 Revert "Update Link code to use SMFL Version 2" and "Enable link functionality by default"
This reverts commit 9a359f5b8e.
This reverts commit 3d3229f899.
2015-04-10 02:52:14 -04:00
Arthur Moore bc6f047c44 Even more filter thread cleanup 2015-04-08 14:20:49 -04:00
Arthur Moore a08cdff763 Simplify wxThread 2015-04-08 13:20:20 -04:00
Arthur Moore 1eb8310814 Hopefully fix a windows build error 2015-04-07 02:16:35 -04:00
skidau 14c71c6103 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.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1255 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-30 15:33:00 -04:00
skidau 51af1d564a 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.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1246 a31d4220-a93d-0410-bf67-fe4944624d44

Linux build fix

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1266 a31d4220-a93d-0410-bf67-fe4944624d44

wx build fix

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1268 a31d4220-a93d-0410-bf67-fe4944624d44
Note:  Does not include link changes to wxbvam.cpp from 1268

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.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1254 a31d4220-a93d-0410-bf67-fe4944624d44

Conflicts:
	src/sdl/SDL.cpp
2015-03-30 15:13:35 -04:00
skidau 3d22df7e76 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

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1247 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-30 14:51:49 -04:00
skidau c8fab04054 Re-enable the save type auto-detect code instead of enabling all save types.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1245 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-30 14:31:03 -04:00
skidau 23e8a32e9c Fixed importing GameShark snapshots
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1238 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-30 14:30:18 -04:00
squall-leonhart 190224d01a bios dialog struck through enable text fixed
controls disabled however, because we don't have the execution implemented for cgb bios.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1237 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-30 14:30:04 -04:00
squall-leonhart 9faa82d5bb reverted the removal of backup enabled checks, and changes to remote.cpp
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1232 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-30 14:29:30 -04:00
Arthur Moore dc1eef108a Some minor code fixes 2015-03-27 13:54:05 -04:00
Arthur Moore 332d172002 Install fix
Now properly works for windows and apple platforms
2015-03-27 13:45:09 -04:00
11doctorwhocanada 7c17069d8d SDL: Removed useless buffer 2015-03-25 11:02:12 -05:00
11doctorwhocanada 5404e7edec Removed code that was not needed. 2015-03-24 06:10:57 -05:00
11doctorwhocanada 69c41f2c49 Just a fix for compiling vba-m against newer ffmpeg 2015-03-23 21:32:16 -05:00
11doctorwhocanada 216e181740 Just a build fix for windows 2015-03-23 19:54:43 -05:00
11doctorwhocanada 41bbebfb77 Just a small fix for the dsound interface to work on the wxwidgets frontend on windows. Next up hopefully will be xaudio but it may not be fixable until the mingw-w64 crew properly supports it. 2015-03-23 18:58:09 -05:00
Arthur Moore e96db2c3ba Fixed wxvbam Game Boy options not working 2015-03-22 09:10:43 -04:00
Arthur Moore 665fc71f91 Fixed unsinged int warnings in wx/guiinit.cpp
Now I can actually see what's breaking when I compile the thing
2015-03-22 08:36:59 -04:00
Arthur Moore 11cc454066 Remove the need to copy icon files to the wx build directory
This means in tree builds no longer have extra icon files floating around
2015-03-22 08:14:18 -04:00
Arthur Moore fd0d379d2d Added XBR(Z) filter
I did not create this filter, and all files came from:
http://sourceforge.net/projects/xbrz/

It's GPL V3
2015-03-14 08:45:39 -04:00
Arthur Moore 2f758c187f Moved the fex library to its own CmakeLists file 2015-03-14 08:14:02 -04:00
Arthur Moore 1adad0b01e Converted filters to using an actual factory class.
This is more readable, and more traditional.
2015-03-14 07:13:56 -04:00
Arthur Moore dc63304c69 Fix some small errors that valgrind found 2015-03-13 01:42:05 -04:00
Arthur Moore 36cdf0e13d Minor cleanup for readability
The emulator does not produce a 1 pixel border when in 24bit mode.
2015-03-13 00:36:07 -04:00
Arthur Moore 8b9650125d Filters now only exist in the wxvbam filter threads. 2015-03-13 00:26:33 -04:00
Arthur Moore 66cd7e75ee Filter classes now use the same base class. 2015-03-13 00:14:39 -04:00