Commit Graph

437 Commits

Author SHA1 Message Date
Themaister
600dc6307a Use correct timings. 2011-11-21 14:44:56 +01:00
Themaister
a20ae8aa2f Minor fixes. Add link script. 2011-10-30 10:48:40 +01:00
Themaister
f22236d06d Use extension. 2011-10-29 14:11:39 +02:00
Themaister
35521843a8 Build on Windows as well. 2011-09-25 19:29:53 +02:00
Themaister
90b705dd20 Hacky save states, but it's fast enough it seems :) 2011-09-25 18:55:08 +02:00
Themaister
6299e3a66a SRAM works ... 2011-09-25 18:08:51 +02:00
Themaister
b24171e88f Sound, yay. 2011-09-25 17:25:54 +02:00
Themaister
a97b7a7f48 Got picture! :) 2011-09-25 15:53:00 +02:00
Themaister
915464904a Add .a to gitignore. 2011-09-25 12:26:21 +02:00
Themaister
a04e2e2914 Add Makefile, fix warning. 2011-09-25 12:25:26 +02:00
Themaister
c0fbb995a1 Gitignore 2011-09-25 12:16:44 +02:00
sinamas
226b539d9c 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
1270b96c6e 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
0fcd6138e2 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
a33d227209 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
4ac8f30e74 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
7586d8bd28 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
965bc2d318 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
dfcfa2172e 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
205f454f15 - 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
1eb271d733 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
0c539c9e11 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
91896d2d0c 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
0e3a877382 - 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
0e8757146b 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
c411961460 -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
7e882feb86 - 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
51a474f7a3 - 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
66c1af679e - 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
024370430c 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
ce67eaa844 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
644441168c 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
3233abfabc 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
962dc11503 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
ea6fc88861 - 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
aabbc0017e 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
739a2ef613 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
7178a5289d 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
6256b64473 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
441152b5aa 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
d21f4d5f91 - 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
e1470f5279 - 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
8ffcc3ea36 - 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
b517fae4b2 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
3ee82abe80 - 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
sinamas
3c3e0488c8 - Get rid of potential double free of unusable blitter.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@242 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2010-04-01 21:40:00 +00:00
sinamas
a3f249683e - ignore() keyPress/keyRelease events so that global keys still function.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@241 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2010-04-01 19:23:35 +00:00
sinamas
9588aef11c - Better (simpler and makes sense) hypothesis for mode3 sprite cycles.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@240 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2010-03-26 20:20:10 +00:00
sinamas
a42f267354 - Document libgambatte better.
- Document resampling framework better.
- Use a single constant for setting number of resampler channels rather 
than two.
- thread-safety -> thread safety


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@239 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2010-02-04 00:14:08 +00:00
sinamas
3eae18a18a - Move uncopyable.h to common.
- ScalingMethod header.
- length of video frame -> duration of video frame.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@238 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2010-02-03 20:00:38 +00:00