Commit Graph

1172 Commits

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