Commit Graph

4060 Commits

Author SHA1 Message Date
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
normmatt234 af1c040eb5 Fix read below 8000h to support wrapping. 2011-07-07 04:19:26 +00:00
riccardom 7c7fa25c0a Rename ALIGN macro do DS_ALIGN
Anthony J. Bentley reports that desmume does not compile
on OpenBSD when the hud is enabled in bug #3148356.

After a few he reports that Stuart Henderson of OpenBSD
found the problem. The macro definition of ALIGN() conflicts
with a definition in /usr/include/machine/param.h.

So rename ALIGN macro to DS_ALIGN.
2011-07-05 07:33:10 +00:00
zeromus 55c8021624 win32: add korean language resources 2011-07-05 07:27:24 +00:00
zeromus bbddf0bc24 pseudorandomize LCD/PAL/ITCM/DTCM/MAINMEM for homebrew (previously just pal and LCD was pseuodorandomized) 2011-07-03 03:02:27 +00:00
mtabachenko b050640b95 - fix Windows port compiling (added include windows.h for MAX_PATH declaration) 2011-06-28 12:50:10 +00:00
zeromus 60c3c1a91a debug print how many rasterizer cores got booted up 2011-06-28 03:11:25 +00:00
riccardom 0c7d5d796d Fix buffer overflow when creating firmware.dfc file string
When the user uses an external firmware image, there is a 
call to getpathnoext() in firmware.cpp:571 in order to
generate a file name for the saved firmware config file.

The size of the MMU.fw.userfile char buffer is only 260,
as declared in mc.h:73. However, getpathnoext() expects
the buffer size to be MAX_PATH, which is declared as 1024
in types.h:77. The buffer overflow occurs in path.h:293
with the call to strncpy(), which copies 1024 chars into
MMU.fw.userfile, which is only 260 chars.

This patch fixes this bug by setting the MMU.fw.userfile
char buffer to a size of MAX_PATH. This is consistent with
the char buffers used for the other file names.

From rogerman, #3328686
2011-06-25 21:50:00 +00:00
normmatt234 3e29b63554 Fix magic numbers in FIFO code
Add a hack for preGCROMCTRL writes.
2011-06-22 15:41:50 +00:00
riccardom 738c80d67a metaspu: support the PCSX-2 Synchronizer in the Cocoa port
From rogerman, #3320757
2011-06-20 15:01:55 +00:00
wntrmute f165ec8b9f add ifdef to WIFI_Reset 2011-06-18 03:02:46 +00:00
zeromus da92d102f4 add a printf to elaborate cause of "SYSTEM POWERED OFF VIA ARM7 SPI POWER DEVICE" for homebrewers (main() returned) 2011-06-17 05:17:55 +00:00
luigi__ d1e5efcda9 wifi: make WIFI_RXPutWord() always defined. 2011-06-16 17:14:29 +00:00
zeromus fcce252f50 fix wifi.cpp compiling 2011-06-16 16:42:05 +00:00
luigi__ d383d0f5aa Wifi: proper queuing of received packets, emulate TX/RX delays, and misc extra accuracy. Also removed a bunch of redundant code.
NSMB gets one step further. When Luigi receives Mario's data frames, he tries to use port 094 (REPLY1) to respond, but only writes zero there for whatever reason.
2011-06-16 15:36:08 +00:00