Commit Graph

2725 Commits

Author SHA1 Message Date
zeromus 7789ebb3f1 oops 2009-06-23 04:45:47 +00:00
zeromus 263617e84b add some persons's osx chinese translation 2009-06-23 04:24:55 +00:00
zeromus 6b9f3f6b5b osx: apply save type selection patch 2009-06-23 04:14:17 +00:00
zeromus dd704aa865 win32: add background pause 2009-06-23 03:56:38 +00:00
zeromus 197392788a win32: fix bug in rc and add 2.5x window size 2009-06-22 20:50:24 +00:00
zeromus d8cb1ea638 rasterize: fix depth buffering again. 2009-06-22 18:05:47 +00:00
riccardom e9ebd7df18 Fix compilation with EXPERIMENTAL_GBASLOT defined. 2009-06-22 07:53:38 +00:00
zeromus af53b8e106 gpu: add experimental handling for a case of translucent bmp obj blending 2009-06-22 06:09:37 +00:00
zeromus 41a953f4a6 rasterize: fix highlight rendering 2009-06-21 19:26:13 +00:00
matusz 15b2a7cbc1 gtk-port WIP: building cheat searching dialog 2009-06-21 17:26:27 +00:00
riccardom 643d8f460c Shut up a couple of signed vs unsigned gcc warnings. 2009-06-21 09:14:10 +00:00
zeromus 83d9d24747 rasterize: remove a recent depth buffering regression in advance wars tile rendering 2009-06-21 06:26:09 +00:00
p989 642cbae742 store ext bios / swi settings 2009-06-20 21:47:58 +00:00
zeromus 4489fcd31f win32: fix svn version reporting in some cases 2009-06-20 21:29:04 +00:00
zeromus 0340f67a5f rasterize: fix toon shading when no texture is set (mario kart star powerup) 2009-06-20 19:27:22 +00:00
zeromus 6550d01a86 shut up gcc 2009-06-20 17:58:12 +00:00
zeromus a410b2f610 win32: fix warning in rc 2009-06-20 17:50:13 +00:00
matusz 7dc2c12bc8 include added parameters in save_movie 2009-06-20 17:49:59 +00:00
zeromus ec3a46782a rasterize: fix battles of prince of persia display failure regression 2009-06-20 17:45:39 +00:00
luigi__ 869ecc2788 Fixed PSG sound which would sometimes not play (regression).
By the way, SPU.cpp should be cleaned up. Some parts are messy and it takes hours to get compiled.
2009-06-20 13:55:56 +00:00
luigi__ c46ab0ca31 uh? need to commit again? 2009-06-20 13:18:50 +00:00
luigi__ f192604d10 Changed intermediate directory to '.VS2010'. 2009-06-20 13:15:07 +00:00
riccardom 35b67fb337 Add a toogle to disable / enable fps limiter while playing. The purpose of this is to fast
forward attack animations from. We don't have patience :) 

