Commit Graph

722 Commits

Author SHA1 Message Date
bgk c627b5ee75 Fixed the VC2008 project for my last commit
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@834 a31d4220-a93d-0410-bf67-fe4944624d44
2009-01-01 13:23:09 +00:00
bgk baab1b8e87 Moved the filters to their own directory.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@833 a31d4220-a93d-0410-bf67-fe4944624d44
2009-01-01 13:02:35 +00:00
bgk 70537265dd Fixed a warning
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@832 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-30 16:44:26 +00:00
bgk 0db42853e4 Simplified the SDL audio driver by using a generic ring buffer (from Gambatte). Changed the A/V max delay and sound update framerate to saner values. Emulation smoothness and sound quality have improved on my system. Please report any issue.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@831 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-30 14:34:33 +00:00
bgk a1ea838423 GTK : Added an option to allow a sound sample rate of 48 000 Hz (finally ...)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@830 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-30 12:14:04 +00:00
bgk 9645dabc61 Fixed MFC for my previous commit.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@829 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-30 11:18:15 +00:00
bgk 437be084a9 More conversion from sound quality to sample rate.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@828 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-30 11:09:37 +00:00
bgk 49b5ee430a Directly use sound sample rate instead of "quality"
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@827 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-30 10:42:34 +00:00
bgk b7197a8a92 Fixed MFC for my previous commit
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@826 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-26 20:11:33 +00:00
bgk 1eebdc6dbe Made the emulation core use the new sound framework. MFC is currently broken.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@825 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-26 19:33:19 +00:00
bgk 0297702bdd MFC : Fixed my nick in the about dialog
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@824 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-26 17:57:55 +00:00
bgk ad0362690f Made the MFC port use the new sound framework. Win32 devs, please check.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@823 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-26 17:55:22 +00:00
bgk 432ceb86d0 SDL sound driver : renamed some variables
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@822 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-26 15:35:28 +00:00
bgk aeed854c2a Comments
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@821 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-26 13:22:45 +00:00
bgk 22072e30a6 New sound driver framework. Made the SDL and GTK+ frontends use it. It will help cleaning up the sound related global variables hell. It should be easy enough to port the sound drivers of the MFC frontend to it. Now if someone could do it, it would allow using the sound drivers directly from the core, removing the C wrappers and a lot of global vars.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@820 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-26 12:19:33 +00:00
bgk e6239a3c38 GTK : Replaced the sound configuration menu by a dialog
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@819 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-23 13:51:48 +00:00
bgk c7023b3e7a Regenerated the lexer using a newer version of flex to fix a warning with GCC 4.3
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@818 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-23 12:27:43 +00:00
bgk c5d4b92a35 Fixed a few warnings.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@817 a31d4220-a93d-0410-bf67-fe4944624d44
2008-12-23 12:18:09 +00:00
xkiv 8a9df76718 Switch declaration and definition of autoFireMaxCount to let gvbam build (hopefully).
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@804 a31d4220-a93d-0410-bf67-fe4944624d44
2008-11-29 11:19:27 +00:00
xkiv 5f63a1a04a fixed an off-by-one countdown mistake in my previous commit
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@803 a31d4220-a93d-0410-bf67-fe4944624d44
2008-11-25 12:11:12 +00:00
xkiv 72e033ba19 SDL: new option to slow down autofire (needed for it to work with some games)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@802 a31d4220-a93d-0410-bf67-fe4944624d44
2008-11-24 20:13:57 +00:00
spacy51 01509620b7 PATCH by KunaiTeam: off64_t undefined on OS X and BSD
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@801 a31d4220-a93d-0410-bf67-fe4944624d44
2008-11-12 22:48:39 +00:00
bgk 3269b6e63c GTK+ : Fix bad English
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@800 a31d4220-a93d-0410-bf67-fe4944624d44
2008-11-04 16:59:25 +00:00
bgk 05b0b5d1e2 GTK+ : Set the default sound sampling rate to 44000 Hz to fix latencies with some newer sound chips.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@799 a31d4220-a93d-0410-bf67-fe4944624d44
2008-11-04 16:56:28 +00:00
bgk bc6c4809d1 GTK : Some preparation for the future sound config dialog
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@797 a31d4220-a93d-0410-bf67-fe4944624d44
2008-11-01 13:17:17 +00:00
bgk 60c9ff0899 GTK : Updated the license and copyright informations in the about box
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@796 a31d4220-a93d-0410-bf67-fe4944624d44
2008-11-01 12:55:42 +00:00
bgk 8b915259e8 PPC core fix by Tantric
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@795 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-31 09:03:14 +00:00
spacy51 53ff03d886 ADDED new function "Load Game -> Do not change cheat list"
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@793 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-29 10:41:52 +00:00
spacy51 330abe117c Enable autoSaveLoadCheatList by default
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@792 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-29 09:41:24 +00:00
bgk 85f29da764 GTK: made gvbam installable again
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@790 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-28 09:44:04 +00:00
bgk 1404e6406a GTK : Moved the video scale selection to the display config dialog
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@789 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-28 09:20:13 +00:00
bgk 96a302d2b3 Oops, that should not have been in French ;)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@788 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-27 21:48:22 +00:00
bgk 00e0139ccc GTK : Filter code cleanup
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@787 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-27 20:52:37 +00:00
bgk 65ab3000a4 Silenced a few warnings
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@786 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-27 20:06:04 +00:00
bgk e0aa92dee0 GTK : WIP display config dialog
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@785 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-27 19:48:33 +00:00
spacy51 1585589e85 even more beautiful code
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@784 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-27 18:23:21 +00:00
spacy51 86543df02f MOVE copyright/license text from the top of every code file to seperate 'License.txt' file.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@783 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-27 09:59:14 +00:00
spacy51 009c70cd7d beautified code
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@782 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-26 20:47:35 +00:00
spacy51 93f5527ded ADDED "change backdrop color" button to palette view and added corresponding hack to the core rendering engine for all graphic modes.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@781 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-25 18:29:07 +00:00
spacy51 6e0c73eae7 Enable/disable refresh button in MapViewer when automatic refresh is enabled.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@780 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-25 16:53:52 +00:00
spacy51 b851d3a869 improved code beauty :)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@779 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-25 15:41:42 +00:00
spacy51 d5e6d6ddec ADDED video layer reset "OptionsVideoLayersReset" function to commands list, CTRL+0
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@778 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-24 11:59:30 +00:00
spacy51 d3066e5030 ADDED information messages when enabling/disabling layers
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@777 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-24 11:41:33 +00:00
spacy51 3df49706d1 MOVED rewind interval to Tools menu.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@776 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-22 14:04:55 +00:00
spacy51 cba3c9dc1c Added default "screenshots" directory.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@775 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-21 19:46:44 +00:00
spacy51 83a3996168 Set default directories "battery" and "savestates".
Code cleanup.
Automatically & silently create directories in a relative path.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@774 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-21 19:00:37 +00:00
spacy51 00163834e1 FIXED building with GCC/MinGW
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@773 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-20 16:34:33 +00:00
spacy51 22c504c089 REMOVED gbafilter.cpp/h because it was not used anywhere
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@757 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-18 14:15:48 +00:00
spacy51 9b52812011 small resource file fix
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@756 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-16 16:02:56 +00:00
spacy51 acce8fa624 ADDED support for .ips .ups .ppf files to the GUI.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@755 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-16 15:29:53 +00:00
spacy51 c2632be8f2 ADDED patch files to Win32/MFC project
ADDED Microsoft compatible replacements for fseeko64, ftello64 and __off64_t


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@754 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-16 14:16:09 +00:00
spacy51 e932f7cdea Patches by chrono:
[CORE] Add UPS/PPF patch support
[SDL] Add UPS/PPF patch support
[SDL] Fix memory leak

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@753 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-16 13:56:49 +00:00
spacy51 cbc350c6fd REMOVED second u8/u16/u32 typedefs
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@752 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-16 11:46:58 +00:00
spacy51 48fbf73bea REMOVED old Qt files from trunk. See branches/qt for Qt front-end.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@751 a31d4220-a93d-0410-bf67-fe4944624d44
2008-10-16 08:49:15 +00:00
bgk 78a665d65f GTK :
Moved the directories config dialog to a separate file.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@750 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-26 18:25:23 +00:00
bgk 0a2235acd1 GTK :
Moved a few menu items to prepare for the upcoming config dialogs.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@749 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-26 17:38:45 +00:00
bgk 0b304c47d6 GTK :
- Changed the config file location to follow the freedesktop.org XDG Base Directory Specification. There is no point to be compatible with the old location since we haven't made a release yet.


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@748 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-26 17:23:12 +00:00
squall-leonhart d6c82a578e applied GB Clear Vram, MBC 1 Mapper and Sound Volume fix for beetlejuice patches provided by Chrono
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@747 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-25 21:20:37 +00:00
squall-leonhart c6f509e10e applied Chrono GB-Multiple-LCDC-interrupt-fix
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@746 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-23 23:56:02 +00:00
bgk 9e2ac31a9e GTK :
Factored out a lot of common code from ScreenAreaCairo, ScreenAreaXv and ScreenAreaGl to the parent class, ScreenArea.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@744 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-20 19:59:04 +00:00
bgk dea5e60f3c GTK :
- Autofire is now configurable using the Joypad config dialog.
- This allowed simplifying the Joypad menu to a single item.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@743 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-20 13:11:13 +00:00
squall-leonhart 40d84b00b5 Applied Crono's Joypad interrupt patch
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@742 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-20 06:02:29 +00:00
squall-leonhart c287ea129a git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@730 a31d4220-a93d-0410-bf67-fe4944624d44 2008-09-19 01:12:57 +00:00
spacy51 2e346a8ce0 REMOVED predefined fullscreen modes from menu
REARRANGED video menu
FIXED: Switching "Ignore aspect ratio" will not resize the window
RENAMED fsMaxScale to maxScale
FIXED OpenGL maxScale and aspectRatio switching

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@728 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-17 19:19:08 +00:00
bgk cb1cf28ba0 GTK :
Readded wrongly removed includes. Thanks to mnk for the tip.


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@727 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-14 15:11:02 +00:00
bgk bd1ac45590 GTK : Fixed a bug with default joypad selection.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@726 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 18:16:09 +00:00
bgk 9ef0900656 SDL : Add Gb sound effects support (patch by chrono)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@725 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 17:36:54 +00:00
bgk a159851cc5 GTK : Color init change (patch by chrono)
This fixes the wrong colors when using Cairo output


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@724 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 16:58:32 +00:00
bgk 592db68254 CORE : Fix small memory leak (patch by chrono)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@723 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 16:53:00 +00:00
bgk d87a08e1df SDL : Fix small memory leak (patch by chrono)
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@722 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 16:52:11 +00:00
bgk 3efad35c6e GTK :
Include cleanup, in an attempt to make build process faster.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@720 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 16:35:32 +00:00
bgk d5881c625e GTK :
Moved default joypad selection to the joypad config dialog.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@719 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 15:51:06 +00:00
bgk bd6554a2a9 GTK :
Merged the 4 joypad config menu items into one.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@718 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 15:01:33 +00:00
bgk 42db684bb5 GTK :
Started reorganizing the menus

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@717 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 12:10:05 +00:00
bgk 5d654ba17e GTK :
- Increased the emulation signal priority. The emulation speed is now more stable.
- Fixed a bug in the frameskipping computation code and adjusted the values to make its time constant higher.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@716 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 11:19:21 +00:00
bgk 31dcc9f559 GTK :
Removed some glade stuff.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@715 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 10:23:51 +00:00
bgk f1415efc9e GTK :
Removed throttle support. It was broken, and IMO not so useful.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@714 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 10:17:34 +00:00
bgk 3852562980 GTK :
Removed debugger support. The SDL and MFC versions have much better debug features.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@713 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 10:11:18 +00:00
bgk 7d488f231f GTK :
- Converted the "Directories" dialog to plain gtkmm
- Cleaned up the Joypad dialog

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@712 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-13 09:59:45 +00:00
spacy51 7690f7729b ADDED "Quick Open ROM..." menu entry
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@711 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-09 12:48:44 +00:00
spacy51 ac3b440d1d Code cleanup & refactoring
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@710 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-09 12:28:15 +00:00
spacy51 84b95ab5cc REMOVE "always use last dir" option
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@709 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-09 11:34:31 +00:00
spacy51 bd59be52c6 static link to MFC, c runtime, zlib, libpng
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@707 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-08 22:46:51 +00:00
bgk 0cf6786458 GTK :
- Rewrote the joypad config dialog in plain gtkmm instead of libglade
- A bit of cleanup

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@705 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-07 08:18:54 +00:00
bgk 0f7da3dfdd SDL : Fixed a few more warnings
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@704 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-06 15:51:43 +00:00
bgk 6ee7e2f8d3 SDL : Silenced a few warnings
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@703 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-06 15:39:52 +00:00
spacy51 a2c504e5d8 FIX: XAudio2: Just skip devices where GetDeviceDetails() fails and continue with the next one.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@702 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-04 21:16:18 +00:00
bgk 71b3024039 GTK : Fixed autofire
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@701 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-04 21:07:36 +00:00
bgk f8ff30e52a GTK : Autofire is broken. Disable it for now.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@700 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-04 20:57:40 +00:00
bgk 00ca598259 GTK : Fixed build for changes made in rev697
Updated the debian packaging scripts


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@699 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-04 20:54:14 +00:00
spacy51 e8fddd6518 MOVED sample rate selection from menu to audio core settings dialog
Code cleanup

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@697 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-04 12:28:31 +00:00
bgk 5ffed369f2 GTK : Reenabled the autofire menu.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@696 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 21:06:11 +00:00
bgk c31ada1146 GTK : The joypad config dialog can now be used to configure the 4 joypads.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@695 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 20:36:29 +00:00
bgk 1c55e89f7c GTK : Reenabled joypad switching.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@694 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 20:26:18 +00:00
spacy51 f49aed599a SMALL fix to XAudio2 config dialog
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@693 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 20:15:48 +00:00
spacy51 82f2160a5e FIX: Do not use stereo to surround upmixing, when no matrix available.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@692 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 20:08:02 +00:00
bgk 711d8e9f97 GTK : Fix bad direction detection for analog axes.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@691 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 20:02:03 +00:00
bgk e7ac06f470 GTK : The joypad config dialog now works for Joystick events too. Joystick support is now almost complete.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@690 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 19:53:28 +00:00
bgk bbc6ca50a8 GTK : The joypad config dialog now works again for keyboards events.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@689 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 18:57:21 +00:00
bgk 3e4b6b354e GTK :
- The Joypad config dialog can now display the key associations, but it's read only for now.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@688 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 09:31:14 +00:00
bgk db486bdb67 SDL: Fixed default volume. Thanks to KunaiTeam for the report.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@687 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-03 08:23:43 +00:00
bgk 51f5510e0d GTK :
- Removed the GDK input system
- Enabled SDL input
- SDL Keymaps are now loaded from the config files
- The keymap edit dialog is currently disabled

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@684 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-02 19:34:56 +00:00
bgk caefe3bec2 SDL Input :
- Added the ability to change the default keymap
- A bit of cleanup

