Commit Graph

1376 Commits

Author SHA1 Message Date
EoD 6ce43f90b9 Fixes build issue if VERSION has not been defined 2016-07-30 23:55:57 +02:00
EoD 3cf6c2ca7b Fixes memgzio with zlib > 1.2.3.8 2016-07-30 23:55:00 +02:00
Dorian Wouters 31391e090c
Kill common/Types.h, replace its old typedefs w/ standard types
Fix includes in files using standard int types
Fix wxWidgets UI includes
Silence some unused variable warnings in GBA-arm.cpp macros
2016-07-29 11:07:11 +02:00
Dorian Wouters 37f0e75c45
Fix standard int types, prefix gb {C,H,N,Z}_FLAG with GB_ 2016-07-29 09:45:38 +02:00
Zach Bacon 4d3d2b7951
Gba inline fixed up, will try and get things done during the weekend 2016-07-23 09:32:49 -04:00
Zach Bacon ba57da76cb
You must be getting tired of this. I know I am. 2016-07-23 08:10:45 -04:00
Zach Bacon 8106b77056
Added a todo list 2016-07-23 07:59:34 -04:00
MrJman006 9dd9fd5d26 Fixing U16 and U8 Parameter Types
It seems like most of the types are moving to fixed width integer types and this file wasn't fully converted.
2016-07-21 22:01:49 -04:00
Zach Bacon ba3083b538
Expect more of these type of messages till all is done 2016-07-09 22:08:20 -04:00
Zach Bacon 79820311d3
I could go on, but really this is just more typedef removal 2016-07-09 21:38:43 -04:00
Zach Bacon 5f73631f84
Eeprom is done 2016-07-09 17:34:55 -04:00
Zach Bacon 590dd281dd
finished the cheat files 2016-07-09 17:24:11 -04:00
Zach Bacon 44e45acfe7
holy shit these shortcuts, there's no end to this is there? 2016-07-09 15:42:30 -04:00
Zach Bacon f0a4b5e533
bios.cpp done, still a bit to go for the cores 2016-07-09 14:39:27 -04:00
Zach Bacon 1944613131
gb folder is done, next up gba, once this is all up I'm going to look at enhancing the cores 2016-07-09 11:41:31 -04:00
Zach Bacon 1f37311a4a
more and more formating issues, I keep doing it in parts for my own reasons 2016-07-09 10:13:54 -04:00
Zach Bacon 48086ba62f
some more formating things etc 2016-07-09 09:53:13 -04:00
Zach Bacon a49edee427
More changes being made, you'll know when it's over. 2016-07-09 09:24:19 -04:00
Zach Bacon 59577d666f
Finished updating common, next up gb folder 2016-07-08 21:39:29 -04:00
Zach Bacon fa33b8eea4
More changes, things may break until it's done so be advised, git is a moving target 2016-07-08 20:57:21 -04:00
Zach Bacon 32a6d7b494
we are 2016, let's get with the times 2016-07-08 20:46:04 -04:00
Zach Bacon 5bf44d19be
updated standards to webkit standard 2016-07-08 19:59:29 -04:00
Andy Chase dfaf44eed9 Edit sdlStateName, fixing SDL states on a Mac
Previously this function returned true for `if(saveDir)` when `saveDir` was simply a zero length string following a branch that returned `/<savepath>` which doesn't work when the user isn't a root user.
2016-06-25 01:30:34 -07:00
Markus Kitsinger (SwooshyCueb) 57c619ca13 Add some header and resource files to CMakeLists.txts (Core+WX)
This makes these files show up in generated CodeBlocks projects, which
makes life easier for folks who import into QtCreator.
2016-06-07 15:26:53 -05:00
Markus Kitsinger (SwooshyCueb) 502de18456 Nonfunctional (but compiler-friendly) kludge for video recording with ffmpeg 3.0 2016-04-26 21:50:57 -05:00
Markus Kitsinger (SwooshyCueb) a3a07d2f56 Some encoders don't like s16 2016-04-26 21:45:52 -05:00
Markus Kitsinger (SwooshyCueb) 029a5fc14b Kludge for audio recording with ffmpeg 3.0 2016-04-26 21:41:30 -05:00
Markus Kitsinger (SwooshyCueb) 3f3c3859c1 Add some defines for ffmpeg 3.0 compatibility 2016-04-26 21:32:38 -05:00
Zach Bacon 48770219fa Minor build fixes cxx11 related 2016-02-20 18:44:49 -05:00
Zach Bacon 7ed85a8c6f Finish committing the remaining gtk3 patch (wip) 2015-12-12 23:23:34 -05:00
Zach Bacon c8343267fc <wip> Migration to SDL2 made possible by galtgendo, gtk changes to follow. 2015-11-18 21:34:38 -05:00
Rafael Kitover 3d679c1469 more minor improvements for OS X build
Add Homebrew and MacPorts paths for findings headers and libraries.

