310 Commits

Author SHA1 Message Date
sinamas
5c52567a68 - missing explicit.
- missing [].


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@310 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-19 16:53:57 +00:00
sinamas
5ea9d9afe1 saner order of argument evaluation. space.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@309 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-14 23:04:33 +00:00
sinamas
da98d8c5b6 mediaworker:
- delete dead code.
 - make magic pause constants not


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@308 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-14 19:39:43 +00:00
sinamas
60bfb8d6a5 testrunner:
- missing static
 - add clean script


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@307 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-14 19:37:45 +00:00
sinamas
ae91cda89f - enforce locking before getting.
- explicitly keep track of last now time to determine max delta.
- refactoring.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@306 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-13 22:30:35 +00:00
sinamas
9118428047 - don't store unnecessary state.
- only reinit cconvert if pixelbuf valid


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@305 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-13 22:25:28 +00:00
sinamas
6cf03950c5 xvblitter: try grabbing all adapter ports before giving up.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@304 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-13 22:12:10 +00:00
sinamas
51c55ff068 - fix MBC regression caused by forgetting to re-add rambank bit mask when adding multicart support.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@303 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-12 14:34:34 +00:00
sinamas
ccfbd7617f - Don't call glTexSubImage2D in blit() because that tends to block on OS X (and quite possibly other implementations), use paged-flipped sw double buffer. I was actually a bit suprised that glTexSubImage2D appeared to be non-blocking on other platforms, which is why I didn't add the sw double buffering initially. This should fix OS X being less audio underrun-resistant than other platforms.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@302 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-10 23:51:58 +00:00
sinamas
95496be778 - macx build fixes for newer sdks.
- whitespace.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@301 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-10 23:32:56 +00:00
sinamas
f371e359df redirect some error printing from stdout to stderr.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@300 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-10 23:25:39 +00:00
sinamas
231fea8998 cast before printing with %u.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@299 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-10 23:16:31 +00:00
sinamas
4dfff22e1e nitpick refactoring
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@298 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-09 19:47:44 +00:00
sinamas
095c2aefbc - explicit constructor. uncopyable.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@297 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-07 22:30:05 +00:00
sinamas
a0b4f787b0 - explicit constructor.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@296 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-07 21:48:09 +00:00
sinamas
20199c537a - refactoring.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@295 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-07 21:34:50 +00:00
sinamas
13e1a2bac4 - add some guards to auto_vector::erase and auto_vector::pop_back.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@294 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-07 20:06:14 +00:00
sinamas
d89443695e - alsaengine: limit number of iterations of snd_pcm_writei loop.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@293 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-06 19:10:19 +00:00
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