Commit Graph

1032 Commits

Author SHA1 Message Date
skidau c75c53d898 Fixed the "incorrect battery size" error warning in Kirby Tilt n' Tumble (GB). Patch by chrono. 2015-04-10 00:07:41 +00:00
skidau b99b1135c8 Enabled the RTC and rom mirroring by default. 2015-04-08 05:05:12 +00:00
skidau 88286e8578 Removed the "Remove Intros" option because it did not work. Removed the "e-Reader" option because the e-Reader is automatically detected. Removed the double emulator loop because it is not needed. 2015-04-08 04:30:16 +00:00
wowzaman12 2131cd0dba case of the case sensitive compiler. 2015-04-07 11:46:26 +00:00
wowzaman12 0cabbade12 Fix an operator precedence issue clang complained about. 2015-04-06 17:33:32 +00:00
wowzaman12 dc22721bac So, this fixes compiling using clang, fixed some tabulation issues, and allow the sdljoy pad compile against SDL2. Also fixed a small compiling issue when compiled against wx3 with the dsound driver. Seems we need the Wx c string to work, it's still not exactly wx3 primetime but it's a small start. 2015-04-06 17:31:18 +00:00
squall-leonhart c0e263592c updated credits 2015-04-06 04:14:33 +00:00
wowzaman12 6385359d6a keeps spitting out the wrong flags. 2015-04-06 01:28:26 +00:00
wowzaman12 3be56f6dbc re-added color depth checks. 2015-04-05 22:25:07 +00:00
wowzaman12 bcfd5ce4ce So yeah... seems -stdc++11 work for xaudio2.cpp 2015-04-05 14:56:03 +00:00
wowzaman12 80db6fc884 Getting close to fixing the xaudio2 driver for the wxwidgets frontend. 2015-04-05 14:12:26 +00:00
wowzaman12 6edf950d00 Again with the bracer issue. -_- But this should fix compiling. (Got to stop committing before testing.) 2015-04-05 13:53:25 +00:00
wowzaman12 a051754bf4 read kega fusion plugins in the wxwidgets interface and also started some work on xbrz support in the interface, will complete that later though. 2015-04-05 13:32:12 +00:00
skidau d00e850b7b Cleaned up GBA cable link (network).
Removed cable link speedhack as it is not needed.
Hard-coded timeouts.
2015-04-05 07:59:01 +00:00
wowzaman12 f0cd1c204d small fix for compiling against gcc 2015-04-05 03:01:13 +00:00
skidau 541b36f0f6 Added a NO$GBA Style OAM Viewer. The OAM Viewer shows a previews every OAM and its location on the screen. Patch by StrepTeDa. 2015-04-05 00:25:30 +00:00
skidau 314f1bd8c5 Fixed the ROM info compare in the e-Reader emulation 2015-04-04 22:33:06 +00:00
skidau ca1f5f54ae Enabled the e-Reader kill-switch under the Emulators menu. Fixes the freeze in "Crash Bandicoot - The Huge Adventure" by disabling the e-Reader reset patch. 2015-04-04 09:39:39 +00:00
skidau 193322a33e Updated to SFML 2.2. Fixed LINK build on Linux. 2015-04-04 04:39:25 +00:00
skidau a91f99d111 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.
2015-04-03 22:35:13 +00:00
skidau 75eeef139c xBRZ 1.3 filter update by chrono, zenju
https://sourceforge.net/projects/xbrz/
2015-04-03 22:19:46 +00:00
skidau 4edfbeb261 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.
2015-04-03 22:04:28 +00:00
skidau 9b05099491 Fixed the e-Reader region error by refreshing the CPU prefetch after a patch is made. 2015-04-03 10:48:28 +00:00
skidau e47ac18e30 Fixed the GDB reg write command from going out of bounds. 2015-04-02 14:53:37 +00:00
skidau d0cd600707 Fixed the memory map masks and sizes not being set correctly. 2015-04-02 11:41:24 +00:00
skidau 4606862898 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. 2015-04-02 11:01:55 +00:00
skidau 55e1dad514 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
2015-04-02 05:53:57 +00:00
wowzaman12 7722a59670 Fixed a small issue (brace in a place where it wasn't needed) Next up XAudio2 interface in wxwidgets! 2015-03-28 19:46:27 +00:00
wowzaman12 4a0350260d Removed external filter plugins. In the future, just update the binary/library. 2015-03-28 18:31:09 +00:00
wowzaman12 6f3699c7aa Removed unneeded color depth checks and fixed some spacing 2015-03-28 17:48:38 +00:00
wowzaman12 843a90632f missed something that caused it to not properly load the xrc interface. 2015-03-28 16:15:25 +00:00
wowzaman12 025e466bff Removed yet another unneeded #define in wx/guiinit.cpp 2015-03-28 16:02:10 +00:00
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
normmatt234 9e8671042b Remove useless backup enabled checks in read handlers.
Fix illegal halfword and byte reads.
2013-10-22 18:04:02 +00:00
kode54 2404d08f1f Mother 3 fix, refined to not break Metroid Fusion or hopefully anything else 2013-10-22 01:17:06 +00:00
kode54 12172db5ac Changed PCM FIFO refill behavior to only stuff the FIFO with silence if it runs completely empty, which seems to fix the stuttering in Mother 3. From the technical behavior, Mother 3's sound code would periodically set DMA 1 and 2 to reason 0, then reset them back to reason 3. This presumably occurs every time the source buffers run empty and the source addresses are reset. Unfortunately, with the current execution and memory timing, this occurs just in time for the DMA buffers to run down to only 16 samples each, and then the attempted refill call will trigger while the DMA reason is 0, so they don't refill, and the timer routine thus stuffs the FIFO buffers with 16 samples worth of silence, causing a stutter. Now, the buffer is allowed to drop below 16, which gives Mother 3's sound code enough time to restart the DMA channels, and they continue to pump samples gracefully, as I never detected a full underrun in my testing. 2013-10-21 21:46:49 +00:00
kode54 552a8cf2ff Add tiled rendering define to Android makefiles, too. 2013-09-24 11:53:04 +00:00
kode54 ce3e37223a Add tiled rendering define - big performance improvement 2013-09-24 11:52:20 +00:00
kode54 ae81a99e81 Fix target output name 2013-09-24 11:51:36 +00:00
kode54 7654a7b1ed Fix build for Android 2013-09-24 11:50:37 +00:00
kode54 08886eaf53 Sonic Advance 1/2 work now with NO_LINK defined 2013-09-21 16:18:54 +00:00
kode54 8c034c3b67 (Libretro) Fix build 2013-09-21 16:18:04 +00:00
squall-leonhart e1534a9400 re-adding the fix for zelda oracles 2013-09-21 15:09:45 +00:00
kode54 f4c26dcd95 Let's try that again. 2013-09-21 13:57:40 +00:00
squall-leonhart 3949de1b14 revert 1207-1210 as its not really ready for integration yet. 2013-09-21 02:42:37 +00:00
thibeaz 3460b0bab9 rolling back, it seems there was some more issues than original thought 2013-09-21 02:25:42 +00:00
thibeaz 6fccc53080 fix a goof I made with the last commit, this should fix it 2013-09-21 02:16:27 +00:00
thibeaz ed00ced891 just a small revert, old data got mixed in the last commit 2013-09-20 21:25:50 +00:00
thibeaz bdf78c1247 libretro merge into trunk, the individual interfaces can still be compiled on their own so the gtk/sdl/mfc interfaces can still work as originally intended. Special thanks to Squarepusher of the libretro team for helping us get this merged 2013-09-20 21:08:23 +00:00
squall-leonhart 69991ad411 fixes zelda oracles without breaking duke nukem or 007 2013-09-19 03:24:22 +00:00
normmatt234 943f67937c Implement memory mirrors for SRAM/FLASH.
Correctly handle 16/32bit reads from SRAM.
Removed unaligned handler for CPUReadHalfWordSigned.
2013-09-18 22:08:42 +00:00
squall-leonhart 620548d19e This fixes the colour issue when using opengl and a HQ3 or 4x filter. 2013-09-17 15:23:47 +00:00
normmatt234 510e9778ab Revert changes to the ioReadable table from r1200 which broke Megaman Battle Network series. 2013-09-16 18:44:46 +00:00
normmatt234 8f61c07f8f Move the cpuDmaHack assignments into doDMA. (Fixes Croket 2 regression) 2013-09-15 07:15:31 +00:00
normmatt234 7ee3bfe379 Re-added the DMA Prefetch buffer. This fixes Phantasy Star Collection. 2013-09-14 08:00:19 +00:00
squall-leonhart 05794ee3e8 another tom harder patch, fixing some warnings in the gvbam and wxvbam 2013-06-17 04:17:12 +00:00
squall-leonhart 0470a1d8ad commiting Tim Harders patch for libav/ffmpeg 2013-06-17 04:05:37 +00:00
squall-leonhart 6277cae2a9 bring branches into line
fixes duke nukem on bgk-link and silences gcc warning on trunk
ignore a few more files
2013-05-04 15:31:45 +00:00
normmatt234 e4dde67e52 Fixed register used in asm. 2013-04-07 05:47:26 +00:00
squall-leonhart 90fa689737 reduce new lines
fix duke nukem cgb menu | in my limited testing this has not regressed any other games.
2013-04-06 20:18:14 +00:00
squall-leonhart f8615b0c3d dirty buildfix for linux, can do it properly later. 2013-04-06 18:33:15 +00:00
normmatt234 d51ed1f59e Make the asm code increment lsl/lsr/asr rm by 4 if rm is pc. (ASM now passes the armwrestler MOV opcode test) 2013-04-06 09:27:12 +00:00
normmatt234 56a8cc6e8d Fix clock cycles in some arm/thumb opcodes.
Implement missing ARM instruction used in the wstein.gba homebrew.
Remove cpuDmaHack has it causes graphical glitches in Lufia and incorrectly handles unmapped reads.
2013-04-06 08:51:58 +00:00
squall-leonhart d3c562a1cf couldn't just add a guy who's contributed more in 3 days then anyone has in the last 3 years to the "Contributors" list ;D 2013-03-31 12:37:45 +00:00
squall-leonhart 19cd8f5384 some small pvs warning fixes 2013-03-31 12:19:34 +00:00
squall-leonhart b36bd990aa move around apu reset a bit, doesn't seem to have broken anything
doesn't seem to have fixed anything either.
2013-03-31 11:20:41 +00:00
normmatt234 f19a0529ca Fix handling of unused memory when reading 16/8 bit data. 2013-03-30 06:10:23 +00:00
normmatt234 2bea418980 Add missing ARM opcode variant strh (w=1) used in several homebrew gba demos (e.g. afire). 2013-03-30 06:08:20 +00:00
normmatt234 c70d1d7501 Make 32bit read out of bounds not get rotated if they are unaligned. 2013-03-28 17:27:55 +00:00
normmatt234 97fa577cf9 hopefully fixed unaligned reads correctly this time... 2013-03-28 16:56:22 +00:00
normmatt234 cf4e7eb148 Fix yet another oversight in the unaligned read code.
Implemented missing thumb opcode (Which is invalid according to gbatek but Moto GP seems to use it)
2013-03-28 16:24:14 +00:00
normmatt234 1ff3ce6378 opps forgot to change change the unaligned 16bit rotate to check against old address. 2013-03-28 15:44:01 +00:00
normmatt234 8c98ac97bc Fixed unaligned 16/32 bit reads. 2013-03-28 15:27:45 +00:00
squall-leonhart 0d28963abc commit this and see who complains? :D 2013-02-11 07:59:03 +00:00
squall-leonhart 5dd3e72258 more improvements to gba-arm by Normmatt 2013-02-04 06:53:17 +00:00
squall-leonhart 66ac24cde5 lets commit the right version of the arm patch this time eh. 2013-02-04 06:26:16 +00:00
squall-leonhart 9958c493bd Applied fixes to NormMatts r1150 fixes - V-Rally 3 working again
Re-added nasm.props to vs2008 build folder + changes to nasm.rules for spaces in paths.
2013-02-04 06:15:53 +00:00
squall-leonhart 306291cd55 implement ALL of abhoriels patch correctly. 2013-02-03 17:25:22 +00:00
bgk 26acc55d93 GBA: Revert r1150 since it adds artifacts in (at least) V-Rally 3
Please fix and commit again.
2013-02-03 13:47:51 +00:00
bgk d193d8069d GTK: Apply patch #3524058 - Auto-load/save cheats
Thanks go to unmacaque
2013-02-03 12:59:48 +00:00
bgk 76da586883 GTK: Updated the .desktop file to validate 2013-02-03 12:56:12 +00:00
bgk ff2ddffbcf GTK: Fix "#3598672 - emulated system option in gvbam changes by itself in Linux"
Applied patch 3599614 thanks to Mika Attila
2013-02-03 12:51:40 +00:00
bgk bc103fbf60 GBA: Fix build 2013-02-03 12:43:01 +00:00
squall-leonhart 6579cd900d commit abhoriels RSBS and RSCS patch 2013-02-02 03:48:32 +00:00
squall-leonhart aa28c4d967 patch to correct some behavior in arm tests. 2013-01-23 00:38:00 +00:00
squall-leonhart d10e657c36 OSX/Mac buildfix changes to GBALink 2012-11-20 08:58:44 +00:00
squall-leonhart f3956ff5b5 merge Fix for SDL colours on OSX as indicated by x3ro 2012-11-20 04:04:57 +00:00
bgk a8bf9389b3 GTK: Fix a GCC warning 2012-10-03 17:49:39 +00:00
bgk b1ddfdd553 GTK: Fix an invalid memory access in the joypad config dialog 2012-10-03 17:18:17 +00:00
squall-leonhart a50c95b566 file type fixes 2012-09-11 21:53:26 +00:00
squall-leonhart c45a74deee removed the modal else from the client connection dialogue
now it doesn't crash when clicking connect on debug builds




still does on release builds, just like start server :(
2012-09-03 09:36:28 +00:00
squall-leonhart 1f50361e25 this makes the serverwait dialog appear.
still causes a crash in release builds and points at output.c in an area of unicode :|
2012-09-03 09:14:27 +00:00
bgk 34963ad142 LINK: Don't assume the data we want to send is the first to be written to SIOMLT_SEND since last transfer.
But rather the one present in SIOMLT_SEND when master sets the start transfert bit.
Fixes Advance Wars
2012-09-02 17:26:08 +00:00
bgk 00791f6801 WX: Somewhat fix lan link. Advance wars won't link properly whereas it is working with mem link. 2012-09-02 14:26:22 +00:00
bgk cf02712b34 WX: Fix build with LINK enabled 2012-09-01 17:59:13 +00:00
kode54 4178854b85 Fixed a crash on Windows XP and older systems 2012-08-26 07:44:19 +00:00
squall-leonhart 7944d44390 removing some cases where then and else do exactly the same thing
i could not see any functional differences anywhere, but there might be something im overlooking.
2012-08-19 21:22:16 +00:00
bgk 41d22899e3 WX: Fix build on non-win32 2012-08-08 19:09:37 +00:00
bgk 959e485b91 FFMPEG: Fix build with newer versions of the library. 2012-08-08 19:08:42 +00:00
kode54 d2e00a0085 Added device change notifier to XAudio2 outputs 2012-08-04 22:15:46 +00:00
squall-leonhart 4d174be28a clarified, and ignored another user side project file 2012-07-22 20:31:54 +00:00