GTK : The SDL Input is working great. Though the config dialog is not updated yet, so it is disabled by default.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@683 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-02 17:15:30 +00:00
bgk a5a44bf925 SDL : More stderr > stdout thanks to tttttttttanaka
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@682 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-02 09:40:25 +00:00
bgk dcd414f717 SDL : Output information messages to stdout instead of stderr
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@680 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-02 06:24:23 +00:00
bgk 7e8401885a SDL :
- Renamed the configuration file to vbam.cfg to avoid conflict with the original VBA (thanks to tttttttttanaka for the patch)
- Changed the window title to VBA-M


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@679 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-02 06:16:34 +00:00
bgk 5cf7052860 SDL Input : Changed the keymap codes to 32 bits values because the GDK keyboard syms are 16bit (as opposed to 8bits for SDL) + we still have to store the device number. Configuration changes are needed.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@678 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-01 19:51:07 +00:00
bgk 3a442af579 GTK : Started hooking up the SDL input code. The events are well transmitted to the input module but the GDK code is still used. WIP.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@677 a31d4220-a93d-0410-bf67-fe4944624d44
2008-09-01 19:14:37 +00:00
spacy51 99780b4e91 ADDED soundInterpolation & soundFiltering options to audio core settings dialog
CHANGED soundInterpolation type from int to bool
REMOVED soundInterpolation settings from menu

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@676 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-31 21:54:57 +00:00
spacy51 b3d8dd9a8a ADDED gbSoundDeclicking option
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@675 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-31 20:03:39 +00:00
spacy51 c6c57e2594 ADDED gbSoundSetDeclicking & gbSoundGetDeclicking [blargg]
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@674 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-31 19:29:58 +00:00
bgk f67af04ed7 SDL Input : Added a function to compute the keymap value from a SDL event. Will be used in the config dialog.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@673 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-31 17:21:27 +00:00
bgk b1d136df32 SDL Input: Now with a clean C module interface. Added a bit of doc to the header.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@672 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-31 16:38:41 +00:00
bgk 60ae294e77 Bad copy/paste
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@671 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 19:36:06 +00:00
bgk e1f05955e9 SDL input: Replaced all the interface global vars by accessors
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@670 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 19:29:38 +00:00
bgk 719d63deae SDL:
Started factoring out the input code to a new file. Only moved code at this point. The ultimate goal is to reuse this code for the GTK port.


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@669 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 17:50:51 +00:00
bgk 093be7d2cf GTK:
Removed the Keymap class


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@668 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 15:02:01 +00:00
bgk a3d7fa464e GTK :
Removed an unnecessary include


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@667 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 08:30:40 +00:00
bgk b4ec3b9375 GTK:
The keymap now uses a std::map instead of a glib map


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@666 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 08:27:17 +00:00
bgk 930e637894 Fixed a few (thousand) warnings when building the HQ scalers using GCC 4.3
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@665 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-30 07:25:18 +00:00
bgk 0d69aea149 GTK:
Removed the ability to set the volume to a value higher than 200% since it didn't work


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@664 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 20:11:59 +00:00
bgk 79784d29a1 GTK:
- Removed the PortAudio sound driver because it was quite unstable on some systems
- Use the SDL sound driver
- Fixed the SDL include path


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@663 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 19:45:17 +00:00
bgk ac064ec715 Completely remove systemSoundOn
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@662 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 19:04:05 +00:00
bgk fc5958a78d GTK:
Try loading the glade file from the source folder to allow running gvbam without installing it


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@661 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 19:02:29 +00:00
bgk c6ac0ea96c SDL:
- The expression parser/lexer is SDL specific, moved it to the sdl folder
- Readded the flex/bison source files from VBA's CVS
- Rebuilt the parser/lexer from source


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@660 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 10:23:51 +00:00
bgk 8681ef0958 No need to have SDL related stuff in the win32 port
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@659 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-29 08:58:45 +00:00
spacy51 cc32c6b12f ADDED volume control to GB core [blargg]
CLEANUP gbSound.h [blargg]

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@658 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-28 22:06:48 +00:00
spacy51 f76a2165ef FIX use GBC audio core for GBC ROMs instead of GB mono
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@657 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-28 21:07:26 +00:00
spacy51 c304345f61 FIX really use GBA sound when GBA is selected instead of GBC
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@656 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-28 12:03:11 +00:00
spacy51 ee4fd96d82 FIXED use blargg's default values for echo & stereo
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@655 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 19:22:11 +00:00
spacy51 42ddf91111 ADDED save/load gb_effects_config to/from ini file
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@654 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 19:18:07 +00:00
spacy51 20b1f8852d REMOVED volume controls in menu bar
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@653 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 19:02:19 +00:00
spacy51 ea4ff0e24b ADDED volume control to audio effects dialog and renamed it to audio core settings dialog
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@652 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 18:49:09 +00:00
bgk 44e88ceeba SDL :
- Cleaned up initialization and volume management
- Added shortcuts to change the volume at runtime
Thanks to chrono for the patch


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@650 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 16:35:21 +00:00
bgk 219b2ccbf0 SDL :
- The filter is now stored as a decimal value in the config file instead of an hexadecimal value as it was undocumented and confused users. Thanks to fhorse for the patch.
- Removed an unused variable


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@649 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 15:48:36 +00:00
bgk 43af63ad54 SDL : Use the new audio API. Fixes build. Thanks to slacker for the patch.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@648 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 15:17:41 +00:00
bgk 020c52a4f5 GTK : Remove some useless config values
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@646 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 12:20:00 +00:00
bgk 195cb65225 GTK :
Readded the sound mute option using the new API


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@645 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 12:18:38 +00:00
bgk eef1c300a5 GTK :
Fixed build by removing obsolete sound options

