Commit Graph

1146 Commits

Author SHA1 Message Date
skidau c279a8e88d xBRZ 1.3 filter update by chrono, zenju
https://sourceforge.net/projects/xbrz/


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1290 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-03 22:19:46 +00:00
skidau 3d20c6cf97 GBC boot code support by mickdermack
- Allow a GBC BIOS to be loaded and run.
- Allow GB ROMs to run in GBC mode if you select GBC in the menu.
- Fix a bug which caused wrong colors in GB games in GBC mode.
- Set the CGB palettes usually set by the BIOS when a GB game is detected (or everything using the BG palette would appear white and sprites would be the wrong color).
- Allow the BIOS itself and the Skip BIOS option to be changed by a reset.
- Fix the coloring issues if you use the GBC boot ROM.
- Implement GBC colorization palette selection.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1289 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-03 22:04:28 +00:00
skidau a598f5fca2 Fixed the e-Reader region error by refreshing the CPU prefetch after a patch is made.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1288 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-03 10:48:28 +00:00
skidau 43c14fc2e9 Fixed the GDB reg write command from going out of bounds.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1287 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-02 14:53:37 +00:00
skidau e997f69808 Fixed the memory map masks and sizes not being set correctly.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1286 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-02 11:41:24 +00:00
skidau 898e8a9d99 Disabled the Start Recording and Play Recording menu items if a game is not running. Those options would error when they tried to save state.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1285 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-02 11:01:55 +00:00
skidau 396f0bd84d Integrated the VBA-SDL-H2 code into the GDB function.
This allows breakpoints, memory views and watches to be controlled from the GDB interface.  The VBA-SDL-H2 commands can be entered via the GDB monitor (type "help" into the monitor for a list of commands).  Made minor changes to the GDB interface so that the GDB port does not need to be entered every session.  A "Break on Load" option has been added allowing GDB to be connected before the ROM starts executing.

VBA-SDL-H2 credits: Labmaster, kenobi, DevZ, richq, JPAN, Griever

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1284 a31d4220-a93d-0410-bf67-fe4944624d44
2015-04-02 05:53:57 +00:00
wowzaman12 691ae6d4a6 Fixed a small issue (brace in a place where it wasn't needed) Next up XAudio2 interface in wxwidgets!
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1283 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 19:46:27 +00:00
wowzaman12 90a2a2bb14 Removed external filter plugins. In the future, just update the binary/library.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1282 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 18:31:09 +00:00
wowzaman12 9d3d0ae960 Removed unneeded color depth checks and fixed some spacing
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1281 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 17:48:38 +00:00
wowzaman12 57736ab665 missed something that caused it to not properly load the xrc interface.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1280 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 16:15:25 +00:00
wowzaman12 db955f9a25 Removed yet another unneeded #define in wx/guiinit.cpp
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1279 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 16:02:10 +00:00
wowzaman12 c926dd888f Remove even more unneeded complex if statements
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1278 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 14:47:33 +00:00
wowzaman12 0eb1f1ae97 Got rid of a few huge if statements, just recreate the game panel every time after Display Properties closes.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1277 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 14:45:40 +00:00
wowzaman12 f7bfb21b58 Replaced another macro with a templated function. Should be able to use this function to replace a few more macros as well.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1276 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 14:41:25 +00:00
wowzaman12 9b15908afa Removed yet another macro from src/wx/guiinit.cpp
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1275 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 14:34:44 +00:00
wowzaman12 6630953605 Fixed improperly sized dialog boxes
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1274 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 14:11:03 +00:00
wowzaman12 116e090f80 Try to be more informative than the default wx exception handler before terminating
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1273 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 13:56:33 +00:00
wowzaman12 d27a24a522 Make sure that all loaded xrc dialogs have the correct parent. This might be overkill, but shouldn't hurt.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1272 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 13:54:49 +00:00
wowzaman12 45f83cb2d5 Another switch from wxDynamicCast to the normal c++ dynamic_cast
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1271 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 13:44:47 +00:00
wowzaman12 4894d16219 Change a macro from using a special wx funciton to the regular c++ one
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1270 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 13:43:40 +00:00
wowzaman12 4a8749e649 More work on trying to remove C macros
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1269 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 13:41:45 +00:00
skidau 2c3663deff wx build fix
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1268 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 05:01:39 +00:00
wowzaman12 bc2577d33e oops should be copying those files into source dir not binary dir
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1267 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 04:30:24 +00:00
skidau 14a95fb48c Linux build fix
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1266 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 04:08:30 +00:00
wowzaman12 a115f418e7 just missed a parameter.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1265 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 04:02:37 +00:00
wowzaman12 53c1eedafa JoypadConfig is now working as it's own separate entity
Previously it was using macros that were hardcoded to look for a certain variable

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1264 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 03:53:07 +00:00
wowzaman12 5e96d2855f Got rid of two unneeded C macros
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1263 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 03:50:49 +00:00
wowzaman12 3dc751cc02 Created a single template that does the same thing as several of the C macros
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1262 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 01:52:20 +00:00
wowzaman12 fbc21a60cd 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

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1261 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 01:46:44 +00:00
wowzaman12 a262024135 Added more pointer error checking to the wxvbam build.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1260 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 01:33:12 +00:00
wowzaman12 d54845210f Load dialogs the proper way
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1259 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 01:30:36 +00:00
wowzaman12 6f7dc907e1 Now fully use the error checking function instead of the C macro
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1258 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 01:20:41 +00:00
wowzaman12 4a4104e01e Move XRC pointer checking/error throwing to a templated function (More backporting from Arthur, next few commits will be importing his improvements)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1257 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 01:12:57 +00:00
wowzaman12 5d094cb1f2 WX: Changed some of the xrc loading handling and error handling (Courtesy of Arthur on github)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1256 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-28 01:08:52 +00:00
skidau 418a5a1d9f 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-27 22:50:11 +00:00
wowzaman12 7f20dd8073 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
2015-03-27 21:06:10 +00:00
wowzaman12 2c0c5daf94 SDL: Breaks on windows.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1253 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-27 20:01:33 +00:00
wowzaman12 4f87c9aaf5 missed a minor change.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1252 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-27 19:53:35 +00:00
wowzaman12 da022b38f0 fix compiling against latest ffmpeg code.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1251 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-27 17:58:35 +00:00
wowzaman12 fad4d9faf8 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
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1250 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-27 17:54:45 +00:00
wowzaman12 27b35c2136 forgot the wxwidgets interface icons.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1249 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-27 17:49:26 +00:00
wowzaman12 25b6799b10 cmakelists changes, wxwidgets interface build fix to follow.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1248 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-27 17:48:42 +00:00
skidau 2ee3f2d0f3 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-26 21:19:37 +00:00
skidau e55cbb43cc 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
2015-03-26 09:08:30 +00:00
skidau e831c2d6cb 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-25 11:01:50 +00:00
skidau b56e1edc45 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-03-24 13:30:49 +00:00
skidau a483633c96 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-03-23 13:35:01 +00:00
skidau b03200a15f 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-03-23 12:17:26 +00:00
skidau 96786eaa30 Fixed NO_LINK build.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1241 a31d4220-a93d-0410-bf67-fe4944624d44
2015-03-23 06:38:51 +00:00