Commit Graph

835 Commits

Author SHA1 Message Date
bgk 924f9f6492 GTK: Remove the StringTokenizer class and move the functionality to tools.cpp 2011-02-22 18:04:08 +00:00
bgk b213ae372b GTK: Turned the last menu based settings into a dialog 2011-02-20 19:03:38 +00:00
bgk ef8609241a GTK: Cleanup includes. Don't instanciate global objects. 2011-02-20 16:36:25 +00:00
bgk 8c0ea991c8 GTK: Added GBA cheats support. Thanks to unmacaque for the patch. 2011-02-20 14:53:04 +00:00
bgk 6c80badb98 CMAKE: Allow building without SFML 2011-02-20 12:22:58 +00:00
bgk 573aaca70b GTK: Don't reset the renderer when entering the display config dialog 2011-02-20 10:38:42 +00:00
bgk f656e4fe45 GTK: Don't disable rendering when using the menus. Thanks to fernandotcl for the patch. 2011-02-20 10:15:03 +00:00
bgk 3c6e0514a9 SDL: Allow vbam to run on systems without an audio device. Thanks to jcranmer for the patch. 2011-02-20 09:25:07 +00:00
bgk 2009faab00 GTK: Change the OpenGL texture size when changing scaler size. Thanks to fernandotcl for the patch. 2011-02-20 09:02:46 +00:00
bgk de6db92249 GTK: Rename the main GtkBuilder file for consistency 2011-02-20 08:33:01 +00:00
bgk 9962e4e679 GTK: Convert the remaining parts of the UI from Glade to GtkBuilder. Thanks to Rafał Mużyło for the patch. 2011-02-20 08:28:48 +00:00
bgk 1d6b01bd8b GTK: Fix the joypad config dialog using 100% CPU 2011-02-19 22:01:09 +00:00
bgk 2c2804aa60 SVN: Applied proper properties to all files, mainly to get native end of lines. 2011-02-19 21:33:53 +00:00
Squall-Leonhart 6ae6c005d5 missing ; after break on line 263 2011-01-10 02:12:20 +00:00
Squall-Leonhart 60f7dad351 applied kode54's sdl/gtk joypad patch 2011-01-09 20:14:40 +00:00
squall-leonhart 81862972a9 applied gtk_rtc.patch by unmacaque 2010-11-27 01:06:20 +00:00
squall-leonhart bda76285e2 stupid log told me it wasn't patched but it was 2010-10-24 20:39:53 +00:00
squall-leonhart fe91393d34 gdbconnect patch, fixes remote debug 2010-10-24 20:27:49 +00:00
squall-leonhart d5b4f885d7 gdbconnection patch - fixes remote debugging 2010-10-24 19:46:47 +00:00
squall-leonhart f9e8205db6 another patch, this time for GSV snapshots. 2010-10-24 15:53:08 +00:00
squall-leonhart e15113d5b9 more patches, save type detection now only available when a rom is loaded. 2010-10-24 15:41:11 +00:00
squall-leonhart 3aa925ea22 applied patches by jlaukkanen
Import Pro Action Replay Snapshots
Compilation error when no_xaudio2
Focus Lost in cheat dialogue MFC
2010-10-24 05:14:52 +00:00
squall-leonhart c3dadd8149 by popular demand, the layers menu is back. 2010-09-10 12:12:18 +00:00
squall-leonhart ec046d276b enable SSE optimisations in VCProj, intrinsics update nasm and revert shuffles changes to gb_apu_state.cpp.
i prefer warnings during compilation rather then a lack of function in the emulator, we can look at correcting the warnings in a less broken manner later.
2010-09-10 11:31:31 +00:00
squall-leonhart ad4990823d Directinput fixed. 2010-08-29 15:52:24 +00:00
squall-leonhart 29c3cee6b1 patch from billiard to attempt a fix for the broken DI8 enumeration. 2010-08-26 07:08:25 +00:00
shuffle2 fe5952a115 fix linking on windows: remove unused "lspeed" variable from win32 2010-03-19 18:14:08 +00:00
shuffle2 b9c5ff1ba3 Quiet some compile warnings (gcc likes to make sure you know operator precedence...) 2010-03-16 23:19:54 +00:00
shuffle2 eca4821498 should fix remaining build errors on linux... 2010-03-15 20:44:20 +00:00
shuffle2 f6b049bb2f fix the cmake/linux build
moves dependencies/File_Extractor-1.0.0 to trunk/fex - we can't expect people to have this lib, and fex has dropped support for the "fex_mini".
2010-03-15 03:36:45 +00:00
shuffle2 308ca56dd6 just quiet some warnings 2010-02-24 21:33:18 +00:00
spacy51 90c02269b1 Fix bug 2802274 from VBA1 on sourceforge:
http://sourceforge.net/tracker/index.php?func=detail&aid=2802274&group_id=63889&atid=636220

