zeromus
b7ba91a0b9
it seems that really only pushes and pops affect the stack busy flag
2011-10-03 03:18:17 +00:00
zeromus
236e4b3374
fix handling of matrix stack busy flag (the fifo seems to track whether whether a matrix operation is pending and set flag if so; if a non-matrix command jams in a busy geometry engine then backed-up matrix command will cause the flag to get set). fixed wild west, which polls this flag to see when it is safe to read the matrix stack cursor while the geometry engine is jammed. our understanding of the gfx fifo behaviour is still incomplete..
2011-10-03 03:04:35 +00:00
riccardom
c73a7cb883
gtk: remove compat code for gtk version < 2.14
2011-10-02 14:46:10 +00:00
riccardom
10cb19b39f
gtk: remove usage of depecrated functions
...
This requires bumping minimum gtk version to 2.14.
2011-10-02 14:44:11 +00:00
riccardom
8bd73be83f
configure: add -Wno-reorder in hardcore mode
...
does not warn against different ordering between definition
and initialization in classes.
2011-10-02 14:30:25 +00:00
riccardom
048f0c292e
firmware: Move firmware.dfc to Battery directory, #3349229
...
There currently is no official place for the firmware.dfc
file. The current behavior is to save the .dfc in the same
directory as the executable. Per zeromus' suggestion, the
.dfc will now be saved in the Battery directory.
This will be true for all ports that support DeSmuME's
directory structure.
Patch from rogerman.
2011-10-02 11:27:29 +00:00
riccardom
fb9445ffa3
Better common fake mic, #3320744
...
This is the preliminary patch that adds different
behaviour to the comon fake mic implementation to better
match desmume feature set.
This patch adds the code for the missing feature before
changing the mic API.
From rogerman, #3320744
2011-10-02 09:40:42 +00:00
riccardom
f4f0c50444
wifi: Don't dereference null pointer
...
This probably is not hit in practice but better safe than
sorry. Reported by cppcheck.
2011-10-02 08:12:35 +00:00
luigi__
0d43101548
Oops, my bad
2011-10-01 22:41:40 +00:00
luigi__
77b692aa1b
Wifi: flush RX queue when RX is disabled, fixes odd problems. Also remove some superfluous counters, add a global usec counter that's always enabled, and change the comm interfaces' usTriggers to trigger every millisecond since they don't need microsecond accuracy.
2011-10-01 22:29:15 +00:00
zeromus
592d5e5ef7
fix bug in texcoordtransform 2 (normal source) created from r3660 fixed point changes (broke smackdown 2010 textures)
2011-10-01 22:23:56 +00:00
riccardom
9b241b9033
commandline: initialize autodetect_method to 0
...
CommonSettings.autodetectBackupMethod is already initialized
to 0 so nothing will change.
This silence a silly warning in (at least) gtk frontend.
2011-10-01 17:04:48 +00:00
zeromus
3fcb0a78d3
might as well make a note of it then
2011-09-29 22:46:26 +00:00
zeromus
778f4ce0d9
oops
2011-09-24 01:13:03 +00:00
zeromus
47afec91fa
support nocash-style prints from ARM, in addition to thumb support which has existed for much time
2011-09-24 00:52:20 +00:00
riccardom
b72ea5ee4b
cocoa: Add tinyxml to xcode project file to compile latest svn
...
Fix #3411141
2011-09-18 16:24:44 +00:00
riccardom
d5ce941e01
mc: rename ADVANsCEne::check() to ::checkDB() to fix compilation on MacOS X
...
Also while at it define it as class instead of struct.
Another step to fix #3411141
2011-09-18 15:43:18 +00:00
riccardom
3bd84c2bb8
mc: Remove unused crc argument from ADVANsCEne::check
...
This should fix #3411141
2011-09-18 15:19:39 +00:00
zeromus
cb4e8fec9c
lua-add vram_readword and vram_writeword (continued)
2011-09-16 02:50:09 +00:00
zeromus
92fe950b24
lua-add vram_readword and vram_writeword
2011-09-16 02:47:53 +00:00
riccardom
375fa0c94f
Fix libagg crashes on 64bit
...
Putting a "\n" in OSDCLASS->addLine SIGSEGVs.
A newline is 10 in ASCII while the libagg's font starts
from a 32 (a space), so it nicely underflows and accesses
out-of-bounds memory in agg_glyph_raster_bin.h:90:
m_font + 4 + (glyph - start_char) * 2
m_font + 4 + (16 - 32) * 2
Should fix #2829308
Patch from kouteiheika, #3407304
2011-09-12 17:37:28 +00:00
mtabachenko
14cd6b722c
OpenGL:
...
- add converting z coordinate from NDS [-1.0,1.0] to OpenGL [0.0,1.0]
2011-08-29 22:47:51 +00:00
mtabachenko
82ed19cc72
- add fix backup memory size when import save;
2011-08-29 18:30:12 +00:00
mtabachenko
3a41cfdf11
- add select autodetect save method (internal or from database);
2011-08-29 16:03:13 +00:00
mtabachenko
e43e603ff1
- fix VS2010 build;
2011-08-29 12:17:46 +00:00
mtabachenko
1ba3dabe0d
- add game database (only crc & savetype yet);
...
winport:
- add convert ADVANsCEne database (http://www.advanscene.com/offline/datas/ADVANsCEne_RToolDS.zip ) to DeSmuME internal database;
2011-08-29 12:01:42 +00:00
zeromus
d849bf11db
remove memory randomization for homebrew. this ended up being a bad idea for a number of reasons. it wont return until it is made optional.
2011-08-25 20:31:19 +00:00
zeromus
35b32046e9
fix poppy interpolation audio quality bug
2011-08-23 22:27:49 +00:00
zeromus
f2dc074b40
fix that with less warnings
2011-08-23 22:27:29 +00:00
zeromus
55122bb9fa
fix poppy interpolation audio quality bug
2011-08-23 22:23:47 +00:00
wntrmute
4aff5bb444
use actual DS ID code
2011-08-15 19:05:14 +00:00
zeromus
a9bba6473e
win32: dont screenshot if no rom is open (menu was already disabled, anyway)
2011-08-15 01:48:47 +00:00
zeromus
ba2887e700
win32: dont stay paused when canceling the save state as filebrowser
2011-08-14 19:03:24 +00:00
zeromus
6f90eec593
win32: actually do what my last checkin said it did. but now i no longer think it was necessary, so just ignore the last two revisions
2011-08-14 18:59:53 +00:00
zeromus
b1bac119bb
win32: make printscreen save as suspend emulation
2011-08-14 18:54:07 +00:00
mtabachenko
8917c70613
gxFIFO:
...
- fix typo (fix GTA - bug #3390024 );
2011-08-13 14:11:53 +00:00
luigi__
71a766b157
Firmware: fix firmware settings file path generation.
2011-08-12 13:49:03 +00:00
zeromus
312628821f
win32: add hotkey for limit framerate limit toggle
2011-08-11 04:12:36 +00:00
zeromus
1d8ec4bb5e
r3396 is alleged to have broken reverse of arcadia. it is alleged to have fixed fifa 2010. r3396 contains a change to thumb ASR which is plainly wrong. after that time several other cpu fixes were made, and the ASR changes are not necessary to fix fifa 2010 anymore. so I am reverting that part, and reverse of arcadia should be retested.
2011-08-04 01:31:34 +00:00
zeromus
307e0182af
gpu: fix 2 years old regression in blending of backdrop
2011-08-03 00:29:02 +00:00
zeromus
4244eb69c6
rasterizer: tweak alpha blending edge cases. it seemed wrong. keep on the lookout for newly mis-blended things. also slightly tweak fat printf diagnostics
2011-07-30 22:08:10 +00:00
zeromus
57606c4aa8
win32: remove stop and reset toolbar buttons. too powerful for single stray clicks.
2011-07-29 18:51:45 +00:00
wntrmute
651672bf7a
simplify list files, ensure all entries get recursed
2011-07-27 19:02:04 +00:00
zeromus
17f9e422d3
add some cflash diagnostic print
2011-07-26 22:50:53 +00:00
zeromus
55ae89cd4c
happy belated 1st anniversary of no work being done, xbox port!
2011-07-26 22:05:10 +00:00
zeromus
dad016d6e5
win32: change compactflash rompath to use the actual rom's path instead of the rom path setting configuration (that isnt what anybody wanted)
2011-07-26 22:04:27 +00:00
wntrmute
f2c0c41bee
add slot1_retail_nand.cpp to xcode project
2011-07-26 19:46:10 +00:00
riccardom
182f81fb46
Fix memory block alignment in RomBanner for 4-byte wchar_t, #3354040
...
From rogerman:
The RomBanner struct requires UTF-16 strings for the six different ROM titles.
Currently, we use wchar_t buffers to define the memory blocks where the title
strings are supposed to go. Using wchar_t is fine for compilers that assume a
2-byte wchar_t. But compilers that use a 4-byte wchar_t will misalign
the memory blocks.
I've submitted a new patch that changes all the wchar_t in RomBanner titles
to u16 for all ports. It took me a while to research the dependencies on
titles, and to make sure I didn't accidentally break something in the
Windows port.
As for the wcscpy() deal in the RomBanner constructor, it's an arbitrary
default init value that we don't actually use in practice, so I removed it.
If a particular port wants to know what to display for the titles when a
ROM isn't loaded, there are plenty of ways to figure this out. Or they can
just check the titles for an empty string, which the constructor inits the
titles to before the wcscpy() call.
For CHEATS::save(), I removed the dependency on using titles. The ROM name
we write to file is also an arbitrary value which we don't actually
reference in practice. I changed it to use gameInfo.ROMname, since we're
already using gameInfo.ROMserial.
2011-07-23 16:01:48 +00:00
riccardom
4bfd29c702
cheatSystem: headerId should be const
2011-07-23 15:34:00 +00:00
zeromus
657759c3f4
win32: newer console title format, somewhat more useful. now %EXENAME% %ARGS% to show you how you launched it. let me know what you think. also let me know if it crashes while trying to parse something!
2011-07-23 09:17:58 +00:00