Commit Graph

1172 Commits

Author SHA1 Message Date
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