Commit Graph

1366 Commits

Author SHA1 Message Date
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
DoctorWho11 5773f37c1f Merge pull request #9 from rkitover/master
more minor improvements for OS X build
2015-11-18 08:26:10 -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
DoctorWho11 c3574c543c Merge pull request #8 from rkitover/master
fix configuration directory on OSX
2015-11-09 15:39:04 -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 06ffccc3f9 Merge pull request #7 from skidau/HLE-BIOS-SndDriver-PhantasyStarColl
HLE BIOS functions for sound driver
2015-10-17 10:40:53 +11: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 73140ccea2 added git ignore 2015-09-19 21:27:30 -04:00
DoctorWho11 abe2c0f2e7 added submodule for dependencies. 2015-09-19 11:58:26 -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
DoctorWho11 31b4b7afc5 Merge pull request #6 from intact/xbrz-1.4
xBRZ 1.4 filter update thanks @intact I'll add the update on the other frontends, however next time try and at least support the other frontends as possible, at least the wxwidgets end of things.
2015-09-19 03:29:32 -04:00
intact 75696f29c6 xBRZ 1.4 filter update 2015-08-04 01:37:14 +02:00
skidau 8d22dfc526 Merge pull request #5 from skidau/buildfix-0
OSX build fix by Juha Laukkanen.  This one works with wxWidgets 3.0 and Cairo 1.14.2.
2015-07-11 10:35:50 +10: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 3b2853a722 Merge pull request #4 from skidau/translations-0
Translation update https://www.transifex.com/projects/p/vba-m/
2015-06-29 23:31:58 +10:00
skidau 2ecdd432a7 Translation update https://www.transifex.com/projects/p/vba-m/ 2015-06-29 23:30:33 +10:00
skidau 31daa5d38e Merge pull request #3 from skidau/GBA-Sound-Filter
Fixed the GBA sound filter options which were not getting applied.
2015-06-23 22:11:12 +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 e083c00982 moving the deps to it's own repo 2015-06-15 17:46:34 -04:00
DoctorWho11 2baea1b8cf hopefully this fixes things for cpack 2015-06-15 09:42:40 -04:00
DoctorWho11 3389ba5cd6 make cpack ignore the dep folder 2015-06-15 09:20:20 -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 6df9ca1d0a Merge pull request #2 from skidau/StartInFullscreen
Switch to fullscreen after the game starts so that the GUI does not fall over.
2015-06-15 21:42:19 +10: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
DoctorWho11 2717803745 added git support to cmakelists.txt 2015-06-12 08:04:26 -04:00
DoctorWho11 0064fe114f will need to start changing the version for git 2015-06-12 07:51:15 -04:00
DoctorWho11 27a0a5393d fixed some pathing issues 2015-06-11 23:19:15 -04:00
DoctorWho11 002976a90d Merge branch 'master' of https://github.com/visualboyadvance-m/visualboyadvance-m 2015-06-11 22:15:29 -04:00
DoctorWho11 f5c1dec56c pathing issues 2015-06-11 22:14:33 -04:00
skidau 257c4d40f8 just fixed another pathing issue 2015-06-11 22:13:43 -04:00
skidau 407e22e8dc Merge pull request #1 from skidau/clean-up-dependency-path
Clean up and dependency path fixes
2015-06-11 11:29:23 +10:00
skidau 4d1310032e Clean up and dependency path fixes 2015-06-11 11:26:35 +10:00
DoctorWho11 46d07e1e5e initial dump of the dependencies into trunk, may look to changing it into a git submodule later. 2015-06-10 20:08:42 -04: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