This patch is a modified version of the one from szigor from bug #2806869. Please note i've
used the already available boost key (SDLK_o) instead of the tab.
2009-06-20 10:02:37 +00:00
zeromus 1dcbe7b83a oops, left a hack uncommented 2009-06-20 08:02:54 +00:00
zeromus 959207cbeb rasterize: add clear image emulation 2009-06-20 07:57:52 +00:00
p989 c64e50151e starting a movie from sram 2009-06-20 06:28:23 +00:00
zeromus 6cc044c496 win32: add chinese translation 2009-06-20 03:56:12 +00:00
riccardom 1f0cadcfe8 Add enable-wifi switch and proper check for pcap 2009-06-19 22:42:41 +00:00
riccardom e89c997958 Fixup declaration vs initialization order warning. 2009-06-19 22:24:13 +00:00
yabause 792d1ba728 Added some files to distribution. 2009-06-19 21:11:18 +00:00
zeromus 3f80c39f33 win32: fjx types.h and add version.h to vcproj files 2009-06-18 20:14:58 +00:00
riccardom fa2afc6386 Fixup compilation and remove duplicate stuff rom types.h 2009-06-18 20:10:56 +00:00
riccardom b9f520a85a Allow compilation of linux cli without glib since it does not need it. Probably there is a cleaner
way but since desmume still compiles fine with glib it is not regressing. Guillame take a look at
this and remember we should take a serious look at configure.ac ;).
2009-06-18 19:50:51 +00:00
riccardom 6d66840326 define SVN_REV_STR as SVN_REV if is set. 2009-06-18 19:33:51 +00:00
riccardom bd0f5f9eb2 Define SVN_REV filled with latest svn revision. Code kindly taken from geany project. 2009-06-18 19:21:28 +00:00
luigi__ 05b10e8faa Added a project file for VS2010.
Note: this project is a converted version of the VS2008 project because I'm too lazy to replicate all the settings of the VS2008 project in a new VS2010 one. Please check that it works. I may have omitted important files :P
2009-06-18 16:27:51 +00:00
zeromus 8477368c41 add wificycle to savestate (probably an unimportant bug)
add write_enable=FALSE to backupdevice init (possibly an important bug)
2009-06-18 15:25:41 +00:00
zeromus 33e735a926 hoepfully fix atma's build error 2009-06-18 15:07:13 +00:00
matusz 8028559d84 s/#include "disassembler.h"/#include "Disassembler.h"/
(case sensitive filesystem here and it is capitalized everywhere else)
2009-06-18 10:50:50 +00:00
gocha fbf63505cf AutoHold for L and R 2009-06-18 08:43:58 +00:00
zeromus a55e58a804 update makefile with version.h 2009-06-18 06:51:06 +00:00
zeromus a2897ac198 core: move all desmume version #defines to version.h so that less stuff depends on it;
win32: add svn revision detection and print it in console and title etc.
2009-06-18 05:25:20 +00:00
zeromus caf0952774 win32: fix a ~1month old bug which made memview not able to see dtcm; fix a rerecording desynch bug involving the framecounter being wrong, which causes rtc reads during movies to yield the wrong value at the wrong time 2009-06-18 00:21:46 +00:00
yabause f7e9eb8598 Added some missing file to distribution. 2009-06-17 22:02:06 +00:00
zeromus ada3cc8c59 add a common commandline option --start-paused for when a rom is specified on commandline (but you dont want it to start immediately) 2009-06-17 21:52:40 +00:00
zeromus 258f1fb2c3 move the possibly useless backup memory flushing code to core to make sure that everyone gets it. 2009-06-17 20:30:28 +00:00
zeromus c248dd4f1d ok 2009-06-17 20:22:53 +00:00
riccardom f60a8de07d Make wifi compiles for !WIN32, now the only missing bits are configure check for libpcap and runtime testing :).
It is possible that i've made a typo or similar mistake in the wrappers, i'm sorry for that but should be easy to spot and fix.
2009-06-17 20:21:20 +00:00
riccardom b481b8d5d9 Fix warnings and add libpcap include for !WIN32, need more fixes to compile. 2009-06-17 18:59:43 +00:00
zeromus dfcbea4161 win32: fix bugs which made compling without EXPERIMENTAL_WIFI fail 2009-06-17 18:55:03 +00:00
matusz 8d4a505f72 gtk-port: unhide cheat menu items
limit cheat size option to 1-4
2009-06-17 18:04:10 +00:00
riccardom 7ca7824ebf Hook fake mic in cli frontend: use m to toggle. 2009-06-17 17:23:52 +00:00
riccardom a2b08efbd7 Random cleanup: fix whitespace in config check, remove commented debug code. Cleanup a bit initGL. 2009-06-17 17:19:06 +00:00
zeromus 2a86619492 ditto 2009-06-17 05:07:52 +00:00
zeromus ff8be953a9 update dsm spec 2009-06-17 01:23:43 +00:00
p989 e2206215bf parenthesis 2009-06-16 19:44:46 +00:00
zeromus 0579983459 adding these files seems to help vc++ express build. i think it doesnt break full vs because their builtin versions have higher priority? 2009-06-16 19:43:19 +00:00
p989 eb05c12759 preliminary lid recording 2009-06-16 19:39:21 +00:00
zeromus e91c8f89c1 resource.h instead of resource1.h 2009-06-16 19:38:22 +00:00
zeromus 8a020c11ba try fixing rc to work in 2010 and 2005 2009-06-16 18:58:58 +00:00
p989 5688e953ca ported previous 2009-06-16 18:43:36 +00:00
mtabachenko 08628592cf - sse2 optimizations (speed test http://www.turboupload.com/uzmjnuzfbvf1/test_matrix_SSE2_09-06-16.ZIP) 2009-06-16 18:01:56 +00:00
luigi__ b7f41c4ff1 Remove including of targetver.h. 2009-06-16 17:36:43 +00:00
luigi__ f02500bf67 Fixed the first (and hoefully, the last) problem. 2009-06-16 17:25:14 +00:00
zeromus 827322a013 try fixing resources for vs2005 2009-06-16 17:19:05 +00:00
luigi__ 1382b51492 Saved resources from VS2010 resource editor. Please check that nothing was broken.
If everything went fine, then WE DON'T NEED RESEDIT ANYMORE!!! EVERYTHING IS LIKE BEFORE!!! EVERYBODY CAN NOW EDIT DIALOGS!!!
2009-06-16 17:06:33 +00:00
zeromus 5b83d55092 integrate from release branch 2009-06-16 05:50:48 +00:00
gecko_reverse ae6f134406 compile fix for cocoa port 2009-06-15 10:54:27 +00:00
mtabachenko 3ed0604e12 winport:
- fixed search after load savestate and reset game;
- fixed grayed 'OK' button in GBAslot dialog;
2009-06-14 16:44:00 +00:00
matusz 728db76bde gtk-port: cheat-window size-column bug-fix 2009-06-14 01:53:55 +00:00
matusz 4175f299d3 remove a stray variable 2009-06-14 01:31:53 +00:00
riccardom 9000a56039 Add recent cli improvements. 2009-06-13 15:36:09 +00:00
riccardom 8aa6cce8cb Hide cheat system directly in the gui. 2009-06-13 15:27:00 +00:00
matusz a8bed32619 gtk-port: fix a few bugs in cheat window
keeping cheats disabled (until release)
2009-06-13 14:14:43 +00:00
matusz 99e1e3b5d5 defer cheating in gtk until after release 2009-06-13 10:13:35 +00:00
riccardom 808c6f8d3d Fix up annoying warning about declaration vs initialization order. 2009-06-13 09:50:37 +00:00
riccardom d6532cfbe2 No need for extern here. 2009-06-13 08:23:57 +00:00
riccardom d6e495da98 Don't need 100 chars for win title, while at it use snprintf instead of sprintf. 2009-06-13 08:05:34 +00:00
matusz e2e74e9b3e gtk-port: Hook up cheating engine
cheat searching not hooked yet
2009-06-13 08:05:10 +00:00
riccardom 1019c9bb46 Exit when pressing escape, patch by szigor from #2801291. 2009-06-12 20:15:20 +00:00
riccardom 748c4c810b Add auto pause option to cli frontend by szigor from #2801291. 2009-06-12 20:12:08 +00:00
riccardom 9ac2a2a48f Commit a modified version of szigor cli input refactoring patch from #2801291.
The change from the original are mainly moving the input update to an helper
 and calling it in the frameskip loop like it is done on other frontends.
2009-06-12 19:40:30 +00:00
riccardom 27e9db8c6b Add frameskip for cli frontend, patch by szigor from #280129. The FIXME could be easily resolvable so we should fix it shortly :) 2009-06-12 08:03:51 +00:00
riccardom 1de4517874 Fixup whitespace. 2009-06-12 07:25:50 +00:00
riccardom 63a893a277 atoi needs stdlib.h 2009-06-12 07:16:11 +00:00
zeromus b18e0dcb15 gtk: fix movieplaying and add minimal play/record/stop menu support 2009-06-12 07:11:40 +00:00
mtabachenko 45f129f229 - fix bug in init & reset OpenGL engine; 2009-06-11 20:25:27 +00:00
zeromus 0ef0afed15 try a little hack to fix tomb raider underworld savefile which was writing past its 512B limit 2009-06-11 04:33:11 +00:00
p989 1c1dd8bb30 win32: reset mic button buffer pos if not pressed 2009-06-11 04:14:42 +00:00
zeromus 947356fbe1 clean up rom info collection and mix it up with the movie system 2009-06-11 03:40:56 +00:00
zeromus 5e3e6f8676 win32: work around unknown glitch with stdio attachment in visual studio command prompt 2009-06-10 20:59:57 +00:00
zeromus 7d69942bbb gdb stub fixups 2009-06-10 20:30:15 +00:00
zeromus 71eac340d5 work on changelog 2009-06-10 06:49:51 +00:00
zeromus d5dc1f45b1 spu: handle word writes to length register; fixes freeze during maxmod reverb (reverb still isnt supported, though) 2009-06-10 02:04:30 +00:00
zeromus 3cf5ec430a fix a certain pattern of ipc register writes which was breaking devkitpro touch input 2009-06-09 23:14:26 +00:00
zeromus 53aaa6850f set up a system to handle detection of bogus roms by header instead of by extension. fix poly sorting which was broken when changed to a stable sort (will make some invisible gui elements reappear) 2009-06-09 21:15:00 +00:00
zeromus 1828745e5d win32: add commandline handling for play-movie, record-movie, and load-slot 2009-06-09 05:21:58 +00:00
zeromus 28164e5bb2 fix screenshot bugs with rotation and accidentally including hud. rotation is fixed by writing screenshot unrotated since rotation is handled by platform code now and screenshotting is in the core. 2009-06-09 03:50:58 +00:00
zeromus 333a10a655 win32: add ability to disable each gpu, for speedup by halting render of useless screens 2009-06-09 03:35:37 +00:00
zeromus 7dbe16b4c4 only display X when input display is on 2009-06-09 03:06:15 +00:00
p989 952440b17d adjusted mic command number 2009-06-08 22:53:58 +00:00
p989 1b24d34ad2 removed main.h 2009-06-06 15:22:10 +00:00
p989 8ff221a8fa moved ShowInputDisplay 2009-06-06 15:08:13 +00:00
riccardom d38623350f Use tabs for whitespace consistently in MMU_struct. 2009-06-06 13:22:58 +00:00
riccardom 817e6af268 One should be enough :) 2009-06-06 12:41:20 +00:00
riccardom f9caa9490a stricmp is not available on !WIN32, use strcasecmp that is not available on WIN32 but it's already defined as _stricmp in types.h. 2009-06-06 12:33:51 +00:00
gocha d8d593d048 stylus display from rr-branch + minor change 2009-06-06 05:54:25 +00:00
p989 7d7a6c4bfa hotkey config doesn't center 2009-06-06 05:50:06 +00:00
zeromus 38fca0bb3c fix loading of zipfiles 2009-06-06 05:22:00 +00:00
gocha 77a8d25a13 win32: the updown control in ram watch now works well 2009-06-06 05:13:29 +00:00
luigi__ a208def471 For immediate LDR, if we're loading from [PC + 0xXXX], print final offset instead of [PC + 0xXXX]. 2009-06-05 21:09:35 +00:00
luigi__ 72f363a4fb Fixed crash when loading files that aren't ROMs (for example when accidentally dragging some file on DeSmuME's window). 2009-06-05 12:11:09 +00:00
luigi__ 343c013385 Fix two bugs with emulation settings dialog. 2009-06-05 11:52:03 +00:00
luigi__ b95d041976 Oops... the prevoius attempt was fucking horrible. This should be better. 2009-06-04 21:34:25 +00:00
luigi__ 7cb5d48907 Re-add writing to firmware because I need it for testing wifi stuff. 2009-06-04 21:27:31 +00:00
gocha 20c2734317 win32: changed avi framerate very slightly because it seems to have less audio desync. (old one wasn't so bad, anyway...) 2009-06-04 15:06:36 +00:00
riccardom b3a1dde141 Fixup linux build. 2009-06-03 19:10:13 +00:00
zeromus 3499207db6 fix crash in cheat search involving loading state in the middle of a search session 2009-06-03 15:32:51 +00:00
normmatt234 cd5560b966 Fix some broken stuff. 2009-06-03 05:24:23 +00:00
luigi__ ad8fe45f83 Hack a bit the power-on stuff. Fixes some problems with Nintendo WFC config util. 2009-06-02 20:28:38 +00:00
p989 d5aef7da1d preliminary mic recording 2009-06-02 20:22:58 +00:00
riccardom f4fb58d0ff Define empty macros as {} to avoid problem with empty macros inside if statements. 2009-06-02 19:11:09 +00:00
riccardom 327dc2c2b9 Remove unused parameters from NDS_LoadROM(). 2009-06-02 18:52:54 +00:00
zeromus fb6bf65dfd wifi: a timing tweak that may help luigi 2009-06-02 17:42:36 +00:00
luigi__ 7f483fcab4 Cleanup in wifi core:
- removed socket shit (which is anyway not suited to our needs)
- Added a logging system configured by a logging level
- Some other stuff...
2009-06-02 17:10:39 +00:00
zeromus 43b31e3f0c fix (new?) wifi crash 2009-06-02 04:32:21 +00:00
luigi__ 19fa692af8 Clean up packet managing in SoftAP. 2009-06-01 21:52:50 +00:00
luigi__ c2f70995b4 Oops... forgot to undo a hack I had added.
Also added comments about the packet length field in RX header.
2009-06-01 21:33:27 +00:00
luigi__ 5e51f9f1b4 After some fixes into SoftAP I managed to get the Nintendo WFC config util to see SoftAP. But unfortunately the connection test that follows will never end. Another problem to solve.
But first I should clean up the wifi core and add a logging system that I can disable without having to commenting everything :P
2009-06-01 21:12:19 +00:00
luigi__ 37fdc95e87 Wifi writes are written to MMU.MMU_MEM, so I can see wifi memory in the mem viewer. 2009-06-01 20:34:26 +00:00
zeromus 84f01716a1 fix linux builds 2009-06-01 15:10:36 +00:00
zeromus 40d5c4a485 more work on the sav system. see forum for details 2009-06-01 08:40:46 +00:00
zeromus 1ce2cb86f5 fix bugs in wifi no-winpcap handling. make vs2008 debug build able to load savestates. add some notes for luigi with "luigi:" 2009-05-31 23:53:38 +00:00
gocha 9c2369fac6 OOPS, sorry guys 2009-05-31 13:57:00 +00:00
gocha f1aa73d511 59.8261 or 33513982/(6*355*263)? I'm not sure which has less audio-desync, anyway I commented out the alternative framerate for now. (no behavior changes) 2009-05-31 06:45:45 +00:00
zeromus 3ae63b6a0a gpu: fix some probably inaccurate math in 3d blending against 3d. the effects of this are subtle, but see if you think it helps any 2009-05-30 23:25:14 +00:00
zeromus 814078f2ae gpu: blend 3d with whats beneath it in more cases. not entirely sure about the correctness of this, so keep eyes peeled for regressions in 3d/2d compositing 2009-05-30 22:17:05 +00:00
mtabachenko a5ea4e0cc8 - fix bug #2798680 (load & save message display interfere with gameplay) 2009-05-30 20:06:44 +00:00
zeromus 92ded778aa print rom crc32 when loading 2009-05-30 19:00:47 +00:00
zeromus d55b3836ee win32: fix icproj 2009-05-29 09:39:31 +00:00
zeromus 26302fda39 win32: odds and ends to get things compiling in all cases 2009-05-29 08:39:36 +00:00
zeromus f3a0332bc3 i wish i couldve done it right the first time 2009-05-29 08:27:03 +00:00
zeromus 2d622d98e0 core: add a preliminary core commandline parser component. please note that temporarily linux cli may depend on gtk--we should change it to a bare glibc dependency.
win32: add glib. this is a rather behemoth checkin, but I think it will be worth it, as it is a necessary step for unification of some of the linux and windows parts.
2009-05-29 08:26:18 +00:00
zeromus 7b4804b878 win32: attach to existing console (from commandprompt) if it exists instead of always creating a new one. still needs a bit more work 2009-05-29 08:13:06 +00:00
zeromus 29ac31a5a4 win32: redirect stderr to console in addition to stdout 2009-05-29 06:15:29 +00:00
gocha d8d3cd7dc0 GPU_OSD.h -> GPU_osd.h 2009-05-28 22:09:28 +00:00
riccardom 5c7d20450f Revert sputrunc to u32 and change the struct field to u32 too. 2009-05-28 18:20:07 +00:00
riccardom f33e81f7c3 We compare the result of sputrunc alwyas with s32 type so just return it. Well, the real reason is that i'm so tired of that 50 lines warning. 2009-05-28 18:10:50 +00:00
riccardom beecc55eb0 Putting 5000 (OSD_TIMER_SIZE) in a u8 is no fun. 2009-05-28 17:51:09 +00:00
riccardom fa588a6abb Need header for strlen(). 2009-05-28 17:42:37 +00:00
riccardom d19917f31b case sensitive ftw! ;) 2009-05-28 17:42:07 +00:00
mtabachenko cc12f72058 win32:
- fix resources (not visible scrollbars). please, guys, check for expressions `NOT WS_VISIBLE | NOT WS_VISIBLE` before commit recource.rc to svn, replace to `WS_VISIBLE`
2009-05-28 17:23:10 +00:00
mtabachenko 7d670af6da core:
- many changes & fixes in OSD;
winport:
- fixed HUD editor for scaled window size;
2009-05-28 14:02:56 +00:00
gocha e910b610dc win32 - "Stop WAV" menu item title fix 2009-05-27 21:44:16 +00:00
gocha 7c2cb8223f win32 - audio segment in avi is stored on every 1s now (to prevent the tons of audio segments problem) 2009-05-27 15:40:27 +00:00
zeromus 81db33cb4a OOPS 2009-05-27 15:12:49 +00:00
zeromus df666957da assorted housekeeping: gocha's spu streaming patch for all platforms, driver system, copyrights, credits, wav writer in, sndfile spu core out (wav writer is better, it will need to be added to ports) 2009-05-27 06:46:58 +00:00
adelikat e81787b703 Win32 - very tiny menu fix 2009-05-26 16:04:38 +00:00
adelikat 34a92d859f win32 - record movie dialog - minor code cleanup 2009-05-26 15:20:57 +00:00
adelikat aa8baf0686 win32 - record movie dialog - OK button doesn't work until user specifies a filename 2009-05-26 15:16:42 +00:00
adelikat 7253fe7775 win32 - record movie dialog - if user doesn't not specify a file extension add .dsm for them 2009-05-26 15:13:51 +00:00
gocha aa2b5b75c8 win32 - now memView can update its contents on every frame, the code is still poor after all 2009-05-26 11:11:04 +00:00
gocha 05563cf9c7 win32 - add soundView 2009-05-26 02:52:07 +00:00
riccardom 0de92a1a4d Correct fprintf usage. 2009-05-25 21:14:15 +00:00
riccardom 85153d0f31 Cleanup EmuLoop a bit: use an array instead of heap for the fps string and save a
variable by moving zeroing of one with the very same value after we need it.
2009-05-25 19:46:29 +00:00
mtabachenko 2d288f338f - some cleanups GXFIFO; 2009-05-25 16:40:48 +00:00
normmatt234 d963afde7f Fix some things in the disassembler. 2009-05-24 09:04:58 +00:00
riccardom 2fd1266680 Adapt gtk-glade to new frameskip api, the behaviour looks a bit saner that the gtk one :| 2009-05-24 08:49:08 +00:00
riccardom eb0bc23d6e Adapt to new frameskip api, there's something strange here, at frameskip 1 i have 30 more fps and the poor frameskip limiter does not kick in. 2009-05-24 08:46:12 +00:00
zeromus 5211cea5b8 win32: add wx stub. with this, we could launch a wx dialog from win32 driver. this is not an endorsement of wx or even the philosophy of cross platform ui but rather a favor to those lunatics that mumble about cross platform stuff, so that they can drop wx dialogs into the emu core and launch them from windows without having to rewrite the entire windows port to use wx. 2009-05-24 07:26:15 +00:00
adelikat 2ae4e618e5 Win32 - disabled savestate, loadstate, and setsaveslot hotkeys when no rom is loaded. 2009-05-23 19:51:51 +00:00
luigi__ 016a543ef3 I finally figured out why 2D and 3D get desynced when skipping 3D frames.
Thus, I fixed the frameskip system so it'll also skip 3D frames. 2D and 3D stay synchronized, and frameskip is now much faster when using the soft rasterizer, for example.
2009-05-23 19:30:29 +00:00
riccardom 307fdf527f We really want to know when the savetype discovery fails so it's easier for people to report. 2009-05-21 18:28:26 +00:00
zeromus 6a743748e4 gpu: take out that assert. it has done its job and proven that we can't make that assumption 2009-05-21 17:44:59 +00:00
riccardom ec89bf7ca1 Autosave for scooby-doo! Unmasked. 2009-05-21 16:19:25 +00:00
zeromus 6323e05bd6 gpu: ensure the thing that the assert catches, just for release builds so that people wont find subtle errors. we really need better error and info reporting facilities. 2009-05-21 14:59:19 +00:00
zeromus 698cfe1f93 gpu: reorder the layer rendering, capture, and final display, to be a little less confusing, and it should get rid of a frame of latency on motion blurs 2009-05-21 08:55:37 +00:00
zeromus 4bbb85bb83 gfx3d: sorry, the poly sorting callback must be this way. there must be something else going wrong where this breaks 2009-05-21 08:45:34 +00:00
zeromus 620618d22b gpu: display capture: fix bug blending vram + 2d/3d causing 2d elements to be black 2009-05-21 07:17:11 +00:00
zeromus 41aa900bb7 spu: fix bug with badly messed up sequenced music 2009-05-21 06:04:46 +00:00
zeromus 57dbe9128d win32: fiddle with the mic input, moving it towards more reliability 2009-05-21 05:44:55 +00:00
zeromus 250bcd5b18 win32: fix bug in mic reading which makes it return unpredictable garbage 100% of the time 2009-05-21 05:04:11 +00:00
zeromus 39e13e6612 win32: set correct fastbuild output path for vs2008 2009-05-21 02:20:54 +00:00
zeromus eb960e1e39 add another autodetection. still &3 2009-05-20 21:41:36 +00:00
zeromus 8cf301fd25 add another autodetection (still &3) 2009-05-20 20:17:04 +00:00
mtabachenko ca9f2fec36 core:
- fix poly sort (zeromus, check it), now fix Harvest Moon, Orc & Elves, but some game broken (from rev 2230 - Lunar Knight, Orc & Elves no sprites);
2009-05-20 08:34:12 +00:00
zeromus 1c886d15b1 we now have proof that a stable sort is necessary for poly sorting. this fixes advance wars regression 2009-05-20 06:17:30 +00:00
zeromus 47e27cffa5 re-add duc importing for new savefile system 2009-05-20 06:05:39 +00:00
zeromus c6c2ec7137 win32: dont reset spu from sound config dialog unless the core changes 2009-05-20 04:46:23 +00:00
zeromus e9537e2468 this might fix the periodic crash with a null polylist 2009-05-20 04:31:18 +00:00
zeromus ce9523d39c add another autodetection 2009-05-20 03:23:16 +00:00
riccardom 0ef9b64379 Move variables in the same order they are inited. 2009-05-19 20:08:38 +00:00
riccardom 3edf67ae85 put some unused / commented code into ifdef to shut up gcc warnings. 2009-05-19 20:07:47 +00:00
riccardom 4e41817906 Declare variables in the same order they are inited to shut up gcc warnings. 2009-05-19 20:00:23 +00:00
zeromus 29cc1443ac add another autodetect case. still conforming to the &3 pattern... 2009-05-19 17:21:55 +00:00
zeromus 1e55bc3832 add another autodetect case 2009-05-19 16:34:12 +00:00
zeromus 133b9866b6 gfx3d: make 'alternate flush mode' emulation option. this option toggles between two methods, neither of which is entirely accurate such that under one of the modes, certain games are unplayable. if a game is fixed by alternate flush mode, please report it in the bug tracker under that category for data collecting purposes. also hooked up this option in windows. 2009-05-19 03:26:15 +00:00
normmatt234 522ef7db4d add another autodetectoin 2009-05-18 20:36:21 +00:00
zeromus cbf3d47bcb add another autodetectoin 2009-05-18 20:31:11 +00:00
riccardom 3ccc9ae7dd Shut up a few gcc warnings in GPU.cpp. 2009-05-18 19:18:52 +00:00
yabause 47b2f84711 Added some #if and some workaround so we only need
gtk 2.8 now.
2009-05-18 18:57:48 +00:00
zeromus 679669e1d0 add another autodetection 2009-05-18 17:28:34 +00:00
zeromus e461cc9ce5 add another autodetection 2009-05-18 17:15:22 +00:00
zeromus 3c3b9a4a23 add another autodetection 2009-05-18 17:01:00 +00:00
mtabachenko af0c060a7a - fix windows resource; 2009-05-18 07:35:26 +00:00
normmatt234 a5218faeba Implement a few of the new card commands used in Made in Ore. It wont save but at least it boots now. This is just a temporary fix until something better can be worked out. 2009-05-18 07:24:47 +00:00
zeromus 1d13bcb323 fix shared 2-bank shared wram mapping; add Release FastBuild to 2008 vcproj 2009-05-18 06:49:51 +00:00
zeromus 4fb93568de win32: fix vs2008 project to support zipped roms in debug builds 2009-05-18 06:32:05 +00:00
zeromus 2d9968e2eb fix bad new crashiness 2009-05-18 05:48:43 +00:00
zeromus 0baa5914a5 gfx3d: fix stack corruption in normal command 2009-05-18 05:36:50 +00:00
zeromus ca1ad0bfba win32: fix buffer overflow in savestate description generation 2009-05-18 05:34:51 +00:00
zeromus 5e78d6a888 savedata: handle warioware touched (still gathering test cases, keep them coming)
win32: fix vs2005 fastbuild output directory
2009-05-18 05:07:38 +00:00
zeromus fec0ae896e fix linux compile? 2009-05-18 04:37:03 +00:00
zeromus ca540cb6b6 new save file system. the manual save type selection no longer does anything. If you think you still need it, we need to study the case and find out why. 2009-05-18 04:25:19 +00:00
gocha 89df112dd8 win32 - added wav recording 2009-05-18 00:15:48 +00:00
gocha 503108cfa1 Merged "Stop AVI" to "Record AVI" 2009-05-17 22:58:35 +00:00
riccardom 3e53a28f3c Fix b shadowing warning. 2009-05-17 19:11:28 +00:00
zeromus e347ab6c90 fix up linux compiling 2009-05-17 18:53:14 +00:00
zeromus 13fb9e8a2f fix [2792967] Emulator crash when opening homebrew 4k intro 2009-05-17 17:05:29 +00:00
adelikat 761f9232b2 movies - add romname to movie when movie is created. Win32 - Replay dialog - added some fields such as length, frames, etc. Fields are not yet hooked up however. 2009-05-17 14:58:00 +00:00
gocha 5e2b6b5582 prevent a crash reported by Robert 2009-05-17 07:30:39 +00:00
normmatt234 caf05e22ea Fix windows disassembler goto addressing.
Clear SPI variables on reset.
2009-05-17 05:58:08 +00:00
zeromus d807f08fcc add gochas rerecording fixes 2009-05-17 04:58:24 +00:00
zeromus 86093ba19f i really should quit checking in debug printfs 2009-05-17 01:26:51 +00:00
luigi__ 58ea43bf2e Oops... don't know why IDC_SPU_INTERPOLATE_CB was removed... 2009-05-17 01:08:25 +00:00
matusz 058b218e59 change 2 debug printf's to LOG's (should add SPUDEBUG logging channel?) 2009-05-17 01:02:17 +00:00
luigi__ ef590739da Oh shit... tiny fix to the I/O reg dialog. 2009-05-17 00:59:59 +00:00
zeromus de794ec6e8 core: make adpcm cache optional (defaulted to off) temporarily until it can handle streams well. i have a plan for that but i am burnt out on it for now. bind that option into win32 gui 2009-05-17 00:21:41 +00:00
luigi__ 52e26afa32 Commit the remaining I/O reg viewer tab templates once for good. 2009-05-16 23:46:08 +00:00
matusz 6acc3e0d65 gtk port: janitorial stuff
some changes to make the code meaning more obvious:
split, move and rename of a few functions
add empty (for now) configure event
2009-05-16 23:18:40 +00:00
zeromus 6365f26d7d spu: interpolation is now an emulator option, defaulting to linear, and it is bound to the win32 gui. choosing interpolation:none can net you a small framerate boost. 2009-05-16 22:22:06 +00:00
matusz 1a6079ce4d cli port: silence a 'shadow' warning 2009-05-16 18:39:06 +00:00
riccardom 6a3591bb84 nds_screen_rotation_angle is really an int. 2009-05-16 18:14:37 +00:00
matusz 95c441ea0c one correct and one bogus warning silenced 2009-05-16 18:08:57 +00:00
riccardom cf04a5e589 Shut up a few gcc warnings, mostly signed vs unsigned. 2009-05-16 17:56:11 +00:00
matusz 53ec75c9b0 gtk port: allow interscreen gap 2009-05-16 17:48:25 +00:00
zeromus 4c1061b84b fix spu in non-windows builds. 2009-05-16 16:32:35 +00:00
zeromus 7904345439 didnt mean to checkin debug printfs 2009-05-16 07:08:48 +00:00
zeromus 67117c1280 spu: sorry about the float/double thing. how about this instead: added an adpcm decode cache system. 2009-05-16 06:59:12 +00:00
luigi__ ea8ecd9dc2 Reverted the types of the sample counters to double. Using floats was causing wrong frequencies sometimes. 2009-05-15 21:56:13 +00:00
adelikat f1a573079a Win32 - applied patch from Hicoder ID: 2780499, Menu option for window always on top. 2009-05-15 15:40:09 +00:00
adelikat 7fe0f62617 Win32 - Recent ROM menu - if a recent rom doesn't exist it will now prompt the user if he wants to remove the item. 2009-05-15 15:13:17 +00:00
adelikat 4fa564f062 Stop movie hotkey hooked up, Play & Record movie hooked up but commented out because of a bug that causes the dialogs to open twice. 2009-05-15 13:10:33 +00:00
mtabachenko 229055cb0e winport:
-fix Intel C++ project; :)
2009-05-14 17:51:03 +00:00
matusz 305eb40c1e just a bunch of propsets for svn:eol-style=native 2009-05-14 10:08:18 +00:00
matusz ffb5de877d SPU: gcc does not like a goto, changing it to a block 2009-05-14 09:54:14 +00:00
zeromus e5f35a5f3e a few minor speedups to spu. the doubles have been changed to float. i think this should be safe... 2009-05-14 08:08:27 +00:00
zeromus 7bea1697c3 revert geometry flush timing to an older form. can't remember what this was supposed to fix. it was supposed to be more accurate, but it turns out to be way more complicated than I thought. the form i am checking in now should be an effective approximation. This will fix some games whose 3d was entirely broken (and even crashing the emulator). But I am more interested in what regressions it will cause, which may involve broken dual screen 3d modes or other bugs with things flickering in and out of existence. these I will track in detail while I try to understand the problem. 2009-05-13 21:44:47 +00:00
riccardom 9fbac3e7bc I think is more natural for a gtkToggleActionEntry to query the GtkToggleAction to be active instead of checking if the widget is already visible or not. 2009-05-13 20:01:35 +00:00
adelikat 7cd0426a37 Win32 - Added Play Movie, Record Movie, and Stop Movie hotkeys, they are not yet functional though 2009-05-13 17:33:08 +00:00
adelikat ace96ce5e0 Win32 - Hotkeys - Added a Movie page, moved read only toggle to that page 2009-05-13 16:38:04 +00:00
zeromus 29297644ac a number of little graphical speedups, and more intelligent arm7 memory access pattern optimization. good for a few fps. 2009-05-13 07:44:06 +00:00
zeromus 3844e866e0 gpu: fix regression introduced yesterday which messed up layer blending 2009-05-13 05:35:31 +00:00
riccardom 5c5be96f52 Remember to load default config for keys and joypad so no need
to mess ourself setting them if we don't find the group in the
config file.
2009-05-12 19:39:23 +00:00
riccardom 10ebeb093f Add missing file, thanks Guillame for noticing. 2009-05-12 19:26:34 +00:00
riccardom 2b574440ab Rework the way config file works in gtk frontend. From a write once on exit
we are moving to write only what changed when is changed model which i think
is more correct.
2009-05-12 19:05:56 +00:00
adelikat d33cfa55a5 Win32 - RamWatch - hooked up accel table 2009-05-12 16:35:22 +00:00
adelikat 3bc7efc516 Win32 - Code cleanup 2009-05-12 15:23:45 +00:00
adelikat 5428c3614a Win32 - Tiny speedup - UpdateRamWatch & UpdateRamSearch return immediately if dialogs are not open 2009-05-12 13:12:28 +00:00
adelikat 1215be45c0 Win32 - minor Resource file cleanup 2009-05-12 12:15:42 +00:00
zeromus 7ff78b6215 large speedup in bg pixel pipeline 2009-05-12 07:48:45 +00:00
p989 0876ae03d4 win32: fixed ram search endianness 2009-05-11 04:40:28 +00:00
riccardom 756b4fd8eb Random cleanup: move some struct definitions, defines, global variables on top. Remove some silly banners or move them where they belong. 2009-05-10 14:33:20 +00:00
adelikat 113615af35 Win32 - UpdateHotkeyAssigments() - More hotkeys added. 2009-05-09 21:56:09 +00:00
adelikat b0669283e7 Win32 - UpdateHotkeyAssignments() - code cleanup 2009-05-09 19:36:03 +00:00
adelikat a8a53aa82e Win32 - UpdateHotkeyAssignment() - fixed up code, not elegant but gets proper results 2009-05-09 19:09:09 +00:00
riccardom 9956cab1d4 Simplify Modify_Layer() by removing some superfluos checks, we really don't care if the layer was already in the state we want now. 2009-05-09 17:00:32 +00:00
adelikat 1ba78a6ea3 Win32 - UpdateHotkeyAssignments() added Save Screenshot As. However, the keys struct doesn't properly return F keys as strings. 2009-05-09 16:13:09 +00:00
adelikat d3bb120ebe Win32 - minor fix to UpdateHotkeyAssignments() 2009-05-09 15:37:36 +00:00
riccardom c7bd2c7cbd Add the possibility to have a desmume quit after a timeout. The idea is to use
this feature in conjunction with load state to have a more reliable way of
profiling the same stuff in different moments. A companion to this patch
would be a script that start the profiler, start desmume and close the profiler
once desmume exited.
2009-05-09 10:26:46 +00:00
adelikat 7b49f8923b Win32 - UpdateHotkeyAssignments - now retrieves key assignment from hotkeys 2009-05-09 04:09:21 +00:00
p989 3b1591abe2 win32: pause is now the default for pause hotkey 2009-05-09 04:07:51 +00:00
p989 6047ff9c72 win32: pause works as a hotkey 2009-05-09 02:51:11 +00:00
adelikat dd00cbd1b7 Win32 cleanup - Removed redundant GetHWND() that I made previously. Moved GetRomName() to common.h. Moved Ram Watch and Ram Search menu items to tools menu. 2009-05-09 02:37:57 +00:00
adelikat fde0833da2 Win32 - fix accelerator table for RamWatch 2009-05-09 01:42:44 +00:00
adelikat ae847d37e2 Win32 - Ramwatch - oops 2009-05-09 01:40:54 +00:00
adelikat e80b91bd56 Win32 - Ramwatch - fixed AskSave() when called from main window 2009-05-09 01:10:08 +00:00
matusz ed89660799 gtk-port: give pause/run focus 2009-05-08 22:32:16 +00:00
riccardom 550a71e640 Move a couple of includes at top of the file 2009-05-08 22:20:22 +00:00
riccardom 3dbed90795 Cleanup SetRotation() a bit: use a single switch instead of multiple if, instead of exiting with a not correct angle just reset it to 0. 2009-05-08 22:03:50 +00:00
riccardom 0c937d7f98 Remove some unneeded code from gpu_screen_to_rgb(). 2009-05-08 21:16:38 +00:00
riccardom 3fd744b810 Set the current dir for the gtk file chooser to user home dir instead of the current path. 2009-05-08 19:51:15 +00:00
riccardom ece807b605 Let nds filter in the file chooser match againt upper case extensions. 2009-05-08 19:41:35 +00:00
adelikat dc86077865 credz 2009-05-08 13:57:42 +00:00
adelikat 5936de5a32 Win32 - main.cpp now keeps track of current RomName. Set up a GetRomName() function to return name of ROM (useful for default filenames on OPENFILENAME dialogs. Ramwatch - uses romname for default .wch filename. 2009-05-08 13:52:28 +00:00
adelikat 63200b09c8 Win32 - RamWatch - code cleanup 2009-05-08 13:18:38 +00:00
adelikat f085acf680 Win32 - RamWatch and RamSearch update values when Load As is selected 2009-05-08 12:50:43 +00:00
adelikat 871f7b3aee win32 - ramwatch - now updates values on loadstate 2009-05-08 12:43:06 +00:00
zeromus f068dfda3b win32: fix auto ramwatch load getting ignored (and making it always autoload) 2009-05-08 05:32:00 +00:00
zeromus 7c24040c97 fix bug introduced in rev 2092 which made switching 3d renderers crashy. thanks pokefan 2009-05-08 05:24:24 +00:00
adelikat cd564d1a8f Win32 - Ram Search - Watch button hooked up. Also, prompt dialog added to resource file (this could be useful for other generic input as well). 2009-05-08 00:21:49 +00:00
adelikat 9ff5be6f67 Win32 - Added Update_Ram_Search() and Update_Ram_Watch() to loadstate function. However, the values still do not update until the dialog refreshes (such as minimizing and restoring) 2009-05-08 00:09:43 +00:00
yabause edbfe3f066 More endian fixes. Now the first screen with 3D in SPP
displays correctly.
2009-05-07 23:49:03 +00:00
matusz 821141414c gtk-port: make interface elements hideable 2009-05-07 20:17:27 +00:00
adelikat e62fa0e2bb Win32 - Added an accel table for Ram Watch, key combos with shift or ctrl are unfinished since you can't add shift or ctrl with RESEdit. Woo, RESEdit. 2009-05-07 17:19:51 +00:00
adelikat 131a3a989b Win32 - Prevent loading Ram Watch and Ram Search dialog if no rom is loaded. 2009-05-07 17:11:06 +00:00
adelikat 4485db61eb Win32 - RamWatch - main window will load the watch file now 2009-05-07 16:47:53 +00:00
adelikat 2915400b9b Win32 - Ramwatch - autoload now auto-loads the watch file. However, only when opening the dialog manually, not when desmume main does. 2009-05-07 16:41:51 +00:00
adelikat 1f6b5a2f6d Win32 - Ramwatch - Auto-load hooked up to main 2009-05-07 16:32:55 +00:00
adelikat 68c8951648 Win32 - RamWatch - Recent Watch menu now hooked up 2009-05-07 16:17:22 +00:00
matusz 90b14dccfd gtk-port: 'load from' and 'save to' for savestates 2009-05-07 12:05:45 +00:00
zeromus 54350d19b3 maybe id better not check that in with the debug texture dumping enabled 2009-05-07 06:19:23 +00:00
zeromus f6cf1e4ee1 fix bug in 16bpp texturing across vram banks 2009-05-07 06:14:38 +00:00
zeromus 832d168be0 fix a crash in matrix stack handling which was corrupting emulator state 2009-05-07 06:05:43 +00:00
zeromus 1de5957a3e gpu: fix a bug added today which causes the backdrop not to get drawn sometimes 2009-05-07 04:51:54 +00:00
zeromus 23c6438dc0 fix tex coord transform mode 3, which had been entirely broken since rev 1411; this will fix some cases of 3d ortho sprites 2009-05-06 20:50:26 +00:00
zeromus 34ea5aaa5f fix #2787953 (2D windows and colour effects on the backdrop) 2009-05-06 19:57:08 +00:00
zeromus 152a7b132f fix bug where dma length > 128k words was misinterpreted, causing catastrophic failure. 2009-05-06 06:58:40 +00:00
zeromus 300a8b996d win32: fix tile viewer lcdc mode which broke due to changed memory mapping 2009-05-06 04:49:58 +00:00
p989 444c3a0b0a integrate previous with trunk 2009-05-06 04:48:39 +00:00
zeromus 642baafe9d win32: rollback filename parsing patch. it can't handle filenames with spaces. i know that was the point, but it doesnt even work with quoted paths. 2009-05-06 04:13:46 +00:00
riccardom 7c386f0310 Last hunk of ldesnogue patch to make desmume more 64 bit architectures friendly: convert Ceil28_4 to use int instead of long. 2009-05-05 19:00:13 +00:00
zeromus cec7b68614 win32: apply HerrDoktorTuba patch 2787336 for better commandline parsing 2009-05-05 17:45:13 +00:00
zeromus 8057953b1c take out the thing that made vc2008 express not compile 2009-05-05 16:36:38 +00:00
adelikat cb18c55aa2 Win32 - RamWatch Hooked up AskSave() to the main window closing function. However, AskSave() fails to open the message box when called from there. 2009-05-05 16:15:18 +00:00
adelikat a13f65d415 Win32 - RamWatch- saves "Save Window position" bool, and saves window position values in .ini 2009-05-05 16:03:12 +00:00
zeromus 4832522315 a handful of tiny optimizations and important bugfixes in gfx3d savestates. also add a MSC_FORCEINLINE macro for people to use instead when they doing like my FORCEINLINES and are thinking about removing them. at least then we know which ones didnt work on gcc. 2009-05-05 07:30:27 +00:00
zeromus 712b23d512 win32: fix #2785867 (date & timestamp not shown on savestate slot immediately) 2009-05-05 00:02:43 +00:00
zeromus a30cf51c7d import latest from rerecording branch 2009-05-04 23:36:46 +00:00
riccardom fbbe9da5ef Use cast instead of implicit conversion in rasterize.cpp.
Taken from ldesnogue's patch at #2752961.
2009-05-04 19:13:57 +00:00
riccardom 2bf05b75fb Apply GPU.h hunk of ldesnogue's integer type patch at patch #2752961.
Patch modified to use u32 instead of int for pointer math.
2009-05-04 18:09:09 +00:00
zeromus 0ce99ce869 integrate 2087 from rerecording_0_9_2 2009-05-04 07:29:08 +00:00
luigi__ ffb4ea538c Oops... fixed the invisible scrollbars.
By the way I also fixed the French version of the pal viewer which had two auto update checkboxes.
2009-05-03 21:45:10 +00:00
luigi__ cee2f02928 Fixed the "None" and "Clear" menu items of the recent roms menu.
Also there's one half of the new I/O reg viewer. I'm working on the other half :P
2009-05-03 21:39:33 +00:00
luigi__ a71f16f390 Moved the IDM_RESERVED_* identifiers to common.h, like the timer IDs.
Because if they stay in resource.h they'll get wiped out by Resedit. :(
2009-05-03 21:30:31 +00:00
zeromus 0ed4e21eed integrate 2075 from rerecording branch. this touches a lot of file because merges for me always make null changes to a ton of files and i am hoping that by checking it in this once, the problem will go away 2009-05-03 20:55:35 +00:00
yabause 43f7306752 Patch by Evgeni Golov for universal binary generation. 2009-05-03 18:52:00 +00:00
yabause 1e316e7008 Added script to build the dmg for Mac binary distribution. 2009-05-03 18:51:06 +00:00
zeromus dc28399028 maybe one other thing we should do to reset backupmem 2009-05-03 18:39:32 +00:00
zeromus e9708f7595 gah. rollback that sln 2009-05-03 18:12:29 +00:00
zeromus 5263070da5 although the last change probably wouldve worked, this fix solves the real problem: save ram didnt close file pointers when roms reset 2009-05-03 18:10:30 +00:00
p989 2e4026e86d sram clearing fix 2009-05-03 16:26:39 +00:00
yabause 744668e821 Patch by Evgeni Golov to fix compilation problem on
case sensitive OSX.
2009-05-03 11:49:46 +00:00
p989 a843ff2f22 fixed wrong byte order in ram search 2009-05-02 23:19:19 +00:00
zeromus c7bd555cc0 this should fix use of uninitialized pad value 2009-05-02 22:14:05 +00:00
yabause e8c5cffe03 Fixed endianess bugs so now controls are working :) 2009-05-02 21:31:48 +00:00
zeromus 54d6fad245 more fixes to affine scroll handling: fixes nsmb backdrops 2009-05-02 19:58:18 +00:00
zeromus 5317608340 remove 'MOVI' and 'NOMO' 2009-05-02 18:40:42 +00:00
riccardom af8f69ccb9 Make a functin without declaration static. 2009-05-02 18:31:08 +00:00
riccardom 99f5c1dc0a Fixup a printf. 2009-05-02 18:30:27 +00:00
zeromus 0cc0e4739b fix compile errors in movie.cpp 2009-05-02 17:57:06 +00:00
riccardom 4798e034f8 Add proper include file for memset. 2009-05-02 12:22:35 +00:00
riccardom 1366b34d4e ifdef windows specific include, i've used _MSC_VER because it's the same used for MessageBox. 2009-05-02 12:21:24 +00:00
riccardom 90eaff428d Move ifdef at column 0. 2009-05-02 12:03:54 +00:00
zeromus 7bfbd6b887 [2783433] fix 64bit error in savestate writing (thanks martin) 2009-05-02 08:13:42 +00:00
zeromus 6a1ff20e07 improve compatibility even more. i have learned my lesson, all future stuff will be versioned. i thought it was a pain, but listening to people cry about their broken savestates is an even bigger pain. 2009-05-02 08:06:45 +00:00
zeromus 4702c15820 even more improvements to savetate compatibility 2009-05-02 08:02:52 +00:00
zeromus 6b0d234643 fix the most egregious savestate backwards compatibility violation. also remove code which would have prevented non-windows from compiling 2009-05-02 07:31:29 +00:00
zeromus 89d9ebbbd2 didnt need this file 2009-05-02 06:39:45 +00:00
zeromus c52a03f95e integrate stuff from rerecording branch 2009-05-02 06:39:08 +00:00
luigi__ 1719e1eb41 Fixed a bug with 3D layer scrolling where that layer would wrap incorrectly. 2009-05-01 20:56:54 +00:00
yabause ad388e0610 removed some printf code that I forgot to clean up before
commiting... sorry ^^;
2009-05-01 06:34:03 +00:00
zeromus ba719bf431 removed too much debug logging 2009-05-01 04:51:49 +00:00
matusz f8141e77b4 gtk port scaling: allow NEAREST interpolation in addition to BILINEAR 2009-04-30 23:51:37 +00:00
yabause 8a772475f8 Fixed "Rotozoomed 16/16 palette" for big endian systems. 2009-04-30 22:56:51 +00:00
yabause 243f7cd58c Testing if the zzip_read is the old (with char *) or new
(with void *) version. When the old one is detected we
cast the second parameter to char *
2009-04-30 19:31:35 +00:00
riccardom be5cc2152c Move parenthesis before the shift. 2009-04-30 16:51:59 +00:00
matusz 9abd38ff8e gtk port: rotate stylus input when screen rotated 2009-04-30 15:15:50 +00:00
yabause d67d0b7714 Fix for big endian systems. 2009-04-29 20:19:43 +00:00
matusz e6ad57be22 gtk port: screen rotation, WIP:
no stylus rotation, 
  slower conversion from nds to rgb format
