542 Commits

Author SHA1 Message Date
sinamas
4970799b4e - allow loading HuC1 ROM images.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@292 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-02 22:14:35 +00:00
sinamas
84f0c0aa6a - Allow 6 digit Game Genie codes.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@291 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-02 17:04:45 +00:00
sinamas
a2c2ad952c s/tr("Code:")/tr("GG/GS Code:")/
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@290 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-30 21:11:24 +00:00
sinamas
c28d7ab253 gambatte_qt: - fix edit cheat dialog window title.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@289 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-30 21:02:55 +00:00
sinamas
c15b7e6118 gambatte_qt: - add support for 01xxxxxx Game Shark and 9-digit Game Genie codes.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@288 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-30 20:59:06 +00:00
sinamas
3ad6b950d9 libgambatte: - support 9 digit Game Genie codes, and 01xxxxxx Game Shark codes.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@287 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-30 20:57:32 +00:00
sinamas
b9085ebc86 - default fast-forward speed 8.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@286 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-23 18:49:49 +00:00
sinamas
5cd1ef284f gambatte_qt: - Add GBC DMG palettes.
- Use mapped GBC palette by default for known DMG game titles.
libgambatte: - ROM title getter.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@285 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-23 18:47:38 +00:00
sinamas
e44d196606 refactoring.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@284 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-17 22:44:02 +00:00
sinamas
438aa67b7d get rid of recursive mutexes.
protect against redundant inputbox focusinevent.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@283 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-17 21:48:20 +00:00
sinamas
0e289a6d8e dont use recursive mutex.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@282 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-17 18:13:27 +00:00
sinamas
54ccda4953 - Always pause on open file dialogs for all platforms. Too much screwiness with the way native dialogs work in Qt, and I think this may be overall nicer either way.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@281 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-16 20:55:55 +00:00
sinamas
2fae998661 - Add Turbo A/B input mapping with configurable number of frames per press.
- Add Quit input mapping.
- refactoring.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@280 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-16 20:01:18 +00:00
sinamas
90438f91b3 - Support .gz files.
- Avoid using magic header values to detect file type to avoid conflicts with ROM content.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@279 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-02 16:00:40 +00:00
sinamas
39f7b2e618 - gambatte qt: add some cli parameters.
- gambatte qt: work around WMs messing up if full screen is set too early.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@278 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-02 15:52:14 +00:00
sinamas
96537c1950 - Provide option to use heuristics to support certain multicart MBCs disguised as MBC1 (Bomberman Collection, Mortal Combat I & II, Super Chinese Land 1,2,3 Dash, maybe others)
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@277 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-25 13:44:59 +00:00
sinamas
41952f42f4 libgambatte: compilation and warning fixes for clang.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@276 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-24 19:54:17 +00:00
sinamas
63b72e0bd7 Facilitate overriding CC and CXX from the command line.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@275 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-24 14:52:45 +00:00
sinamas
20f81d2217 explicitly link some stuff that's not necessarily pulled in by Qt anymore.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@274 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-23 23:32:47 +00:00
sinamas
3b7ec3957d Support shared mode WASAPI surround mix format.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@273 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-19 21:48:08 +00:00
sinamas
b83ff77bc0 Fix missing cast causing 64-bit build failure.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@272 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-18 16:07:15 +00:00
sinamas
8680d3cbaf about edit.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@271 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-18 05:15:00 +00:00
sinamas
fa33f397ed edit about.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@270 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-18 00:02:03 +00:00
sinamas
59abf98a9b Add GBA CGB mode option.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@269 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-17 16:54:55 +00:00
sinamas
dcfefa4202 - Add save path selection.
- Stop using different file name for save files when forcing DMG.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@268 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-17 14:18:14 +00:00
sinamas
1bcfec5a76 refactoring.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@267 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-15 22:21:40 +00:00
sinamas
af220500e7 Dont re-initialize on resetAudio for engines that drain when paused.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@266 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-15 22:08:53 +00:00
sinamas
ea9394a32b Fix build error due to missing MSG declaration on non Q_WS_WIN.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@265 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-15 21:20:36 +00:00
sinamas
44a62dbde6 - Set worker thread MMCSS priority to "Audio".
- Flush audio on ROM load to avoid noise from previous ROM when switching.
- Deactivate undesired menu options on ROM load fail stop.
- Use fast, fail-safe ROM reset.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@264 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-14 22:28:37 +00:00
sinamas
d434892be6 reenable some printing on load fail due to unsupported mbc.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@263 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-14 22:19:10 +00:00
sinamas
a92a2763af -Be less sensitive when configuring joystick input.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@262 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-12 00:27:14 +00:00
sinamas
396e6838b3 - Use event driven scheduling for shared mode WASAPI.
- Include 96000 Hz as a sampling rate listed by default.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@261 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-11 20:51:40 +00:00
sinamas
71a555532b - Separate vsync option for exclusive full screen because it tends to work better, so you may want to enable it while leaving non-exclusive vsync off.
- Add some tool tips.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@260 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-11 16:03:55 +00:00
sinamas
bdbb19c1ee - Work around DWM compositor screwing up when duplicating frames by adding "DWM triple buffering" option (on by default) which sets presentparameters with frame queueing for all blitters.
- Work around DWM breaking windows with frame queuing after composition is disabled and re-enabled, by resetting present parameters on next video frame after composition enable event.
- Work around DWM breaking OpenGL window on minimize by unsetting present params on hide event, and setting on show event.
- Ignore sync to vblank when DWM composition is active.
- Deactivate sync to frame rate option when DWM composition is active.
- Make window size setting a menu rather than a part of video settings dialog.
- Work around Windows file dialog blocking events by waiting for pause to complete before launching such dialog.
- Work around events getting blocked when resizing on Windows by consuming pending blit requests on resizeEvent.
- WASAPI: Detect and use shared stream sampling rate in shared mode because all other rates appear to fail.
- Default screen names start at "1" rather than "0".
- Build fixes for mingw gcc 3.4.
- Refactoring.