SDL :
Still broken


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@644 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-27 11:47:52 +00:00
spacy51 465d70b9cc SMALL fix
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@643 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 23:55:52 +00:00
spacy51 7141f3197f Sound code clean up
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@642 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 23:45:34 +00:00
spacy51 54bd8abb82 ADDED blargg to about box
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@641 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 22:15:19 +00:00
spacy51 50c4e7c54c REMOVED unused global soundBufferTotalLen
MOVED soundNextPosition from sound core to DirectSound


git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@640 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 21:12:46 +00:00
spacy51 2a1538fa0d REMOVED soundOffFlag remains
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@639 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 20:48:25 +00:00
spacy51 f79ceb31a6 REMOVED sound reverse stereo remains
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@638 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 20:34:45 +00:00
spacy51 88a0e28b29 REMOVED remains of soundLowPass option
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@637 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 20:28:32 +00:00
spacy51 00b508dfb9 REMOVED sound echo menu item
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@636 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 20:20:30 +00:00
spacy51 8076bd1e18 FIXED warnings about macro redefinition
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@635 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 20:00:30 +00:00
spacy51 ca3d69f3a8 ADDED Audio Effects config dialog
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@634 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 13:36:40 +00:00
spacy51 01e51ccd32 Resource file cleanup
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@633 a31d4220-a93d-0410-bf67-fe4944624d44
2008-08-26 10:46:32 +00:00