Add -x objective-c++ to the C++ compile command so that conditionally
compiled ObjectiveC code for OS X can be supported.

Throw a fatal error if the user tries to enable ENABLE_ASM_CORE,
ENABLE_ASM_SCALERS or ENABLE_MMX on AMD64, as this is not supported yet.

If ENABLE_ASM_SCALERS is enabled, try to find a Homebrew or MacPorts
nasm before using the outdated XCode nasm.

For the future, if the user has only the old XCode nasm which does not
support 64 bit objects and the build is 64 bit, throw a fatal error.

For 32 bit builds with the old XCode nasm, use -f macho instead of -f
macho32, which is used if the version of nasm is > 2.0 .

Pass -DMACHO instead of -DELF and, on AMD64 (for the future) -D__AMD64__
for nasm on OS X.

Pass -D__AMD64__ to C++ compilation as well on AMD64, this will help
when we support AMD64 inline assembly.

Add support for automatically linking Homebrew keg-only gettext from
/usr/local/opt/gettext for ENABLE_NLS.

Fix copying Info.plist and vbam.icns to the .app bundle.

Add a key to the Info.plist to support sharp text on retina displays, as
per:
https://wiki.wxwidgets.org/WxMac-specific_topics#Retina_display_support

Set wxWidgets_USE_DEBUG to ON if CMAKE_BUILD_TYPE is "Debug". I'm not
sure this does anything or if I'm doing this correctly though.

Also set wxWidgets_USE_UNICODE to ON. Again, I'm not sure this does
anything or is in the right place.

Fix a bug in the config dir finding code in
wxvbamApp::GetConfigurationPath() updated in 8b8f2f7 to only use the
more top level dirs if there is a vbam.ini in them, not if they are
writable as well, and use the reverse order (starting with user local
dirs) to check for writable dirs and their writable parents. This fixes
a problem with the vbam.ini being written to the Plugins directory of
the .app bundle if it's writable instead of ~/Library/Application
Support/vbam as was intended.
2015-11-16 21:56:23 -05:00
Rafael Kitover 8b8f2f7a14 fix configuration directory on OSX
Write vbam.ini to ~/Library/Application Support/vbam on OSX.

Do not create ~/.vbam on OSX in common/ConfigManager.cpp .

Make get_config_path and wxvbamApp::GetConfigurationPath return
directories with a writable parent in reverse search order when no
writable directories in the current search order are available since the
directory is created in OnInit.

This prefers to create the user-local directory and write the vbam.ini
there.
2015-11-09 02:11:18 -05:00
DoctorWho11 3fac31acb5 Actually display the commit version. However may shorten it since it displays the full string. 2015-10-23 22:21:39 -04:00
skidau a9aa25a56f This patch adds those missing HLE BIOS functions for sound driver: https://sourceforge.net/p/vbam/bugs/24/
It is utilized by Phantasy Star Collection at intro. I don't know any other games using this BIOS driver, so I just implemented the parts that Phantasy Star Collection uses.

