Commit Graph

4174 Commits

Author SHA1 Message Date
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
zeromus 25b53c7fa3 win32: some minor clarifications to console behaviour. console behaviour is now verified to be pretty dang good in cygwin/msys bash as well as cmd.exe so long as you launch with "cmd /c desmume.exe". 2011-07-23 08:21:21 +00:00
normmatt234 d1309e73ac fix missing return. 2011-07-21 09:36:14 +00:00
milor 1d4b33903d Update spanish language 2011-07-13 21:25:00 +00:00
lainz 0364f55d14 Updated spanish translation. 2011-07-10 14:25:31 +00:00
zeromus 2049720303 win32: add another @!#*(@#$ing language, braziliano this time. now another 3% of the world population can use desmume without having to be arsed to learn internetional. 2011-07-08 19:24:36 +00:00
zeromus b9e3356bd3 win32: revert korean language patch. korean .rc change removed all non-ascii latin characters. not acceptable. try again without losing them. 2011-07-08 02:50:32 +00:00
normmatt234 91d2e0e596 opps typo. 2011-07-07 04:20:17 +00:00