Commit Graph

112 Commits

Author SHA1 Message Date
spacy51 89c0a7b049 Patches by chrono:
[CORE] Add UPS/PPF patch support
[SDL] Add UPS/PPF patch support
[SDL] Fix memory leak
2008-10-16 13:56:49 +00:00
bgk 8af83ed1cb SDL : Add Gb sound effects support (patch by chrono) 2008-09-13 17:36:54 +00:00
bgk 28fe0ce01c SDL : Fix small memory leak (patch by chrono) 2008-09-13 16:52:11 +00:00
bgk e8b08761c9 GTK :
Moved default joypad selection to the joypad config dialog.
2008-09-13 15:51:06 +00:00
bgk 0caa163467 GTK :
- Rewrote the joypad config dialog in plain gtkmm instead of libglade
- A bit of cleanup
2008-09-07 08:18:54 +00:00
bgk b6a46709fd SDL : Fixed a few more warnings 2008-09-06 15:51:43 +00:00
bgk 60ee931a0a SDL : Silenced a few warnings 2008-09-06 15:39:52 +00:00
bgk ecc0ec3f43 GTK : Reenabled the autofire menu. 2008-09-03 21:06:11 +00:00
bgk a3afc456bf GTK : Reenabled joypad switching. 2008-09-03 20:26:18 +00:00
bgk 2ac54204fa SDL: Fixed default volume. Thanks to KunaiTeam for the report. 2008-09-03 08:23:43 +00:00
bgk f10ff69671 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
2008-09-02 19:34:56 +00:00
bgk ee1234f278 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.
2008-09-02 17:15:30 +00:00
bgk 6feda5d3a0 SDL : More stderr > stdout thanks to tttttttttanaka 2008-09-02 09:40:25 +00:00
bgk d6fa4b79d2 SDL : Output information messages to stdout instead of stderr 2008-09-02 06:24:23 +00:00
bgk 474231f6bb 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
2008-09-02 06:16:34 +00:00
bgk 7cf772ea6c 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. 2008-09-01 19:51:07 +00:00
bgk ed1eae96a9 SDL Input : Added a function to compute the keymap value from a SDL event. Will be used in the config dialog. 2008-08-31 17:21:27 +00:00
bgk 2c5a319c0c SDL Input: Now with a clean C module interface. Added a bit of doc to the header. 2008-08-31 16:38:41 +00:00
bgk f49b0a6ad6 Bad copy/paste 2008-08-30 19:36:06 +00:00
bgk 89f52661ab SDL input: Replaced all the interface global vars by accessors 2008-08-30 19:29:38 +00:00
bgk 4e454fcb86 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.
2008-08-30 17:50:51 +00:00
bgk 5e5d025fd5 GTK:
- Removed the PortAudio sound driver because it was quite unstable on some systems
- Use the SDL sound driver
- Fixed the SDL include path
2008-08-29 19:45:17 +00:00
bgk c2a1300926 Completely remove systemSoundOn 2008-08-29 19:04:05 +00:00
bgk ccfed5c1c3 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
2008-08-29 10:23:51 +00:00
bgk b2e13838db SDL :
- Cleaned up initialization and volume management
- Added shortcuts to change the volume at runtime
Thanks to chrono for the patch
2008-08-27 16:35:21 +00:00
bgk 57b7512db9 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
2008-08-27 15:48:36 +00:00
bgk 2a2c0d6918 SDL : Use the new audio API. Fixes build. Thanks to slacker for the patch. 2008-08-27 15:17:41 +00:00
xkiv 5b5f0078fe SDL build/configuration patches (martinultima, chrono):
http://vba-m.ngemu.com/forum/gbc-cheats-gameshark-compile-fixes-t-193.html
2008-08-03 21:02:37 +00:00
mudlord 64e3165091 Since the Windows port of GNU patch was being a bitch, did LIRC support again. Bleh! 2008-07-11 01:49:36 +00:00
mudlord eac8b888a3 ADDED LIRC support in SDL build 2008-07-10 23:41:29 +00:00
xkiv 812990cd2f (new/changed functionality is mostly described in the new file doc/ReadMe.SDL.txt)
Reworked rewinds
More schemes for save/load keybindings
Savestate backups
Per-gamepad autofire (binds to a button on the real pad/keyboard)
Allow adding cheat codes from commandline
Allow adding IPS patch files from commandline
Fix bug in configuration for pad 4
Configurable default scaling of window size for openGL (when filter=0)
Assorted code cleanups (using DEFINEs instead of literals, factored-out chunks of code
from the big switch to functions, ...)
New switches for muting sound (CTRL+S), toggling cheats (CTRL-E)
Added timestamp to console messages
All messages go to console, even if they go to screen
Some messages no longer go to screen
2008-05-08 23:25:39 +00:00
xkiv 3480d2e03d Added new options:
Joy#_AutoA, Joy#_AutoB, openGLscale, saveKeysSwitch
Fixed maximum value for rewindTimer.
2008-05-08 23:16:12 +00:00
bgk 9321a15300 Separated the SDL sound code from the SDL port to make it reusable by the other ports. 2008-04-20 07:26:11 +00:00
squall_leonhart69r 4e28eab229 changed paths to reflect new folder structure. 2008-03-03 05:33:00 +00:00
Nach 0c9a2da44c Property set for new files. 2008-02-28 00:04:28 +00:00
Nach b248000efb You better believe it, it's a whitespace trim, and line conversions, eol settings comming up. 2008-02-27 23:58:25 +00:00
mudlord 4bf1715142 SDL Windows updates:
- Fixed build on windows
- Clear the screen before each frame when in opengl mode to remove artifacts on Windows
- Don't use the asm version of the Sai2x filters anymore, since it somehow doesn't link on Windows
2008-01-30 22:37:22 +00:00
spacy51 e9b1f58575 CORRECTED another typo 2008-01-25 18:40:34 +00:00
mudlord 0cf2bc2c6e Fixed SVN properties on rules files
Added missing files
2008-01-24 11:46:19 +00:00
mudlord 30c9988e0a Major Linux updates by bgKu:
- Added a basic manpage
- Added a default Linux configuration file
- Applied debian patch 01_use_dot_dir. This makes vba save the save states and battery files to $HOME/.vbam/. It is useful because the rom path is very likely to be read only. These paths can still be overridden using the config file. The configuration file and the vba-over.ini file can also be loaded from that .vbam path. Needs some Windows testing.
- Text.cpp/h getopt.c/h are sdl specific so moved them to the sdl folder.
- Removed the ability to disable the ASM version of the Sai2x scalers at runtime (to make them behave like the HQ filters)
- Fix the command line parsing bug I introduced in rev 191 (thanks to MNK)
- Gave to the interframe blending filters the same interface as fullscreen filters
2008-01-24 05:33:18 +00:00
spacy51 288e4f97eb REMOVED remaining references to non-IFB motion blur in SDL port. 2008-01-20 21:15:52 +00:00
spacy51 cae3dc04a2 Resource file cleanup. Remove reference to non-existent InterlaceIB function. Removed non-IFB MotionBlur. 2008-01-20 20:15:10 +00:00
mudlord 95c798e5d3 Numerous Linux updates:
- OpenGL : fixed texture size to be exclusively a power of 2
- OpenGL : Clear the screen on init
- OpenGL : Set fullscreen resolution to the resolution of the desktop
- Changed the executable name to vbam to avoid conflict with the original VBA
- Added a basic install target to the makefile
- Fixed .gz archives loading when using fex_mini (thanks to tttttttttanaka)
- Added debian packaging informations
2008-01-17 04:51:34 +00:00
mudlord 50028ee642 Added support for compiling SDL port under MacOSX 2008-01-13 03:17:35 +00:00
mudlord f4091dfbf4 - Fixed build
- Use the current desktop color depth instead of 16 BPP
- Fixed the OpenGL renderer when in 16 BPP color mode
- Changed the default filter to Stretch2x
- Fixed interframe blending
- A few optimizations
- We need fex.h and fex_mini.cpp for the SDL version, and using files from dependancies is not a option
2008-01-11 21:46:41 +00:00
mudlord 9b39c4f19b SDL-OpenGL fixes:
- Filters > 2x now work with the OpenGL renderer
- Window resizing with the OpenGL renderer is fixed
- Fixed hq3x and hq4x when in 32bpp mode + C version of the filters
- Disabled ASM CPU emulation core since it doesn't build here
2008-01-10 08:59:37 +00:00
mudlord c1d81937d4 Numerous SDL updates:
[*] Made stretchers and filters use a common interface
[+] Filters can now be changed at runtime using CTRL+G
[*] Replaced Simple?x filters by the ASM optimized stretchers
[-] Removed YUV output
[-] Finished removing the remove-intro feature
[!] Fixed a bit the OpenGL code. Still a lot more to do.
[*] Code cleanup