This patch is far away from perfect yet. Sound quality is not the same as with original BIOS. Also code is horrible to read, since I just kept translating arm instructions to C without thinking too much. Got it done quickly so if anyone has keen interest on continuing from here.

Patch by Juha Laukkanen
2015-10-17 10:39:09 +11:00
DoctorWho11 1e1b1cc35c This should fix the issue of when users on linux run the install command and make not finding the proper binary. 2015-09-29 23:49:15 -04:00
DoctorWho11 68e67b7269 added xbrz 6x support to the wxwidgets interface, will take care of the gtk end shortly. 2015-09-19 04:08:13 -04:00
intact 75696f29c6 xBRZ 1.4 filter update 2015-08-04 01:37:14 +02:00
skidau 023d28a9cc OSX build fix by Juha Laukkanen. This one works with wxWidgets 3.0 and Cairo 1.14.2. 2015-07-11 10:34:27 +10:00
skidau 9f463f3850 Fixed the GBA sound filter options which were not getting applied. 2015-06-23 22:10:07 +10:00
n-a-c-h 3b850ac295 Rewrote our array class. 2015-06-16 01:59:41 +03:00
DoctorWho11 2baea1b8cf hopefully this fixes things for cpack 2015-06-15 09:42:40 -04:00
DoctorWho11 65f7546798 rename exe and added more cpack stuff. 2015-06-15 09:00:47 -04:00
DoctorWho11 f5600cef71 setting the exe name and git hash 2015-06-15 08:21:44 -04:00
skidau e6231e9ef5 Switch to fullscreen after the game starts so that the GUI does not fall over. 2015-06-15 21:36:11 +10:00
skidau 17270b5181 MFC and SDL build fix 2015-06-13 10:03:58 +10:00
DoctorWho11 6ad134c501 Enable Xaudio2 support by default 2015-06-12 08:56:20 -04:00
DoctorWho11 e67315c7f8 more build fixes 2015-06-12 08:45:19 -04:00
DoctorWho11 7ea54ecbf0 yet more changes to git (incomplete) 2015-06-12 08:39:47 -04:00
DoctorWho11 c0785f3812 Begone svnrev.h! 2015-06-12 08:30:54 -04:00
skidau 4d1310032e Clean up and dependency path fixes 2015-06-11 11:26:35 +10:00
skidau 0d4cfaf056 Readjust the window size if the status bar is hidden.
Show the OSD if the status bar is hidden.
2015-06-10 06:48:21 +00:00
skidau 8e57e850a4 Added an option to show/hide the status bar. 2015-06-10 03:11:34 +00:00
skidau 14c2a16aab Read from svnrev.h on Windows only 2015-06-10 02:06:06 +00:00
skidau d0ced9d2c8 Gentoo Linux build fix 2015-06-10 00:12:19 +00:00
skidau e973e59666 Added an auto-update option (Windows only) 2015-06-08 06:25:19 +00:00
skidau 1dc399839c Added a "Check for updates" option to the Help menu. 2015-06-05 13:48:37 +00:00
skidau 811fc9a872 Fixed the crash that would occur if "Use BIOS file" was selected without a BIOS file specified. 2015-06-04 02:44:07 +00:00
skidau b410bc0314 Added portable mode. The emulator will attempt to use portable mode initially. If that fails, it will use the local user directories. The Directories settings now accept relative and absolute paths. Leave the directory blank to use the ROM directory.
Changed the logging to print to the status bar as well as the log file.
2015-06-03 13:36:54 +00:00
skidau 18d429c2c0 Fixed the joystick mapping getting converted to unicode in the conf file when they should not have been. 2015-05-30 06:02:23 +00:00
skidau 56a42ec50f Fix some lintian warnings. Patch by sergio-br2. 2015-05-29 22:11:38 +00:00
wowzaman12 5a6ed061a4 removed the cmake toolchain file, modified the cmakelists files to include an additional library to properly link with sfml and for linking statically with libgcc and stdc++ libs via mingw 2015-05-28 15:12:31 +00:00
wowzaman12 6a5cfd1073 merp, I goofed up somewhere... 2015-05-28 14:58:11 +00:00
wowzaman12 12a9c921c0 svn string shouldn't be translatable 2015-05-28 14:56:45 +00:00
wowzaman12 01d776b9e8 updates to version string for final builds 2015-05-28 14:36:05 +00:00
wowzaman12 d234e277ef Because cross compiling from linux complains about case 2015-05-28 14:23:08 +00:00
wowzaman12 df3e3b5e22 should fix compiling on debian based distros by forcing them to use wxwidgets 3.0 2015-05-27 23:04:20 +00:00
skidau 811893c250 Made the dialogs resizeable. 2015-05-26 02:09:28 +00:00
skidau 3f325573f5 Fixed the Game Boy system type selection not matching what was emulated. 2015-05-25 00:41:50 +00:00
skidau 066f2e80d6 Fixed the save type changing to SRAM on reset, if the game had been overridden to use EEPROM. 2015-05-24 14:49:28 +00:00
skidau 2ec24487c3 Fixed the "Solar Sensor is broken" message that appeared in "Boktai - The Sun Is in Your Hand". Cleaned and formatted the code. Fixed a mistake where the RTC was not getting updated. 2015-05-24 13:30:31 +00:00
skidau fc197be2f0 Automatically disabled the OSD if there is a status bar visible. 2015-05-23 11:58:29 +00:00
skidau 23cdd50acb Added the option of using host (PC) time or guest (GBA) time for the RTC. Checking the "Real time clock" option in the menu uses host time otherwise it uses guest time. Using guest time will mean that the clock speeds up or slows down with the speed of emulation. 2015-05-23 09:03:11 +00:00
skidau 3ae673b85d Fixed the battery file not saving after a save state was loaded. 2015-05-23 04:43:42 +00:00
skidau bca162d761 Fixed the child windows appearing under the parent window with "Keep window on top" enabled. 2015-05-23 01:56:33 +00:00
skidau d9e705d39a Relabelled the full screen menu items to be clearer in what they do. 2015-05-23 01:20:48 +00:00
skidau f2e6d4544f Added separate "Open GB" and "Open GBC" menu items. 2015-05-23 01:01:43 +00:00
skidau 8508f7aab6 Used the battery file size as an indicator of the save type unless overridden. 2015-05-22 15:11:28 +00:00
skidau 152533061c Save SRAM battery files as 8KB files. 2015-05-22 11:05:45 +00:00
skidau 4a5ae01e19 Removed the padding from the cheat file when it is saved in CLT format. 2015-05-22 07:05:06 +00:00
skidau 2d5ecd88db Fixed another cheat limit check in the GB code. 2015-05-22 05:52:50 +00:00
skidau fec1c7b770 Fixed the cheat list size check for GB games. 2015-05-22 05:34:05 +00:00
skidau 6d964a523f FreeBSD build fix 2015-05-22 01:04:13 +00:00
skidau e202a3994f Added mime types to wxvbam.desktop. Thanks to alucryd and sergio-br2. 2015-05-21 13:49:46 +00:00
skidau 759cf30a19 Moved the trace.log to the local config directory. 2015-05-21 13:31:34 +00:00
skidau 3f9d927103 Create the default config path on start-up and renamed the app "vbam" to be consistent with the sdl build. 2015-05-21 13:06:15 +00:00
skidau 5c6ef13d8c Changed the app name from wxvbam to VBA-M 2015-05-21 12:20:19 +00:00
skidau 5e562ca4b6 Fixed the "scrolled" assertion. 2015-05-21 12:16:20 +00:00
skidau 9340762719 Fixed the crash on boot that would occur with FFMPEG enabled. 2015-05-21 11:29:31 +00:00
skidau d83062e64e GTK build fix 2015-05-21 09:56:55 +00:00
skidau 45c8b6a3d6 Fixed the cheat list size check. 2015-05-21 07:42:14 +00:00
skidau 1b60856e8d Updated debian folder to current standard. Thanks to sergio-br2. 2015-05-21 00:19:51 +00:00
bgk ead03a559a WX: Some strings were mistakenly marked as translatable 2015-05-20 18:46:54 +00:00
skidau 17282fd988 Fixed the crash that would occur if the audio backend is switched before a game is loaded. 2015-05-20 14:57:58 +00:00
wowzaman12 e4959e111f missed the aboutbox 2015-05-20 14:34:51 +00:00
wowzaman12 37d5e9e91c just changed a define to an existing one, when FINAL_VERSION is not defined it'll show svn string and when defined it will not show. 2015-05-20 14:29:53 +00:00
skidau 90249184a3 Resized some of the dialogs. Fixed the Cancel button on the GDB configuration dialog. 2015-05-20 14:11:53 +00:00
skidau cd6a2bd014 Updated the OSX icon and removed the extraneous .app suffix 2015-05-20 03:56:27 +00:00
skidau b02d948dc1 Made running the game at normal speed the default set-up. Patch by sergio-br2. 2015-05-19 23:17:57 +00:00
skidau a79f006cf4 Reset the sound subsystem if the audio backend is changed. Fixed an array out of bounds error in the sound device selection. 2015-05-19 11:50:56 +00:00
skidau c39716f183 Used Sergio Benjamim's icon for the wx build. 2015-05-19 11:01:45 +00:00
skidau e287fb43c8 Removed the CR's from wxvbam.desktop. Thanks to Sergio Benjamim. 2015-05-19 10:07:22 +00:00
skidau cd47885083 Made the configuration dialogs stay on top so that they would not be covered by the main window. 2015-05-18 13:52:29 +00:00
skidau e8dddc9147 Added a "Keep window on top" option. 2015-05-18 13:11:58 +00:00
skidau 6020b6728c Added version to the About box. 2015-05-18 12:10:07 +00:00
skidau 77de248b71 Raised the maximum number of cheats allowed from 100 to 16384. 2015-05-18 05:37:37 +00:00
wowzaman12 fb83452291 merged sergio's icon patch for additional sizes. 2015-05-18 03:44:19 +00:00
skidau 4fdbbefe9b Made the Flash save type detection stricter. Made the SRAM detection override the EEPROM detection. Fixes the save type detection for Rockman EXE 4.5 - Real Operation (Japan), Breath of Fire - Ryuu no Senshi (Japan) and maintains the correct detection of the save type for Saibara Rieko no Dendou Mahjong (Japan).
Changed the wx save type detection to use the core version.
2015-05-18 03:35:37 +00:00
wowzaman12 62ce4aa50a You didn't see us change the version to 2.0.0 *waves hands mysteriously* 2015-05-18 02:41:21 +00:00
skidau 4116a72ae7 Added rewind feature to GTK version. Patch by Juha Laukkanen.
There are two config params:

rewind_count_max => how many blocks are reserved maximum, higher value leads to greater memory usage naturally but longer rewind log
rewind_interval => default interval is 165ms and higher value leads to more inaccurate rewind but longer rewind log

Also fixes memtell() telling incorrect size because data is not flushed.
wxWidgets front end having too small buffer for rewinds resulting overflows.
2015-05-18 00:58:16 +00:00
skidau 8d6f10107c Fixed auto-patch extension setting. Patch by Mook.
It appears that SetExt() doesn't require a leading period in the extension. This makes auto-loading of ups patches work (at least, for the one I tried).

Updated the comment too, for grepablility.
2015-05-18 00:26:21 +00:00
skidau a5592566c5 Added CHT cheat format parsing and file import.
Currently, this is in the wx front-end code.  Moving this logic into the core will bring this functionality to all front-ends.
2015-05-18 00:23:30 +00:00
skidau 303a326ddd Added the Official No-Intro Nintendo Gameboy Advance Number (Date) file for the release numbering. 2015-05-16 07:48:02 +00:00
skidau 5b61aace22 Added a "Update ROM databases" command to the Help menu which downloads and updates the No-Intro dat files. 2015-05-16 04:04:09 +00:00
skidau 516b819143 Added GBA ROM information parsed from No-Intro dat files. The No-Intro dats (Standard and Scene) are to be unzipped into the directory where the vbam.ini file is. 2015-05-15 14:53:52 +00:00
skidau f2274347ae Added AStyle 2.05.1 to the wx pre-build events and formatted the wx gui code.
Options used:
--style=allman --indent=tab=4 --align-pointer=type --align-reference=name --break-blocks --pad-oper --pad-header --unpad-paren --delete-empty-lines --break-closing-brackets --keep-one-line-blocks --keep-one-line-statements --convert-tabs --remove-comment-prefix --mode=c
2015-05-15 02:16:18 +00:00
skidau 3f0a5adf94 Added project files for the Windows wx gui build. Requires CMake in the path. 2015-05-14 12:37:15 +00:00
skidau 8a2a0066bf Enabled the Game Boy Game Link emulation on Linux builds. 2015-05-14 04:23:03 +00:00
skidau 5da5feaac2 Ported the Game Boy Game Link code to TCP sockets. 2015-05-14 03:05:25 +00:00
skidau 40f4c50f7e Partially untangle the saveTypes. Fixes Pokemon Ruby from freezing on reset. 2015-05-14 00:47:33 +00:00
skidau f0568f9945 Added a Transifex link in the Help menu.
http://www.transifex.com/projects/p/vba-m/
2015-05-12 14:24:17 +00:00
skidau 427c63aa3d Fixed an array out of bounds access in the debugger. Fixed a path problem with the wx vbam xpm icon. Patch by Mook. 2015-05-11 07:27:42 +00:00
skidau ef62b19775 Fixed the throttle selection on the SDL and XAudio2 backends. On the other backends, the throttle is a switch (selects between no throttle and throttling at 100% speed). Sync game to audio is now always enabled and the menu option has been removed. 2015-05-11 07:21:02 +00:00
wowzaman12 88dfc964a6 Good catch from Mook on irc. Thanks man. 2015-05-10 23:00:56 +00:00
wowzaman12 96788892c4 Fixed cmake to use find the proper xpm file in the xrc folder, also made the vbam core and fex library static to help with building on some platforms. 2015-05-10 22:54:19 +00:00
skidau 12b030cced Sorted the array of opts so that none of the options get invalidated by the option loader. Fixes the audio volume option which was not getting loaded from the ini. 2015-05-10 06:46:29 +00:00
skidau 011028ff7e Updated the .po files and fixed the icon path in the wx CMakeLists.txt 2015-05-10 04:27:13 +00:00
wowzaman12 03f96b800c added skidau and myself to the about dialog 2015-05-10 02:41:14 +00:00
wowzaman12 c9120d0da2 make it load the xpm icon instead, solves the iCCP profile issue 2015-05-10 02:35:55 +00:00
skidau df42b279ed Removed an extraneous include and added a SDL build check in the CMakeLists.txt 2015-05-09 14:09:29 +00:00
skidau 532a17a696 Combined the GBA and GB frameskip settings to go under Video Options. 2015-05-09 12:32:42 +00:00
skidau fd14110045 Removed the GBA washed colors option as it did not do anything.
Removed the broken full screen resolution selection.
Added some separators in the menu.
Fixed a path problem in the wx CMakeLists.txt
2015-05-08 14:39:54 +00:00
skidau 11c7949672 Fixed the wx CMakeLists.txt so that it can be built from a directory other than trunk 2015-05-08 08:25:54 +00:00
skidau 575d35b2c5 Relabelled the AGP Printer to Debug print 2015-05-08 07:18:31 +00:00
skidau 535bf04f58 Fixed the battery saving in Pokemon FireRed 2015-05-08 05:06:13 +00:00
skidau 590b59c92c Updated copyright year 2015-05-08 01:44:13 +00:00
skidau 88f21433b3 Hooked up the GB Printer option in the wx menu 2015-05-08 01:26:21 +00:00
skidau 573a91cb00 Changed svnrev.h to version.h to fix the build on linux 2015-05-07 21:29:54 +00:00
skidau d3146f3011 Hooked up the GBA tilt sensor to the wx gui 2015-05-07 14:45:25 +00:00
skidau 5a2c4ba1d6 Fixed the SDL Joystick Hat diagonals in the wx gui 2015-05-06 13:40:03 +00:00
skidau 1818d34eb6 Fixed the GB and GBC BIOS options.
Moved the Skip BIOS option to the Emulation menu.
2015-05-06 12:04:21 +00:00
skidau ed3be72c5a Moved the Load State and Save State menus to the File menu.
Removed the "Welcome to wxVBAM!" status message.
2015-05-06 10:38:10 +00:00
skidau f7e352d5a4 Fixed the "Could not set current working directory" log that would appear on boot when there was no xrc sub-directory present. 2015-05-06 10:10:04 +00:00
skidau 9c35a933d9 Made EEPROM and SRAM save type detection override the general FLASH 64KB detection. Fixes the save auto-detect of Saibara Rieko no Dendou Mahjong. 2015-05-06 09:43:09 +00:00
skidau 27b1a36199 Removed the "Searching for directory" logging as they were spamming the logs 2015-05-06 07:49:45 +00:00
skidau ebb31c25da Changed the range of the flashSize to be 0 to 1 2015-05-06 07:45:56 +00:00
skidau 12eac48ea3 Fixed the typos in the .desktop files 2015-05-06 07:21:27 +00:00
skidau c673cceaf7 NO_LINK wx build fixes 2015-05-05 13:37:56 +00:00
skidau e7fe42c555 Added the icon and rearranged the GB menu 2015-05-04 14:04:26 +00:00
skidau 54a768e6bc Removed most of the checkboxes from the dialogs.
Replaced wxvbam.xrc with the individual xrc files.
2015-05-04 13:45:52 +00:00
skidau 23c1096934 First cut of the rearranged wx gui menu to be more like the MFC menu 2015-05-04 06:37:34 +00:00
skidau a66ff4d552 Changed the core enum options to ints to make them consistent with the MFC gui; allowing the ini file to be shared between the two gui's. 2015-05-03 07:44:58 +00:00
skidau 710307479c Created a NO$GBA style OAM Viewer for the wx gui 2015-05-02 15:35:42 +00:00
skidau a42eac7f91 Moved the link functions to their own menu 2015-05-01 15:15:32 +00:00
skidau def2c61993 Round up the rom size to the nearest power of two before mirroring. 2015-05-01 13:27:07 +00:00
skidau d505399566 Converted the update_check macros to functions 2015-05-01 01:08:57 +00:00
skidau 9717255819 Added a separately configured directory for Game Boy Color games 2015-04-30 12:33:12 +00:00
skidau 0a5f44357e Made the wx GDB menus consistent with the MFC version. 2015-04-30 10:35:04 +00:00
skidau d1fe815f0c Added the e-Reader Load/Save commands to the wx gui menu. 2015-04-30 04:10:00 +00:00
skidau 171d29a16c Default the Open dialog to the directory of the currently emulated system. Made opening "Archives" the default in the File Dialog. 2015-04-30 00:30:07 +00:00
wowzaman12 14ceac973e and I forgot the semi-colon... 2015-04-29 20:41:04 +00:00
wowzaman12 d223decf2b removed a useless buffer (backported from bgk changes on his github repo) 2015-04-29 20:36:40 +00:00
skidau 3f9d3fe4ca Copied the checkbox options from the dialogs into a temporary menu, Configure. 2015-04-29 13:48:04 +00:00
skidau cec028e05f Added the SVN rev to the window title. Used GBA resolution as the default window size. 2015-04-29 01:30:31 +00:00
wowzaman12 542d204a9c wxvbam prefers gnu++11 rather than c++11, should fix compiling on mingw. 2015-04-28 14:53:26 +00:00
wowzaman12 33be071615 wxvbam.xrc was missed in regards to xbrz filter support. 2015-04-28 13:32:25 +00:00
skidau 003a67e17d Fixed the HQ3x and HQ4x filters by forcing 32bit output. Hooked up the zBRZ filter in the wx build. 2015-04-28 12:19:15 +00:00
skidau d9a87f7a3d Fixed some of the filters in the wx build. Disabled multi-threaded filtering. 2015-04-28 10:23:54 +00:00
skidau 8d7be915e1 Rearranged the preferences alphabetically and a few other config fixes. 2015-04-28 04:15:26 +00:00
wowzaman12 27dc43c434 fix include for dsound.cpp 2015-04-28 01:00:19 +00:00
skidau 8e90ea0199 Missed TileViewer.xrc from the last commit 2015-04-27 22:56:45 +00:00
skidau f74f8e8e41 Split out and optionally load the xrc files if they are found in a "xrc" sub-directory. Changed the PropertySheetDialogs to NoteBooks in the split xrc files. 2015-04-27 10:53:18 +00:00
skidau 103d90d3f3 Moved the core parameters from the wx gui to ConfigManager 2015-04-27 08:32:03 +00:00
skidau b729a75012 Fixed the throttle in the wx build 2015-04-23 13:56:22 +00:00
skidau c30ce554ef Build fix for wx2.x 2015-04-23 10:00:14 +00:00
skidau 69c7f79e92 Fixed the wxDialogs on wx3.0.2 due to a change in behaviour with FindWindow. 2015-04-22 13:54:27 +00:00
skidau ad60e2cd67 Initial changes for compiling the wx build under Visual Studio 2015-04-22 00:02:29 +00:00
skidau da127b798e Cleaned up the loading of the config file (vbam.ini) 2015-04-20 10:28:01 +00:00
skidau 32fa4b20cf Fixed the throttle menu option 2015-04-19 22:07:49 +00:00
skidau 9ef3e205b0 Fixed the debug printf feature in the case where a debugger is not attached. 2015-04-19 10:13:53 +00:00
skidau 6a987e31b7 Fixed the crash that would occur if vbam.ini and vbam.cfg are not found 2015-04-19 09:54:14 +00:00
skidau 392ad54086 Missed this change in r1349 2015-04-19 07:41:27 +00:00
skidau e07cef142e Re-enabled the debugger in the command line version (SDL) 2015-04-19 07:01:41 +00:00
skidau dcfeb517dc Added a command line option to load e-Reader dotcode files 2015-04-18 15:35:46 +00:00
skidau 97d2f385d2 Separate the configured saveType from the runtime saveType 2015-04-18 14:52:58 +00:00
skidau f2b22ad484 Fixed the global saveType from getting clobbered. 2015-04-18 14:28:38 +00:00
skidau 5a9015b3f0 Created a common configuration system. 2015-04-18 06:53:55 +00:00
skidau 9dc7fbcfdb Split off the MFC code into its own project.
Added a command line project based on SDL.
Added getopt from MinGW.
Added SDL 1.2.15 to the dependencies.
Rearranged the OutDir and IntDir to Binary and Build folders.
2015-04-15 13:13:07 +00:00
wowzaman12 f2f09136dd just added ereader.cpp to the mix. 2015-04-14 12:22:07 +00:00
wowzaman12 0809684e06 Just a libretro build fix, next is to hookup the ereader stuff. 2015-04-14 11:33:28 +00:00
skidau 232c499247 Linux build fix 2015-04-14 11:29:23 +00:00
squall-leonhart c1acdb8aec silence some warnings. 2015-04-14 10:59:03 +00:00
skidau 0e5d12f070 Updated libretro to c0449e2c75650325aed7e7495a41f166d9ec0e7a (11/03/2015 7:03:18AM)
c0449e2c75
2015-04-14 10:39:21 +00:00
skidau 14d94c32f6 Preliminary implementation of the GBA wireless adapter using TCP (based on the IPC version). 2015-04-14 10:21:27 +00:00
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