sinamas
4eab2ebe5f
gambatte_qt/framework/qglblitter: formatting/readability/cleanup
2013-03-10 18:25:29 +01:00
sinamas
d68d5b9315
gambatte_qt/framework/qglblitter: clear thrice
...
more behind-your-back triple buffer semantics leaking through.
there does not seem to be any guarantee for how many buffers are actually
used with "double-buffered" opengl, but more than 3 seems unlikely.
contrary to popular belief avoiding clears actually matters in some relevant
scenarios, so let's just bump the number of clears to 3 and move on.
2013-03-10 18:24:10 +01:00
sinamas
1733b63057
gambatte_qt/gambattesource: drop use of volatile
...
the intention was probably to enforce ordering between stores to volatile
variables within the same thread, but that does not seem important here and
there's also no guarantee that they will be seen in that order from other
threads (which I knew so it must have been meant as an "increase probability"
thing), so it mostly just adds confusion and looks silly.
2013-02-27 22:20:58 +01:00
sinamas
a2fa681759
gambatte_qt/framework/xvblitter: formatting/readability/cleanup
2013-02-27 21:30:29 +01:00
sinamas
9a1dec4e08
gambatte_qt/framework/x11blitter: formatting/readability/cleanup
2013-02-27 21:28:43 +01:00
sinamas
abbd16ae5e
gambatte_qt: use ptrdiff_t to represent pitch
2013-02-27 21:20:11 +01:00
sinamas
06e79c9dce
gambatte_sdl: use ptrdiff_t to represent pitch
2013-02-26 19:44:28 +01:00
sinamas
5c68d732da
common/videolink: use ptrdiff_t to represent pitch
2013-02-26 19:44:27 +01:00
sinamas
0dc28b7d7f
libgambatte: use ptrdiff_t to represent pitch
2013-02-26 19:44:19 +01:00
sinamas
d445cbd9c7
libgambatte/gambatte: formatting/readability
2013-02-26 19:43:29 +01:00
sinamas
e43c5b07f6
libgambatte/cpu: less magic HF2 constants
2013-02-25 22:44:19 +01:00
sinamas
f70cf21f38
libgambatte/ppu: superflous mask
2013-02-25 21:56:11 +01:00
sinamas
3014b1edaf
libgambatte/cpu: drop f/from_f macros
2013-02-25 21:56:04 +01:00
sinamas
8c6a1150bd
libgambatte/cpu: formatting/readability
2013-02-25 21:55:37 +01:00
sinamas
25d2aef228
libgambatte/sound: formatting/readability
2013-02-25 21:55:22 +01:00
sinamas
b9e715d2c2
libgambatte/sound/length_counter: formatting/readability
2013-02-25 21:53:39 +01:00
sinamas
8fd449cf04
libgambatte/sound/dutyunit: formatting/readability
2013-02-25 21:52:06 +01:00
sinamas
d075a07090
libgambatte/sound/channel1: formatting/readability
2013-02-25 21:43:09 +01:00
sinamas
b885059134
libgambatte/sound/channel2: formatting/readability
2013-02-25 21:42:53 +01:00
sinamas
4c88012856
libgambatte/sound/channel3: formatting/readability
2013-02-25 21:42:32 +01:00
sinamas
f149948787
libgambatte/sound/channel4: formatting/readability/dead code
2013-02-25 21:41:41 +01:00
sinamas
4a43b50acf
gambatte_qt/ossengine: use /dev/audio on OpenBSD by default
...
requested by anthonyjbentley.
2013-02-24 16:53:12 +01:00
sinamas
99f8f0dfac
gambatte_qt/framework: openbsd-*:LIBS += -lusbhid -lossaudio
2013-02-24 16:41:57 +01:00
sinamas
a9c95cc5a1
gambatte_qt: simplify .pro files HEADER deps by using wildcards
...
also fixes some missing header deps.
2013-02-24 16:24:28 +01:00
sinamas
704546fd8e
gambatte_qt/framework: add common to dependpath
...
fixes no recompilation when touching common headers
2013-02-24 16:24:09 +01:00
sinamas
991e162ea8
vsync/frametime estimation improvements
...
use frametime samples below jitter limit as indication that we are not
blocking and slightly reduce current estimate to better support fifo triple
buffering implementations that implicitly avoid blocking on swapbuffers
when having a free buffer. intel linux opengl driver do this implicitly
when full screen for double buffered opengl, probably others do too. we
need to block to get usable estimates.
use a tighter sliding jitter window and allow slightly higher difference
from nominal rate because my quirky laptop thinks 60 Hz == 62.2 Hz.
2013-02-24 10:31:30 +01:00
sinamas
445efbc7e2
gambatte_qt/qglblitter: replace smart array with std::vector
2013-02-24 10:30:19 +01:00
sinamas
fec81fa302
libgambatte/cartridge: allow mapping rom bank0 in more cases/please blargg
...
blargg seems to be of the opinion that mbc1 allows mapping bank0 via overflow
for carts with few rom banks if his tests are anything to go by. I have no way
of verifying this, but am changing it because it confuses people when his tests
loop forever after succeeding.
2013-02-24 10:23:24 +01:00
sinamas
4bfa055456
libgambatte/ppu: kill github horizontal scrollbar?
2013-02-23 10:44:31 +01:00
sinamas
b8364e055b
libgambatte/ppu: formatting/readability
2013-02-23 10:40:19 +01:00
sinamas
5b4aa5cdd2
libgambatte/ppu: fix broken indentation
...
probably introduced in 9f04bbc226d7cc3c0e64b90a4051bb2dd08eed41
2013-02-22 21:36:13 +01:00
sinamas
a78bcffac6
libgambatte/ppu: less magical lcdc constants
...
add named constants and lcdc query functions.
not everyone has lcdc specs in their heads.
2013-02-22 21:21:21 +01:00
sinamas
f01b9a47a9
libgambatte/ppu: extract loadTileDataByte query functions
...
reduce duplication.
2013-02-22 20:01:11 +01:00
sinamas
9f04bbc226
libgambatte/ppu: unindent
2013-02-22 08:04:45 +01:00
sinamas
c4b401436f
common/polyphasefir: include order
2013-02-20 21:35:21 +01:00
sinamas
b8365b4429
common/linint: include order
2013-02-20 21:35:07 +01:00
sinamas
7d778308a8
common/rateest: formatting/readability
2013-02-20 21:11:17 +01:00
sinamas
44147181c0
common/adaptiveSleep: formatting/readability
2013-02-20 21:06:03 +01:00
sinamas
2ea38aeeca
libgambatte/state_osd_elements: use smarter array
2013-02-20 20:46:29 +01:00
sinamas
05efd9f4af
libgambatte/bitmap_font: use ptrdiff_t for pitch
2013-02-20 20:28:54 +01:00
sinamas
20abdc825f
libgambatte/bitmap_font: use size_t for text width
2013-02-20 20:23:50 +01:00
sinamas
1a4b00bfb6
trailing whitespace
2013-02-20 20:05:25 +01:00
sinamas
379ef56791
common/chainresampler: include order
2013-02-20 19:43:33 +01:00
sinamas
c527c05010
common/chainresampler: formatting/readability
2013-02-20 19:43:14 +01:00
sinamas
0bfd6e8979
libgambatte/ppu: formatting/readability
2013-02-20 19:41:36 +01:00
sinamas
58f4260a00
libgambatte/video: formatting/readability
2013-02-20 19:37:00 +01:00
sinamas
54199f94db
libgambatte/state_osd_elements: formatting/readability
2013-02-20 19:34:42 +01:00
sinamas
169971960a
libgambatte/minkeeper: formatting/readability
2013-02-20 19:32:34 +01:00
sinamas
9b0a19a4c2
libgambatte/memory: formatting/readability
2013-02-20 19:31:28 +01:00
sinamas
053d9bbb28
libgambatte/mem: formatting/readability
2013-02-20 19:28:11 +01:00