Thanks to bgKu for contributing and Linux testing of this.
2008-01-07 09:09:28 +00:00
spacy51 8d6442b5ee build system clean up
enable GBA logging for release versions (no measurable performance impact)
change "DEV_VERSION" to "GBA_LOGGING"
2007-12-25 16:22:30 +00:00
mudlord 512c68d091 Removed unzip.cpp/h
Updated SDL port to use full FEX library as optional
2007-12-15 23:29:10 +00:00
mudlord c92a8025ac Fixed SDL sound thread/shutdown issue for good now
Updated makefile
2007-12-14 22:38:32 +00:00
mudlord 4fff47a824 Fixed sound thread issues in Subversion
Updated SDL port so that it now compiles with fex_mini.cpp
Added custom GLSL shader support to Win32 OGL renderer (requires GLEW)
Updated code in OpenGL renderer to be more tidy
2007-12-13 03:45:51 +00:00
mudlord 75a3acacc6 Changed SDL debugger a little 2007-12-06 02:48:03 +00:00
Nach 144a2762ad HQ3x and 4x now also work in SDL on Windows. 2007-12-02 00:05:18 +00:00
mudlord 7658064e3d Added very prelim. support for OpenGL in SDL port 2007-11-27 13:13:25 +00:00
Nach 4ad8b6bdda Fixed up the simple filters. Since filters over 2x are now first class citizens, Simple2x and 3x added. Filtering stuff cleaned up slightly. 2007-11-20 22:25:09 +00:00
Nach 5a191f0896 HQXx now all working nicely in SDL. Can use assembly optimized in SDL port if compiled with USEASM=yes. 2007-11-20 16:03:49 +00:00
Nach 874d37653a Fixed HQ3x and 16 bit under SDL. 2007-11-20 15:36:20 +00:00
Nach 20cb5e9d0f HQ3x and 4x is now integrated into SDL, and has a C port. However 3x crashes. 2007-11-20 13:04:31 +00:00
Nach f571b2fadd Compatible with MinGW now. 2007-11-19 22:23:18 +00:00
Nach d977df497f Fixed a bunch of const issues. Trimmed some whitespace. 2007-11-15 00:02:26 +00:00
Nach f33aafcbdf Trimmed whitespace, and set propper line endings for SVN. 2007-11-14 12:28:27 +00:00
Nach f8e5306181 Can now build under Linux, although it crashes very early. 2007-11-14 12:06:48 +00:00