git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@259 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-11 04:32:50 +00:00
sinamas
4b60088bc2 Add one level of unrolling to cic2.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@258 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-04 15:16:25 +00:00
sinamas
9f8c0a278f Allow intermediate polyphase sinc resamplers in a resampling chain to start/end (after fold) roll-off at limit of hearing if applicable, not just the final one.
Modify chain cost formulae and their derivatives for optimal ratios accordingly.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@257 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-09-01 21:21:17 +00:00
sinamas
61fc540ddb refactoring.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@256 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-08-25 17:35:27 +00:00
sinamas
3cec8e0aa8 refactoring.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@255 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-08-18 19:48:16 +00:00
sinamas
cf1fe30715 refactoring.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@254 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-08-18 18:15:49 +00:00
sinamas
425cf85b6a - don't wait for video frame consumption if approximate usecs from underrun is low comapred to video frame timeout.
- refactoring.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@253 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-08-15 17:44:33 +00:00
sinamas
337092b156 slightly higher precision in frametime inc/dec representation.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@252 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-08-04 00:43:06 +00:00
sinamas
c007ce9018 get rid of trailing zero artifact.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@251 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-08-04 00:20:58 +00:00
sinamas
0bda30dc27 Adjustable base frame rate.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@250 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-08-03 23:52:46 +00:00
sinamas
0e8ae6a18c refactoring.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@249 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-08-01 21:28:14 +00:00
sinamas
84e9d3820a Increase start threashold to full buffer. Block rate estimation when pcm not in running state. Default custom device plughw rather than hw.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@248 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-08-01 21:27:24 +00:00
sinamas
b3446fd934 - one more decimal position in refresh rate representation.
- use xrandr screen names
- hide empty full mode comboboxes
- windowed resolution -> window size
- lots of refactoring.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@247 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-08-01 06:01:08 +00:00
sinamas
9dc2f7ec48 - libgambatte: *
- tons of re (cgb _and_ dmg).

$ ./run_tests.sh
...
Ran 2755 tests.
0 failures.



git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@246 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-07-23 17:02:32 +00:00
sinamas
2efcce7cf0 - Add preliminary testrunner for automated testing.
- Many tests modified to be compatible, quite a few remaining.
- Add some of the new DMG tests, leave the rest for later. Running of DMG tests disabled for now because SVN libgambatte is out of date.
- Some tests fixed and verified on DMG.



git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@245 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-01-06 00:05:38 +00:00
sinamas
50fd18dc93 Fix 2xSAI video filter reading out of bounds.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@244 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-01-04 18:33:14 +00:00
sinamas
fa8b85e1c9 - Optimize save state thumbnail generation.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@243 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2010-04-04 16:17:40 +00:00