CPUImportEepromFile
file pointer not closed if file size wrong
2010-02-24 17:26:35 +00:00
shuffle2 dc394a3baa update to File_Extractor-1.0.0 2010-02-24 16:50:30 +00:00
squall-leonhart 10989d232a 2010-02-23 23:47:28 +00:00
spacy51 d7c987f63b Add GBC BIOS selection 2010-01-02 17:26:26 +00:00
squall-leonhart 7a4723004d working gfx are better then speed. 2009-11-10 17:54:11 +00:00
squall-leonhart e671d51d3c reupped untouched versions (pending proper migration of the sensor functions from VBA-GX 2009-10-22 21:31:51 +00:00
squall-leonhart d998964391 2009-10-22 21:26:06 +00:00
squall-leonhart 1843339183 2009-10-22 21:25:20 +00:00
squall-leonhart c0242964b7 removing and reverting. 2009-10-22 21:22:49 +00:00
spacy51 39056bc7c3 fix compile errors with MSVC 2008 2009-10-22 21:02:53 +00:00
squall-leonhart c9865dacb7 fixes Kodes patch, fixes u8h compiling on MSVC (Thanks for the help Nach) and includes preliminar vcxproject for MSVC2010 2009-10-22 17:55:53 +00:00
squall-leonhart 96868aa21b added rumble, and solar sensor to Core, however they will need to be properly exposed and integrated into the MFC/GTK/SDL interface ports at a later time. 2009-10-11 08:43:52 +00:00
squall-leonhart cf20d2c133 kode54 - LCD merged into Gameboy colours setting.
bgk - gfx patch added
2009-10-09 13:12:55 +00:00
bgk 4ea036dea2 Applied patch 2732666 to fix build with GCC 4.4 2009-09-26 13:27:12 +00:00
spacy51 6686e10d26 REMOVE unsupported 30 bit color format listing. Rename color formats for D3D correctly. 2009-09-23 14:57:20 +00:00
spacy51 052dd8c0cc FIX MBC2 saving/loading
keep in mind VBA-M does NOT truncate the MBC2 ram reads/writes to 4bits, even though it should. FF Legend still saves&loads fine, though
2009-09-18 19:43:59 +00:00
spacy51 513d3b3732 fix compiling with latest DirectX SDK 2009-09-18 18:45:35 +00:00
squall-leonhart c790b49221 more fixes for the size. 2009-09-15 09:49:15 +00:00
squall-leonhart 947e10311e working to fix the return to 5x and 6x windowed mode after esc full screen 2009-09-15 09:21:37 +00:00
squall-leonhart 8af8f4dffa added 5x and 6x window sizes to Win MFC builds (requires testing) 2009-09-11 04:33:34 +00:00
spacy51 900f13a124 fix compiling with Windows 7 SDK 2009-09-02 22:42:37 +00:00
spacy51 74a091b69c improve code quality 2009-08-30 21:35:16 +00:00
spacy51 e512e02b3d improve code quality 2009-08-30 20:21:34 +00:00
squall-leonhart 592843e4f4 Applied Chrono's UPS Fix patch 2009-08-29 21:04:19 +00:00
spacy51 42f712395b Add support for compiling x64 builds. These can not use the optimized x86 assembler code, which is used in the GBA core and several pixel filters. 2009-08-28 16:57:04 +00:00
spacy51 ca5b2c72a9 Update version info in resource file. 2009-08-22 17:48:27 +00:00
spacy51 d1dd74f65b Speed & detection improvement for save type detection tool. 2009-08-20 21:04:34 +00:00
spacy51 25fc661f12 Backup media detection tool: improve speed & ignore if running non-GBA 2009-08-19 21:08:26 +00:00
spacy51 e7087a90fe Added "detect now" tool for detecting the backup media of the cartridge. 2009-08-19 20:40:29 +00:00
spacy51 3659a3fb67 Reduce build time by about 66% by using precompiled headers for MFC GUI code. 2009-08-19 16:27:48 +00:00
spacy51 08bd48b812 Add new command line switch: "--configpath YOURPATHHERE" 2009-08-18 20:32:26 +00:00
spacy51 3162c1554e parseCommandLine function is unnecessary because __argc and __argv are defined in stdlib.h 2009-08-18 19:01:30 +00:00
spacy51 11a0154b7d Append -M to "VisualBoyAdvance", put SVN revision into braces 2009-08-16 13:53:26 +00:00
spacy51 02728a8008 Added a hint for fixing LNK2005 linker errors if linker hack would be disabled. maybe someone else can figure it out somewhen.
Ignore SVN revision file.
2009-08-16 12:06:34 +00:00
spacy51 9e5140e582 Clean up stdafx.h and other header includes.
#ifdef __AFX_H__ is now properly detected
2009-08-16 10:37:48 +00:00
spacy51 daa8105c07 Fix file type associations for Windows Vista.
Use Chip-Like icon from shell32.dll for all ROMs.
2009-08-15 19:48:32 +00:00
spacy51 4d4f53425e If vba.ini exists in executable's folder, use it. Else create/use one in %appdata% folder. 2009-08-15 17:43:53 +00:00
squall-leonhart d7a58068d8 2009-08-10 07:13:07 +00:00
jbo_85 aa75c7dccb Fixed some GB-Z80 instructions. Special thanks to Blargg and Dwedit. 2009-08-08 20:09:09 +00:00
squall-leonhart b97e038bc5 applied Fix GDB support patch, needs testing, but patch provider verified it to work. 2009-08-08 15:28:56 +00:00
jbo_85 27301c1155 Fixed saving of pauseWhenInactive setting to the config file. Fixed logic bug with autoFrameSkip setting to not disable autoFrameSkip when throttle is disabled. 2009-07-27 01:57:21 +00:00
mudlord 4571763225 Fixed DirectSound initialization issues. 2009-06-16 12:01:18 +00:00
squall-leonhart 379349f199 saving the autoskip option still not working... hmmm 2009-03-26 03:59:25 +00:00
squall-leonhart 7367776d30 autoframeskipping wasn't saving to cfg, that is now fixed. 2009-03-25 17:05:31 +00:00
squall-leonhart c309704d55 :) Applied OV2's pause when inactive fix, now works great! that'll make people happy. 2009-03-25 06:10:43 +00:00
squall-leonhart 9948bf65bb filepathremover should be fixed as well as fileexists 2009-03-24 05:32:37 +00:00
squall-leonhart aa84c0b486 2009-03-24 05:30:20 +00:00
squall-leonhart b2fbc4b8a9 2009-03-24 05:27:55 +00:00
squall-leonhart 71741ffc3c Code reverted to prior to spacy's relative directories.
Maybe we can do this properly in the future, but for now it was causing issues for people who like to keep saves with the roms, as well as breaking the rom open dialogues.
2009-03-24 05:15:25 +00:00
squall-leonhart 67f3dfd8ce 2009-03-24 05:01:02 +00:00
squall-leonhart 6c75bd7d4a autoframe skipping now working. 2009-03-24 02:08:58 +00:00
squall-leonhart 3a5aac88f8 2009-03-24 01:23:14 +00:00
squall-leonhart 8201eb85b3 2009-03-23 18:33:46 +00:00
squall-leonhart f48fde13af 2009-03-23 17:25:55 +00:00
squall-leonhart c2ec406870 missed this one previously. - pause when inactive fix. 2009-03-23 16:56:15 +00:00
squall-leonhart c60b3f4e44 found some more protector code to remove, and added back in pause when inactive toggle/function. 2009-03-23 15:19:42 +00:00
squall-leonhart 3a4bc53645 more removal of protection,
MFC may not compile at all at this point.
2009-03-23 14:34:29 +00:00
squall-leonhart 086a299061 removed quick open rom Menu's and classes. (broke the other open rom menu's)
Deleted protect.c and protect.h (last appearance is svn 860)
2009-03-23 12:59:59 +00:00
squall-leonhart b8784ccfe2 removed the protection... yeah i dont think this is needed anymore... its more of a pita then anything. 2009-03-23 12:10:30 +00:00
bgk a8993064d8 Oops 2009-03-21 09:55:13 +00:00
bgk 0354e4aa06 GTK : Removed the XVideo renderer since it was badly written, and OpenGL
does a better job in all cases now.
2009-03-19 10:41:38 +00:00
bgk 7595ec268f GTK: Rewrote the OpenGL code. The old code used a software path with
Mesa drivers. The new one (taken from the SDL port) is much faster with 
these drivers.
2009-03-19 10:20:42 +00:00
bgk d94765205a Fixed OpenGL display for mesa drivers 2009-03-07 08:23:25 +00:00
bgk e62f3407c5 Removed some unused vars 2009-01-26 18:52:42 +00:00
bgk 628d618662 GTK : New GBA settings dialog 2009-01-24 10:09:10 +00:00
bgk 9788aba1e3 GTK : Removed 2 global vars 2009-01-23 14:40:18 +00:00
bgk 34da50d9be GTK : Added GB bootrom file support 2009-01-23 13:41:24 +00:00
bgk 63d2caa1d9 Add an initializer for a static const member. 2009-01-14 12:02:19 +00:00
bgk 5e7c3ce5cd The number of samples in the system sound driver buffer has to be a
power of 2 on some machines.
2009-01-12 21:12:46 +00:00
bgk 115c39154d Converted some NULLs to zeros to fix build on some systems. 2009-01-12 07:56:04 +00:00
bgk 1543a02585 GTK : Introducing the new Game Boy config dialog 2009-01-06 21:20:18 +00:00
bgk 6b9ebdc62c Fixed loading non gzipped roms, thanks to mnk for the report 2009-01-04 13:32:18 +00:00
bgk 1c9664414d Fixed a few warnings 2009-01-01 20:18:09 +00:00
bgk 210b97e5ff Fixed MFC 2009-01-01 17:17:40 +00:00
bgk 3047995169 Forgot a file 2009-01-01 16:53:56 +00:00
bgk db8ec308dd Moved more GBA specific code to the gba folder. 2009-01-01 16:11:02 +00:00
bgk a9370648df This was apparently not used anymore. 2009-01-01 15:24:31 +00:00
bgk ba89436ad2 No more cryptic names ... 2009-01-01 15:20:03 +00:00
bgk 716d9feab0 No need to use cryptic names 2009-01-01 14:52:03 +00:00
bgk 4004472458 Moved the APU files up by one level, since they are shared between the GB and GBA cores. 2009-01-01 14:43:18 +00:00
bgk 56f42e81eb Modified the includes so that files from the dmg folder don't include anything from the agb folder. 2009-01-01 14:34:16 +00:00
bgk 6c6e4a8b97 Moved some files to the common folder. 2009-01-01 14:21:18 +00:00
bgk 8e2cc38c7c Fixed the VC2008 project for my last commit 2009-01-01 13:23:09 +00:00
bgk f1199d4533 Moved the filters to their own directory. 2009-01-01 13:02:35 +00:00
bgk 8ed219a700 Fixed a warning 2008-12-30 16:44:26 +00:00
bgk 973c7123c9 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. 2008-12-30 14:34:33 +00:00
bgk 9383abc719 GTK : Added an option to allow a sound sample rate of 48 000 Hz (finally ...) 2008-12-30 12:14:04 +00:00
bgk 6d394b2d9f Fixed MFC for my previous commit. 2008-12-30 11:18:15 +00:00
bgk 5ab2d916dc More conversion from sound quality to sample rate. 2008-12-30 11:09:37 +00:00
bgk de4c414e86 Directly use sound sample rate instead of "quality" 2008-12-30 10:42:34 +00:00
bgk a67fe271a9 Fixed MFC for my previous commit 2008-12-26 20:11:33 +00:00
bgk 8bc8270984 Made the emulation core use the new sound framework. MFC is currently broken. 2008-12-26 19:33:19 +00:00
bgk b334392f48 MFC : Fixed my nick in the about dialog 2008-12-26 17:57:55 +00:00
bgk a970f93727 Made the MFC port use the new sound framework. Win32 devs, please check. 2008-12-26 17:55:22 +00:00
bgk 9ab357571a SDL sound driver : renamed some variables 2008-12-26 15:35:28 +00:00
bgk e2e749245e Comments 2008-12-26 13:22:45 +00:00
bgk 2b3a6f8c9b 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. 2008-12-26 12:19:33 +00:00
bgk 753b72123d GTK : Replaced the sound configuration menu by a dialog 2008-12-23 13:51:48 +00:00
bgk 21563e5ca4 Regenerated the lexer using a newer version of flex to fix a warning with GCC 4.3 2008-12-23 12:27:43 +00:00
bgk 95f2f0c10e Fixed a few warnings. 2008-12-23 12:18:09 +00:00
xkiv 4e286c724a Switch declaration and definition of autoFireMaxCount to let gvbam build (hopefully). 2008-11-29 11:19:27 +00:00
xkiv f1d9fecd27 fixed an off-by-one countdown mistake in my previous commit 2008-11-25 12:11:12 +00:00
xkiv e217204271 SDL: new option to slow down autofire (needed for it to work with some games) 2008-11-24 20:13:57 +00:00
spacy51 f1047fc358 PATCH by KunaiTeam: off64_t undefined on OS X and BSD 2008-11-12 22:48:39 +00:00
bgk 169f84fbc2 GTK+ : Fix bad English 2008-11-04 16:59:25 +00:00
bgk 7d0dc0afc7 GTK+ : Set the default sound sampling rate to 44000 Hz to fix latencies with some newer sound chips. 2008-11-04 16:56:28 +00:00
bgk 702f357082 GTK : Some preparation for the future sound config dialog 2008-11-01 13:17:17 +00:00
bgk de45a83c47 GTK : Updated the license and copyright informations in the about box 2008-11-01 12:55:42 +00:00
bgk 9fe6d69a2e PPC core fix by Tantric 2008-10-31 09:03:14 +00:00
spacy51 644ea117dc ADDED new function "Load Game -> Do not change cheat list" 2008-10-29 10:41:52 +00:00
spacy51 817c6a43dc Enable autoSaveLoadCheatList by default 2008-10-29 09:41:24 +00:00
bgk 3b0d12d51f GTK: made gvbam installable again 2008-10-28 09:44:04 +00:00
bgk a24c229a28 GTK : Moved the video scale selection to the display config dialog 2008-10-28 09:20:13 +00:00
bgk 22608c2585 Oops, that should not have been in French ;) 2008-10-27 21:48:22 +00:00
bgk d31dc7c8d4 GTK : Filter code cleanup 2008-10-27 20:52:37 +00:00
bgk 37f8bdf884 Silenced a few warnings 2008-10-27 20:06:04 +00:00
bgk 0656b44a39 GTK : WIP display config dialog 2008-10-27 19:48:33 +00:00
spacy51 ec3e07d6a8 even more beautiful code 2008-10-27 18:23:21 +00:00
spacy51 abb71b9b39 MOVE copyright/license text from the top of every code file to seperate 'License.txt' file. 2008-10-27 09:59:14 +00:00