sinamas
c8bfd3125f
libgambatte: c++11 narrowing conversion warnings
2013-02-10 21:24:29 +01:00
sinamas
45d7dd9e6a
audioengine: remedy inexplicable lack of QMutexLocker
2013-02-10 21:24:29 +01:00
sinamas
2c2a7567c4
mediaworker: nonfunctional/readability. ws mostly.
2013-02-10 21:24:29 +01:00
sinamas
394bf20a31
mediaworker: remedy inexplicable lack of QMutexLocker
2013-02-10 21:24:29 +01:00
sinamas
efc990ca66
gambatte_qt: replace use of std::auto_ptr with scoped/transfer_ptr
2013-02-10 21:24:29 +01:00
sinamas
ba31613011
atomicvar: missing includes hidden by include order
2013-02-10 21:24:29 +01:00
sinamas
91a3853be1
gambatte_sdl: replace use of std::auto_ptr with scoped_ptr
2013-02-10 21:24:29 +01:00
sinamas
95ce63eafd
libgambatte: replace use of std::auto_ptr with tranfer/scoped_ptr
2013-02-10 21:24:28 +01:00
sinamas
f2c55cfa1b
common: add poor man's unique_ptr
...
all in the name of not depending on tr1, c++11 or boost (stoneage c++98
ftw).
a marginal step up from std::auto_ptr but better than nothing imo.
2013-02-10 21:24:28 +01:00
sinamas
b480c28570
utilize defined_ptr
...
and prune some cruft.
2013-02-10 21:22:21 +01:00
sinamas
ab8f617632
common: add defined_ptr/poor mans boost::checked_delete
2013-02-10 12:00:09 +01:00
sinamas
5eb6819bb6
libgambatte: fix psg ch3 regression introduced in r165
...
delta optimizations broke ch3 dac off output level.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@364 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-12-15 23:15:34 +00:00
sinamas
e634486fff
qt/framework: define USBHID_NEW and USBHID_UCR_DATA on OpenBSD
...
may fix joystick build issues on OpenBSD.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@363 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-12-11 19:56:03 +00:00
sinamas
6b8b692138
ossengine: drop "sys/" from soundcard.h include-path if OpenBSD
...
suggested by Anthony J. Bentley ( anthonyjbentley ).
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@362 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-12-11 19:55:13 +00:00
sinamas
380e1e283f
testrunner: link to libm. neded on OpenBSD
...
Contributed by Anthony J. Bentley (anthonyjbentley at users.sf.net)
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@361 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-12-09 16:43:04 +00:00
sinamas
c16828493c
change default audio buffer latency to 68 ms.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@360 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-10-28 19:12:25 +00:00
sinamas
f1aa6de424
s/aamas@stud.ntnu.no/sinamas@users.sourceforge.net/
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@359 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-10-28 18:32:38 +00:00
sinamas
731d2736eb
get rid of cast, sizeof(type).
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@358 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-12 20:27:55 +00:00
sinamas
79813c3fcf
scope
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@357 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-12 20:27:12 +00:00
sinamas
1f08f30465
const
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@356 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-12 20:26:28 +00:00
sinamas
7ece5cc3e7
replace *const with [].
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@355 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-12 19:55:45 +00:00
sinamas
44b6913a3a
add cli option to show keyboard controls.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@354 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-11 22:24:04 +00:00
sinamas
2f853289f8
break line.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@353 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-11 22:23:19 +00:00
sinamas
778e4fe028
s/getStr/str. s/getChar/character.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@352 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-11 22:22:31 +00:00
sinamas
5a8a9eabd0
s/getDesc/desc/
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@351 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-11 22:12:28 +00:00
sinamas
d9891dc87e
refactor.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@350 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-11 22:10:58 +00:00
sinamas
d82de19da3
update and reformulate. s/-end/end/.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@349 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-11 22:05:07 +00:00
sinamas
54d4846384
do not include cstdio. not needed anymore.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@348 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-10 21:53:48 +00:00
sinamas
fe947301ee
print 'c'/'d' (cgb/dmg) for each test.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@347 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-10 21:50:21 +00:00
sinamas
9db3603c9b
add game pak info method. do not print in libgambatte.
...
do print rom title and game pak info in qt/sdl ports.
add header checksum info.
add [bad] to qt window title if header checksum is bad.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@346 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-10 21:49:36 +00:00
sinamas
7fa1c33a94
return more informative load result.
...
don't print errors in libgambatte.
use error code string in ports for more informative error message.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@345 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-10 21:46:38 +00:00
sinamas
505dce78e8
define OF if not defined.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@344 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-06 19:32:43 +00:00
sinamas
0d5aaab62b
loadState: return success. based on patch from Robert Broglia.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@343 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-04 20:10:11 +00:00
sinamas
c3c3aebada
saveState: return success. based on patch from Robert Broglia.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@342 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-04 20:09:00 +00:00
sinamas
cb03e9c355
add saveSavedata method. based on patch from Robert Broglia.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@341 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-04 20:07:35 +00:00
sinamas
80a1dbc052
delete empty dir
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@340 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-04 18:55:46 +00:00
sinamas
61fb1b6f80
fix test name and cgb flag.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@339 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-02 14:31:10 +00:00
sinamas
8942777354
missing ds tests.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@338 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-02 14:18:34 +00:00
sinamas
025472b23b
whitespace
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@337 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-02 12:29:18 +00:00
sinamas
12a10f63f2
better lyc trigger inhibition hypothesis with evidence.
...
unify and simplify lyc cmp code.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@336 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-02 12:13:27 +00:00
sinamas
a92ae38c77
plug gaping hole in lyc99 flag read behavior.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@335 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-02 12:02:43 +00:00
sinamas
9f122d245d
missing ds ly reg 99 read tests. longer 99 period when ds.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@334 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-02 11:54:31 +00:00
sinamas
5d469bd699
m0 irq inhibits lycirq trigger.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@333 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-08-23 16:27:55 +00:00
sinamas
ccf3bdd661
delete man pages
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@332 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-08-20 19:23:02 +00:00
sinamas
5a3c5ffd8f
ppu: shave off 5 instructions in unrolled tile-draw inner loop on ARM (gcc)
...
help gcc fuse the shifts with the loads since it doesn't manage to fuse them with the ands.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@331 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-29 18:55:19 +00:00
sinamas
e15b580b89
rgb32ToRgb16: save 1 instruction in inner-loop on ARM (gcc).
...
gcc is bad at folding shifts into ands (and probably other ops) with simple constants (it prefers using immediates, saving a register and reducing loop header).
help it fold shifts into the ors (non-constant, so gcc cannot pick the immediate version) instead.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@330 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-29 10:21:12 +00:00
sinamas
fe440c47a4
rgb32ToRgb16: a bit tighter
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@329 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-28 12:36:30 +00:00
sinamas
0031cecc5f
reorder fields for easier access on ARM
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@328 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-28 12:19:32 +00:00
sinamas
183bb261ff
minkeeper: make updateValue function lut static
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@327 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-28 12:18:51 +00:00
sinamas
8d0bdf218f
allocate vram on heap to reduce field offset sizes for easier access on ARM
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@326 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-26 22:12:41 +00:00