minor changes:
  remove useless alias for drawing area
  rearrange actions table to make it easier to spot hot-key conflicts
2009-04-29 14:34:52 +00:00
yabause 3dd9e0a27c Removed the errors when gtk is not found, so now you
can build cli port only.
Added an error when zlib is not found as compilation
fails if it's not here.
2009-04-28 23:32:15 +00:00
yabause 3348cdf6e2 Added some empty default case in switches to keep gcc happy. 2009-04-28 20:57:20 +00:00
yabause 01cbda9a1c Rewrote some commented parts with #if 0 instead of /*
to avoid nested comments. (didn't remove those commented
parts as I'm not sure why they were left here.)
2009-04-28 20:32:47 +00:00
yabause 3dd0ee91d0 Removed the frame limiter code based on SDL semaphore that
was commented and unused.
2009-04-28 19:48:48 +00:00
yabause a6f99da9cf Removed -Wswitch-enum from --enable-hardcore.
-Wall already turn on -Wswitch that reports missing
enum in a switch case. The only difference is that
-Wswitch-enum report them even if there's a default
case. I don't think we want to handle each 322 cases
of the SDLkey enum :)
2009-04-28 19:25:04 +00:00
matusz 81743d139c ChangeLog: screen resize in gtk 2009-04-28 11:08:05 +00:00
matusz cca48b9a34 set svn:eol-style to native for Changelog 2009-04-28 11:06:35 +00:00
matusz 75e749ecf9 move 'FORCEINLINE mmu_gpu_map()' to MMU.h, because gcc does not like it in .cpp 2009-04-28 10:49:41 +00:00
zeromus b8aea4ffaa revert sln file 2009-04-28 06:07:56 +00:00
zeromus b2764f5bc3 fix an issue in vram mapping which let junk get written on the screen via LCDC. also fix a bug which was causing affine layer positions not to get written to savestates. this change will possibly BREAK YOUR SAVESTATES, but there are more changes coming which will break it anyway. Ill try and add a pass of robustification to the savestates before the next release. 2009-04-28 06:05:41 +00:00
zeromus 69dabb3c02 more fixes to vram mapping. this time, for one particular test case, gpu accesses to unmapped memory return 0 like it is supposed to. I will wait for more test cases before I change it in other places. 2009-04-28 03:30:50 +00:00
zeromus 7b1af20be4 gfx3d: fix condition where matrices could be read/write out of bounds of the matrix stack, clobbering some other variable in the emulator 2009-04-27 21:08:17 +00:00
zeromus 28b1fcdcd6 remove that @&#@#ing assert from wifi which was the dumbest thing i ever did 2009-04-27 06:27:15 +00:00
zeromus f65e0e223c fix rectangular window handling for 32bit reg writes; was caused by my own unparenthesized (macro_parameters) 2009-04-27 04:48:33 +00:00
zeromus 686c52b34c fix the large screen 512KByte 8bpp bitmap BG mode which was entirely broken. along the way, fix up some affine layers which were rendering at the wrong size and thus distorted and with garbage 2009-04-27 04:08:43 +00:00
yabause 01daf40120 Fixed hyphens in man pages. Thanks debian games team :) 2009-04-26 18:32:12 +00:00
riccardom 1e598f014c Do less work in gtkFloatExposeEvent(), this gives me 6 more fps on a static background. The heap to stack conversion helps for less than 1 fps though. 2009-04-26 13:55:29 +00:00
mtabachenko 822552b138 winport:
- fixed toggle on/off for Action Replay (double click in list)
2009-04-26 12:58:21 +00:00
mtabachenko cc0c3c4e26 cheats: small fix in AR loop code 2009-04-26 11:31:33 +00:00
mtabachenko ff59371827 - added full Action Replay code parser; (hooks not need...?) 2009-04-26 11:26:20 +00:00
yabause 7704d2fd80 it seems osmesa depends on GL and we need to add -lGL
so compilation works with --as-needed
2009-04-26 06:46:31 +00:00
zeromus ada2d9ce12 nothing came out of this hour of debugging but fixing a lame typo in a variable name so by golly i will check in a fix for it 2009-04-26 06:36:11 +00:00
zeromus 3708a80b54 more fixes to bg affine parameter handling. I am becoming increasingly dissatisfied with the way this is handled, but we need to collect more test cases. this actually reverts the changes from rev 2010 and fixes it a better way (by adding support for 16bit affine parameter startpoint writes) 2009-04-26 05:30:48 +00:00
gecko_reverse 18b3701693 updated out of date version number in cocoa ports plist file 2009-04-26 05:25:44 +00:00
zeromus 4f887b912d fix bug in display capture source mode B = VRAM setting which made it just capture garbage 2009-04-26 03:30:51 +00:00
zeromus 594b1316a6 fix master brightness logic for parameters which are outside of the reasonable range. Fixes insane color warping during fades. 2009-04-26 02:48:49 +00:00
zeromus 5f2c541ada fix affine BG scroll starting points. fixes totally whack affine layer positioning 2009-04-25 23:47:55 +00:00
matusz 41dc477e74 gtk port: resize screen first attempt - very slow 2009-04-25 23:19:13 +00:00
zeromus f1ea9cca7a win32: fix compiling in release builds 2009-04-25 22:50:35 +00:00
zeromus d988ba6192 fix major issue with poly sorting. this fixes 3d user interface elements being invisible 2009-04-25 22:35:43 +00:00
zeromus 78f07fd7aa fix the only memory leak that wasnt a false alarm, or gnu something, or sdl something. 2009-04-25 19:42:05 +00:00
zeromus 9987bd13f8 accidentally checked in a hack the other day 2009-04-25 19:24:58 +00:00
riccardom f464846c3c Remember to zero current_reg on close. Should fix #2781065 and hopefully
doesn't break anything.
2009-04-25 16:17:12 +00:00
riccardom f6cde624f4 Spring cleanup for firmware support, put all the stuff under proper ifdef and
clean it up to make it compile. I don't have a firmware bin so the only test
i've done is to load a random text file instead and see desmume not crashing.
If someone is interested into this feature it has a bit more decent base
to start from.
2009-04-25 13:44:35 +00:00
riccardom 4c446543b4 Looks this modulo in savestate labels is a leftover. 2009-04-25 10:26:17 +00:00
riccardom 94c9f45b88 Remove this Close() function that has been disabled since a long time. 2009-04-25 10:22:49 +00:00
riccardom 61e4c0bddc Poor man's mic fake implementation, don't expect it to be similar to a blow it's just noise or not. 2009-04-25 10:21:10 +00:00
riccardom c89f3a86bd Rework EmuLoop to save one level of indentation. 2009-04-24 17:14:20 +00:00
riccardom 3b7a0e79b5 Whitespace cleanup in Emuloop. 2009-04-24 17:09:00 +00:00
riccardom e678242556 Add some 0.9.3 entries. 2009-04-24 05:47:11 +00:00
riccardom a413a17260 Remove some stuff that was used only with gtkglext. 2009-04-23 20:50:59 +00:00
riccardom f6c5dce881 Whitespace cleanup in gtk_common_main 2009-04-23 20:34:27 +00:00
riccardom 05d9c1b169 Cleanup includes ifdefs. 2009-04-23 20:24:51 +00:00
riccardom 651ed760b7 Remove the gtkglext support from gtk frontend. 2009-04-23 20:15:37 +00:00
riccardom 571af5c2d7 Rename the local variable to not shadow the global ui_description. 2009-04-23 18:01:04 +00:00
zeromus 39d123cbfc [2777429] (missing 3d art) fixed: recent regression causing 16bpp textures to be transparent on softrasterizer 2009-04-23 06:22:01 +00:00
zeromus d3de70b80d win32: apply hicoder's patch to display timestamps in savestate menu 2009-04-23 03:58:44 +00:00
matusz 57feffc70d gtk port: add a FIXME 2009-04-23 01:06:36 +00:00
matusz 76885cefc2 gtk port: remove unused array, use better mask for input keys 2009-04-23 01:02:08 +00:00
matusz f422c236d3 gtk port: switch all of menu/toolbar system to GtkAction + GtkUIManager 2009-04-23 00:55:49 +00:00
riccardom b7d4a8b352 This file is generated by ./autogen.sh so remove it from svn. 2009-04-21 18:17:28 +00:00
matusz 1849ac85d1 change 2 NOSSEs to NOSSE2s
remove 'static' from alpha_lookup
2009-04-21 08:43:33 +00:00
zeromus df48d9a889 a bunch of small performance optimizations in the 3d engines, gains a couple of fps over the current trunk. still a little slower than 0.9.2 though, I am not sure why. 2009-04-21 04:13:47 +00:00
zeromus e30b3fea70 test of dumping the faq as html 2009-04-20 18:11:37 +00:00
zeromus b4ec5d6748 test of pasting wiki contents for readme.win 2009-04-20 18:07:38 +00:00
yabause 153cb5e386 french -> english 2009-04-20 14:05:54 +00:00
matusz 7704899055 glade port: hide layers selector by default 2009-04-20 13:43:05 +00:00
yabause 48a3dc398a french -> english 2009-04-20 13:29:06 +00:00
zeromus 5f22118a6f tiny softrasterizer speedups: change texcache to produce different pixel formats depending on 3d renderer, and optimize getline 2009-04-20 05:31:04 +00:00
zeromus 5abdb2faed win32: [2761959] fixed: 3d options dont stick in other UI languages; also get rid of some dual 3d console spam i accidentally left turned on 2009-04-19 18:44:56 +00:00
zeromus 7a266f75b2 an uncertain change: permit geometry commands after swapbuffers, up until vblank: this will fix some 3d games that rely on very picky timing, including some dual 3d games. but keep an eye open for totally destroyed 3d games and modes 2009-04-19 08:49:22 +00:00
zeromus 7180336b20 win32: fixed: [2773492] When turning "Limit framerate" on or off the screen separation resets to none. 2009-04-19 05:58:32 +00:00
zeromus 823b57c6db win32: try to fix language selection. works in xp; need to verify in vista 2009-04-18 23:32:14 +00:00
zeromus 6a03c7ff09 [2750702] fixed: shift key is sticky in hotkeys, making you save sometimes when you meant to load 2009-04-18 21:25:41 +00:00
zeromus a05659a208 change NOSSE2 conditional compilation. hope it still works for gcc guys 2009-04-18 21:14:16 +00:00
mtabachenko d4afa548de again :( , typo fix 2009-04-18 20:32:57 +00:00
mtabachenko 6b82719eb0 typo fix :( 2009-04-18 20:29:00 +00:00
mtabachenko 438800961e AR: implemented some codes and fixed early my commit 2009-04-18 20:01:26 +00:00
riccardom ea58962012 Use of macro that can be a nop inside a conditional should be protected by braces otherwise a kitten will get hurt! 2009-04-18 19:28:59 +00:00
mtabachenko 9304d34bf8 added parser for comma when load cheats; 2009-04-18 17:41:14 +00:00
mtabachenko 7fd9817cdb fixed bug #2772570 (CheatSystem: Address size reverting after search restart) 2009-04-18 16:50:21 +00:00
mtabachenko 19d5e1c354 cheats:
- added some Action Replay codes processing;
2009-04-18 16:12:25 +00:00
riccardom e3d3b1407f Make a couple of functions static and shut up a signed vs unsigned warning in cheatSystem.cpp. 2009-04-18 13:44:31 +00:00
matusz f01283e4af glade port: rename 'ouvrir' elements to 'open' 2009-04-18 13:33:15 +00:00
mtabachenko 654952bcf8 winport:
- it is now possible to add Action Replay to the cheats (THIS IS ONLY ADD TO CHEATS and NOT EXECUTE AR CODE)
2009-04-18 12:46:24 +00:00
matusz e585142003 gtk port: quit on unsupported savetype in command line option 2009-04-17 18:27:41 +00:00
matusz ee53e4c03a glade port: correction to savetype option and menu 2009-04-17 18:23:15 +00:00
matusz 0e94d6ee51 better ignore of NOSSE2 on linux per xrmx advice 2009-04-17 17:18:46 +00:00
matusz 6889b87605 adding FASTCALLs to make function definitions consistent with structs 2009-04-17 14:54:25 +00:00
matusz 151ebfc21f define NOSSE2 globally until somebody finds a better way 2009-04-17 14:51:40 +00:00
mtabachenko 2684c683a8 cheats:
- fixed search lists (and 3 byte size work correct now);
- fixed search after load savestate;
(will next step - add Action Replay parser)
2009-04-17 11:13:59 +00:00
zeromus df99182300 reorganize a bit of mmu code to displease me less and make a couple of minuscule optimizations 2009-04-17 05:13:11 +00:00
zeromus da9cfbe200 win32: continue to overhaul vs project organization. You will need to delete your sln files as I am now checking these in. Additionally, every build is now SSE2. If you want a non-sse2 build you better define NOSSE2 and turn off the codegen option. 2009-04-17 02:32:43 +00:00
luigi__ b831e49635 Remved an unused variable. 2009-04-16 20:46:35 +00:00
riccardom 0e48ce4d99 Removed unused variable. 2009-04-16 18:31:42 +00:00
riccardom 8ecd2ee393 Put braces around a possible nop. 2009-04-16 18:27:16 +00:00
matusz 2c154a932a glade port: add save-type commandline option and synch it with menu; change one sprintf to snprintf 2009-04-16 17:21:56 +00:00
matusz 751825a009 gtk port: saveslot/loadslot submenus in 'File' menu 2009-04-16 10:50:28 +00:00
zeromus 62334ef6c0 win32: add a configuration system. remove excess build configurations, which were getting hard to manage. to configure your build (such as to enable SSE2), check out the example in the defaultconfig directory. this is a bit strange. please evaluate it. 2009-04-16 08:43:57 +00:00
zeromus 563c4c5a45 win32 revert resource changes! 2009-04-16 04:37:15 +00:00