Commit Graph

2725 Commits

Author SHA1 Message Date
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
adelikat 6365619445 Added a record to dialog to the res 2009-04-16 03:47:47 +00:00
riccardom 25e07dfc79 Fix a few signed vs unsigned int comparison warnings. 2009-04-14 19:26:02 +00:00
riccardom 6e6e97c551 Remove unused var. 2009-04-14 19:09:25 +00:00
zeromus eeed006c67 2009-04-14 18:45:23 +00:00
zeromus 7e31cf4dab mmu: fix windows compile error. ERROR enum value wasnt necessary at all 2009-04-14 18:34:10 +00:00
riccardom 813a3bbbff This patch tries to fixup typedef defined in types.h in order to help x86-64 people:
- convert [us]32 to be unsigned /signed  int on both 32 and 64 bit platforms like is uint32_t in stdint.h.
- remove pointer typedef, likely cause of 32 bit / 64 bit issues but currently not used.

Please be patient if something is broken :)
2009-04-14 16:30:16 +00:00
riccardom 1704c79067 Make MovieTime static, while at it cleanup the ifdef. 2009-04-14 16:13:34 +00:00
riccardom 878bd69a0e ok, this really wants to be declared to be an ull (sorry 64 bit guys). 2009-04-14 15:57:57 +00:00
riccardom 6ce60f84e6 gcc does not like this function to be inlined 2009-04-14 15:50:18 +00:00
riccardom c24884c363 Add missing member of enum. 2009-04-14 15:19:33 +00:00
luigi__ 298b9fbabb Slight code reorganization and better handling of scrollbar and mem editing. 2009-04-14 10:15:11 +00:00
zeromus 0e88f49326 fix another bmp sprite issue and add some mmu diagnostics 2009-04-14 08:35:00 +00:00
zeromus 47ab70f48e fix some bitmap objs. many more types are still broken. 2009-04-14 06:47:57 +00:00
zeromus 08ae197fed win32: fix missing tool window scrollbars again. now i KNOW it must be resedit's fault 2009-04-14 06:42:47 +00:00
zeromus b54baa86c6 eliminate emulator crashes and freakouts when rendering some totally messed up 3d stuff. is this masking a deeper issue? quite possibly, but the checks need to be done anyway. 2009-04-14 05:35:49 +00:00
zeromus 1a5944f90c fix some bugs in new vram mapper 2009-04-14 02:05:55 +00:00
luigi__ 5debaa0857 Added ability to edit memory through the mem viewers.
Basically, it works like an hex editor, ie you click on the value you want to
edit, then you enter the new value, which is applied only once it has been
entirely entered.
Warning! it may have bugs. If you find any, tell me.
2009-04-14 00:18:43 +00:00
adelikat 96113b7ee4 Win32 - Partial implementation of function to display hotkey mappings on corresponding menu items 2009-04-13 19:04:24 +00:00
adelikat 2863925859 Win32 - Minor cosmetic fix to Cheat search dialog 2009-04-13 15:01:39 +00:00
adelikat 150dbbbdaf Win32 - Moved checked menu item code for Frameskip to ENTERMENULOOP 2009-04-13 14:59:23 +00:00
adelikat d9f5a46a6a Win32 - Gray out recent ROM menu item if there are no recent ROMs 2009-04-13 14:51:07 +00:00
adelikat 5029f2058c Win32 - Removed the accel table from main since we have a remappable hotkey system in place instead. 2009-04-13 14:46:41 +00:00
adelikat caf463b302 Win32 - Added Clear sound menu item to Danish & French Menus. Removed Ctrl+O from Open ROM menu item name. 2009-04-13 14:41:23 +00:00
p989 187d9a8dbc simple clock for movie recording 2009-04-13 06:55:29 +00:00
adelikat 97789af476 Added Open ROM Hotkey, Removed Ctrl+O accel key. 2009-04-13 04:56:51 +00:00
adelikat f054fc3da6 Win32 - Code cleanup - removed a lot of redundant menuchecked and enablemenuitem code. Moved it all to ENTERMENULOOP 2009-04-13 04:45:38 +00:00
adelikat fc8f4f694f Win32 - Added all gray/enabled & check/unchecked code to the ENTERMENULOOP case. Changed Shut Up to Clear Sound 2009-04-13 04:18:45 +00:00
adelikat 6aa80c44cf Win32 - AVI Capture - added started/ended messages to the screen. 2009-04-12 22:15:08 +00:00
adelikat d8601e00a3 Win32 - Record AVI and Stop AVI menu items enabled/grayed based on whether an AVI is recording or not. 2009-04-12 21:30:03 +00:00
adelikat f1e58b3c92 Win32 - Added Record AVI and Stop avi hotkeys. Minor change to AVI menu items. 2009-04-12 21:10:51 +00:00
adelikat 2474633f79 Win32 - Added Reset hotkey. Changed Printscreen to Save Screen Shot As to match the equivlant menu item. Changed screenshot default key to F12 which is the more standard screenshot hotkey 2009-04-12 20:42:50 +00:00
adelikat 6e3963d1ca Added Hotkeys for Display FPS, Input, and Frame Counter 2009-04-12 19:31:52 +00:00
adelikat 274d8178aa Win - Added Lag Counter Display Toggle Hotkey 2009-04-12 18:50:54 +00:00
zeromus d608b190dd fix mario kart boot regression by readding support for arm7 shared vram banks. it still has some bg mapping issues, but it shares that in common with many games right now 2009-04-12 09:45:09 +00:00
zeromus 4269612bb4 better change the version number in the trunk to keep folks from releasing post 0.9.2 svn builds with 0.9.2 version tags (probably has already happened) 2009-04-12 08:46:36 +00:00
luigi__ 85ca9b12e3 Fixed the mini tile box. It still refreshes the whole screen when clicking a tile. But anyway all that shit will be remade someday. 2009-04-12 00:01:12 +00:00
luigi__ 9fa2003bc5 The display capture EVA/EVB factors are now clamped to 16. This avoids corrupted colors when the game sets these factors to values over 16. 2009-04-11 22:07:32 +00:00
yabause a2c33d0d35 Added italian translation 2009-04-11 20:49:48 +00:00
riccardom 8b13beb5ee This trick let desmume be compiled against osmesa 7.4, thanks Guillame. 2009-04-11 19:54:40 +00:00
riccardom c292d7d9e3 signed long to s32 conversion based on the patch posted by ldesnogu in #2752961. 2009-04-11 17:20:19 +00:00
riccardom 0854f57647 Apply ldesnogu signed long -> s32 conversion to help x86-64 from #2752961 2009-04-11 17:14:19 +00:00
riccardom 17fa00685f Make SetTurbo static. 2009-04-11 16:48:02 +00:00
riccardom b99da6e496 Update gfx3d.h function declaration to match the definition, this is a subset of ldesnogu patch from #2752961. 2009-04-11 16:47:16 +00:00
riccardom a81bd98c7a Remove unused label. 2009-04-11 16:02:41 +00:00
luigi__ dd0d05928d Oops... fixed a stupid bug with MMU_DumpMemBlock. Both mem viewers would show ARM7 memory. I'm stupid sometimes... 2009-04-11 15:51:28 +00:00
riccardom ba4a4b1915 Use u32 instead of unsigned long since that's the type of the data that is passed to armcp15_setSingleRegionAccess(). 2009-04-11 15:28:12 +00:00
matusz 88303c627d glade port: disable code initializing removed fields in ARM9Mem
this is a hack to make it compile, since tileview wasn't working anyway
2009-04-11 15:27:48 +00:00
riccardom 804bf0bfcf Change cast of cflash_read from unsigned long to u32 since it's what _MMU_ARM9_read32 is supposed to return. 2009-04-11 15:14:18 +00:00
riccardom 75843be9c4 Add explicit cast in FetchADPCMData() as in patch from #2752961. 2009-04-11 15:09:09 +00:00
riccardom 37b44bfb60 Apply gtk frontend hunk of explicit type conversion patch posted
by ldesnogu_ in #2752961.
2009-04-11 14:57:41 +00:00
riccardom dc9fd91bf6 Use CLAMP in Stylus_Press too, need a bigger screen :) 2009-04-11 14:44:57 +00:00
riccardom 80ebb0dcd5 Use CLAMP from glib in Stylus_Move. 2009-04-11 14:42:15 +00:00
riccardom 30c0e56fc9 Whitespace cleanup Stylus_Move, no functional changes. 2009-04-11 14:40:36 +00:00
riccardom 95a80303b5 Remove unuseful debug line from layers code, this fix #2750334 which reports
a crash in that line caused by the conversion from string to an enum of the
layers.
2009-04-11 14:12:48 +00:00
luigi__ 167386847d Big tool remake started. New memory viewer.
Here are the main differences with the old one:
- threading/timer system dropped; the viewers refresh every 10 frames
- same dialog template and procedure shared for both viewers, like before
- no trouble jumping over 0x0FFFFFFF; all addresses supported
- correct interpretation of the address entered
- scrollbar working correctly
- two view dump functions: Text dump will dump the current view into a text file, in an human-readable form; Raw dump will copy the current view to a binary file that can be opened with an hex editor
- the viewers use MMU_DumpMemBlock to read memory; this is better than the MMU_readX functions as it doesn't risk affecting the emulation; but that func isn't suitable for the I/O register region, as some registers aren't written to MMU.MMU_MEM.
2009-04-11 14:09:16 +00:00
zeromus c95bc1c458 fix a probably broken linux build 2009-04-11 09:09:06 +00:00
zeromus 30502706ee totally rewrite vram mapping. a few of your savestates might be ugly until you reload a level or somesuch. this fixes drill spirits and kirby. some regressions are to be expected, please let me know when you see them 2009-04-11 09:00:56 +00:00
zeromus 45661199e6 hey pa__ dont use ARRAYSIZE, use ARRAY_SIZE instead. 2009-04-11 08:54:26 +00:00
p989 ed3393987f win32: fixed an input display related merging mistake 2009-04-11 01:08:03 +00:00
p989 5382dab908 win32: moved turbo keys to their own hotkey page 2009-04-10 23:41:05 +00:00
p989 dd60bc24a3 win32: microphone hotkey, sample loader, and display 2009-04-10 23:01:53 +00:00
zeromus 07e090c224 prevent totally out of bounds card accesses from crashing emulator by masking to rom size 2009-04-10 22:38:29 +00:00
zeromus a48b1a725d change gpu to use only one function for 1D and 2D sprite rendering. this makes it easier to debug and tweak, since they were 95% similar already. also fix a bunch of bugs in the win32 oam viewer. 2009-04-10 20:59:44 +00:00
p989 9821e2342f win32: hud editor 2009-04-10 18:40:09 +00:00
zeromus a165e5b1c3 win32: fix scroll bars in tool dialogs. somehow they all became invisible. i blame resedit 2009-04-10 17:20:59 +00:00
p989 dc9b05137e win32: autofire, autohold, input display fix 2009-04-10 17:07:54 +00:00
p989 3d95e1061a win32: png file support 2009-04-10 16:24:04 +00:00
zeromus 031dde96d2 add authors 2009-04-09 19:30:00 +00:00
luigi__ 6feb15dd11 Fixed a few details. 2009-04-09 17:59:42 +00:00
zeromus eedca01baa update changelog, and make every build a DEV+ build. we won't use the distinction after all for 0.9.2 2009-04-09 05:19:16 +00:00
yabause de49480ef5 Added some missing files to distribution 2009-04-08 22:19:07 +00:00
zeromus 0ab5605002 win32: fix typo in error message and change the default frameskip options to 0, limit (desmume classic style) which people seem to like more 2009-04-08 18:52:55 +00:00
zeromus 210de746fb win32: fix yet another vs2005 build type that got broken. add a warning to wifi dialog that it doesnt actually work. fix wpcap.dll detection 2009-04-08 18:07:53 +00:00
riccardom 9b96d80ecc Cleanup whitespace in MMU_DeInit() 2009-04-08 09:57:51 +00:00
matusz 9cd29c65bf open memory-card-file for writing when savetype is not AUTODETECT 2009-04-08 09:32:39 +00:00
zeromus 4b2ae3ad5e not sure how these vs2005 build types got messed up 2009-04-08 08:09:04 +00:00
riccardom d5858ba555 Make a couple of functions static. 2009-04-08 08:07:54 +00:00
zeromus ba967c8fda win32: clean up experimental wifi building to work in fastcall and run correctly without winpcap.dll etc on all build types in vs2005 and vs2008 2009-04-08 08:01:47 +00:00
zeromus c83531b12c win32: prevent wifi configuration from running when winpcap couldnt initialize 2009-04-08 07:06:54 +00:00
zeromus 12c709885b fix [2705723] 4mb flash savetype is broken. 2009-04-08 06:18:20 +00:00
zeromus c2ddd1f83e major fixes to viewport handling which didn't work at all before since it was not executed per poly (closes out SF [1701567]). now advance wars battle scenes work 2009-04-08 05:17:36 +00:00
zeromus 1da5cc74ef win32: vs2005: fix building of release and interim non-sse (forgot include directories) 2009-04-08 04:30:20 +00:00
zeromus 475b4a77b2 win32: recent roms bugs: [2595745] [2598258] 2009-04-08 04:27:46 +00:00
yabause 907851c822 Some changes to fix "make dist" 2009-04-07 21:05:20 +00:00
luigi__ 94717c5785 And finally removed all the GDI+ include files. GDI+ shit is now gone for good.
BTW, it is better for us to remove them. Zeromus told me we aren't supposed to redistribute them. (I hate Microsoft more and more)
2009-04-07 19:18:32 +00:00
luigi__ 57d64f5bca Remeber what I did with the VS2005 project file? Did the exact same thing with the Intel one. 2009-04-07 19:15:29 +00:00
luigi__ ac933b2cfd Attempted to take out GDI+ shit using the Notepad. Tell me if the project breaks (normally shouldn't) or if some GDI+ shit remains, I'll take care of it. 2009-04-07 19:00:17 +00:00
luigi__ 1db8af1adb Taken out the GDI+ inclusions (todo: do so with the VS2005 project as the gdiplus folder will be removed at the next commit from me). 2009-04-07 18:56:35 +00:00
luigi__ a5e2102033 Removed GDI+ initialization.
GDI+ shit can be taken out of the project as we'll stick to GDI which is faster.
2009-04-07 18:53:42 +00:00
luigi__ 4b7b652f47 Hacky fix for the crash of the IO reg view tool.
Reason of the crash: a WM_COMMAND message was being sent for IDC_AUTO_UPDATE_SECS before the WM_INITDIALOG message was sent. I can't figure out why.
2009-04-07 16:37:01 +00:00
zeromus 97ac62d69f novice mistake: dont crash when loading a gbagame with no sram 2009-04-07 15:59:43 +00:00
matusz c62fe23941 gtk port: add --save-type command line option
and sync it with save-type menu
and update gtk port's manpage
2009-04-07 12:59:04 +00:00
zeromus ab0af7fa7e add sram support to gbagame addon 2009-04-07 08:35:06 +00:00
sigmaris bb1e85a546 Integrated GDB stub to Mac version and added a target to the XCode project to build with GDB stub enabled 2009-04-07 03:19:09 +00:00
adelikat 55676e4bb7 Fix bug in HK_StateSetSlot() 2009-04-06 23:51:28 +00:00
matusz 30ef5275d9 all .cpp .h files: convert to uniform EOLs and set svn:eol-style to native 2009-04-06 19:52:10 +00:00
matusz cdef916569 unify eols in saves.cpp and saves.h
setting svn:eol-style to native for saves.cpp and saves.h
2009-04-06 16:42:02 +00:00
normmatt234 568682a3f0 typo in comment 2009-04-05 22:51:22 +00:00
normmatt234 df915330e7 Fix card reads below 0x8000 2009-04-05 22:50:03 +00:00
luigi__ 64a4300ba2 Changed the buffer type to u8 as the data returned by WinMM is unsigned.
Added a double buffer system which reduces crackling noticeably.
2009-04-05 12:30:43 +00:00
riccardom 7b0bddf64b Comment a variable that has its users already commented. 2009-04-05 12:16:04 +00:00
riccardom f7d7b5242c Comment a variable with its users already commented. 2009-04-05 12:13:28 +00:00
riccardom 2d0be6346c Made a couple of functions static. 2009-04-05 12:11:26 +00:00
luigi__ 1230a55a4b Removed the EXPERIMENTAL_WIFI define from the Interim SSE2 configuration, so it should now compile. 2009-04-05 07:24:24 +00:00
luigi__ 7a5ac180de Yeah, I know, skipping 3D frames is nice with the soft rasterizer, but we can't do it until somebody figures out why the 2D/3D synchronization problem happens when doing it. It's so sad :( 2009-04-05 00:03:51 +00:00
p989 1f1507b9ef win32: fast forward now has separate active and toggle hotkeys 2009-04-04 21:23:01 +00:00
p989 51c37da018 win32: lag frame menu typo 2009-04-04 00:10:35 +00:00
p989 ae9cad072c win32: debugging windows update in frames, 1 frame default 2009-04-03 23:54:05 +00:00
luigi__ d3bf30c646 Add a langs folder meant to contain .mo files for all the translations, as well as some stuff useful to compile them (though my fr_FR.mo was built by Poedit). 2009-04-03 22:00:48 +00:00
luigi__ 4cb195abf8 Added a French translation of the menu. 2009-04-03 21:55:06 +00:00
luigi__ 3163f756b5 Added a base .po file containing everything needed to translate the Windows menu with gettext.
This is testing, it's why I first just translate the menu. If it's not a total pain, I'll translate everything else with gettext.
2009-04-03 21:39:36 +00:00
zeromus b231f48093 change the 3d frameskipping method to take advantage of the rendering deferral system which was already there. now, whenever a 3d frame is requested, and it isnt rendered due to having been skipped, it has the capability to render itsself. This should resolve any issues like ideas frameskip synchronization -- let me know. 2009-04-03 18:46:01 +00:00
luigi__ a077ddf472 The window refreshing handling when sizing/moving and/or emu paused is less hacky now.
Also fixed a slight bug with the "pause emu when main window minimized" thing: now it won't unpause the emu if it was manually paused before being minimized.
2009-04-03 17:42:35 +00:00
Luigi__ 748127d658 The frameskip now also makes the 3D soft rasterizer skip frames. But it causes a problem that appears in iDeaS: 3D and 2D aren't synchronized when using frameskip. Feel free to revert it if that problem is annoying for you. 2009-04-03 12:33:10 +00:00
Luigi__ b8a2915c26 More efficient frameskip by using NDS_SkipFrame(). Also tried to fix the framerate limiter (maybe we should just revert to the semaphore system and try to make it more precise?). 2009-04-03 12:19:10 +00:00
matusz c3ee047c7e glade: notify user about lack of 3D (failed NDS_3D_ChangeCore) 2009-04-03 08:01:35 +00:00
matusz 21f8b3fbcf update manpages for cli, gtk, glade ports 2009-04-03 01:03:42 +00:00
matusz c60ce7faa1 synchronize default emu keys to the windows version 2009-04-03 00:28:52 +00:00
matusz 99fa5a3c76 glade: stop emu keys from blocking gui keys 2009-04-02 23:31:02 +00:00
zeromus 430a6064b7 change lag counter to be cumulative instead of instantaneous. also fix some file line endings 2009-04-02 22:48:32 +00:00
zeromus e1f77790cc tweaks to lag frame 2009-04-02 22:27:06 +00:00
p989 fd09b81b07 win32: lag counter 2009-04-02 22:05:51 +00:00
Luigi__ 4d6ac95a44 Inlined desmume_cycle() and desmume_running() for speed. 2009-04-02 20:25:45 +00:00
zeromus 8009863daa see if this fixes the build in non-windows 2009-04-02 18:37:21 +00:00
zeromus 8c7c89f036 oops i failed to checkin everything 2009-04-02 17:01:17 +00:00
zeromus cf92e9fcd6 win32: integrate patch: add fast forward, target framerate control (other than 60), and input display 2009-04-02 16:59:57 +00:00
zeromus 85803255c3 rasterize: change polyid clearing method. it was a guess before, and now it is still a guess but it fixes a game 2009-04-02 08:28:06 +00:00
zeromus a039a35122 win32: fix small directdraw display bug which looked like a glitch inbetween screens sometimes with non-integer window scalings 2009-04-02 07:37:32 +00:00
zeromus 32ca5e236e rasterize: fix new bug with captured 3d 2009-04-02 07:03:41 +00:00
zeromus 21e027bfa1 rasterize: fix the most serious issues with texturing. i would now call the rasterizer useable. 2009-04-02 06:59:31 +00:00
Luigi__ 36a45e8cfc More precise and stable FPS limiter, not using the SDL semaphore system.
Also removed the "3D operation detected" dialog which is useless.
2009-04-01 19:40:39 +00:00
Luigi__ 56f013a04c Dummy commit for the sake of testing if kdesvn works. Please ignore this. 2009-04-01 16:17:37 +00:00
matusz 2baeab260d cli port: savetype commandline option 2009-04-01 00:20:32 +00:00
zeromus 80296899f2 add a "shut up" feature which kills all the active voices without otherwise interrupting the spu. handy for shutting up streaming sounds. hook it up in windows. 2009-03-31 22:11:00 +00:00
matusz d1ccf402ad gtk port: make keypad allow menu/toolbar accel keys to work too
also: translate some french comments and remove some other
also: silence 2 glade warnings
2009-03-31 21:40:37 +00:00
zeromus 7f0616d4ba fix some vs2008 builds 2009-03-30 19:01:39 +00:00
matusz be311cbd44 glade port: allow 3d renderer command line selection when no GTKGLEXT 2009-03-30 12:26:39 +00:00
zeromus 928cf15312 convert file to ascii 2009-03-29 22:17:30 +00:00
zeromus d515af0367 fix windows builds so that they can run without winpcap.dll being installed. this causes the initialization of softAP to be conditional. also add an assert where luigi needs to decide on a return value. also add an extensible driver system so that new platform-specific calls can be made from the core emulator without breaking all the other ports. look in windows port for an example of how to extend it. feel free to criticize the architecture before we get too stuck on it. 2009-03-29 21:38:06 +00:00
matusz f10f44b0ac glade port: reenable gtkglext 3d rendering 2009-03-29 19:12:08 +00:00
matusz 1fb75500a0 add rasterizer to gtk-glade, make it default renderer for cli,gtk,glade 2009-03-29 17:51:26 +00:00
matusz 443c3529d3 gtk-glade: split Saves menu into File and Config submenus 2009-03-29 12:22:59 +00:00
luigi__ 772d30531e New game info dialog. 2009-03-28 23:59:36 +00:00
matusz 6260a74e6d gtk-glade port: load savegame from command line 2009-03-28 13:40:00 +00:00
zeromus 64dd5ac5ef fix crash in wifi 2009-03-27 20:34:49 +00:00
matusz 2412eefa6f gtk-port: kbd save/load ; make controls additive
one can load (f1-f10) and save (shift+f1-f10) from keyboard while playing
corrected a bug that made controls pressed together not work

changed ISO8859-1 in fr.po to ISO-8859-1
2009-03-27 19:46:44 +00:00
luigi__ f588bcf10e Added more wifi emulation. Some fixes, and support for two new types of management frames, as well as support for sending data frames. 2009-03-27 16:12:07 +00:00
matusz f2918281a3 gtk-port: command line option to load savegame 2009-03-27 13:32:04 +00:00
matusz a6c84b7078 gtk-port: add software rasterizer
gtk-port changes:
adding software rasterizer to the gtk port
adding option to select 3d renderer (null by default)

configure.ac: make osmesa enabling macro a bit more explicit
2009-03-27 12:50:47 +00:00
zeromus 8910583330 more graceful wifi compiling in vs2005 2009-03-26 23:00:40 +00:00
luigi__ 3b866964db Added code for the Wifi settings dialog. 2009-03-26 22:38:45 +00:00
zeromus 23a4437641 fixes for compiling new pcap stuff 2009-03-26 22:17:24 +00:00
luigi__ 447aa2e144 Added the winpcap lib to the link options.
Also, I added the EXPERIMENTAL_WIFI define, and the _WINSOCKAPI_ define which is required to get the Wifi core to compile.
2009-03-26 22:04:56 +00:00
luigi__ 3186220dfc Added the winpcap lib to the link options.
Also, I added the EXPERIMENTAL_WIFI define, and the _WINSOCKAPI_ define which is required to get the Wifi core to compile.
2009-03-26 21:40:41 +00:00
luigi__ 061f375146 Added all the include and lib files for WinPCap.
Warning: don't forget to provide the WinPCap DLL with the DeSmuME binaries when releasing!
2009-03-26 21:34:28 +00:00
zeromus 331c4ee269 [ 2710782 ] win32: saved window position gradually floats around the screen 2009-03-26 20:52:01 +00:00
luigi__ bbae9c713e Added a wifi settings dialog. 2009-03-26 16:51:55 +00:00
matusz f3a0a5fd60 cli-port: updated manpage 2009-03-26 14:07:20 +00:00
matusz 7c9647b954 cli port: in-game save/load 2009-03-26 01:47:51 +00:00
matusz dee9315f14 cli port: option for loading saved game 2009-03-25 22:56:48 +00:00
matusz 0a7e159408 make rasterizer optional in cli port 2009-03-25 22:11:43 +00:00
matusz 9fe45a37de add software rasterizer 3d to cli port 2009-03-25 21:19:47 +00:00
zeromus 776d0aa72a while i had a test case set up, make some small performance improvements to display capture copy loops 2009-03-25 17:11:16 +00:00
zeromus 823f0aebb2 parenthesize expression correctly 2009-03-25 15:14:57 +00:00
mtabachenko 85599d83e5 core:
- fix VRAM mapping
2009-03-25 12:03:59 +00:00
zeromus f302f00e0d win32: add a 3d fps counter so you can see how fast the game logic is running. this isnt as good as a proper lag counter 2009-03-25 04:51:07 +00:00
zeromus c1c5ff3b0e win32: at some point the emulator quit remembering the window position between sessions. i fixed that. 2009-03-25 02:40:27 +00:00
zeromus 62876b7be6 another fix to 3d capture (possibly a regression made the other day); additionally a fix to rotated bg coordinate wrapping 2009-03-24 22:40:03 +00:00
mtabachenko ab97b6c349 - many fixes in cheat system (core & winport);
winport:
- added edit, remove & toggle on/off cheat in list;
2009-03-24 20:16:56 +00:00
zeromus 2e51fcbf1f win32: somehow zip loading got left out of the vs2005 debug vcproj. i think there may have been some reason why, but i dont remember it 2009-03-24 04:11:41 +00:00
riccardom 3f4091d6fe Move saves menu under emulation to keep the gtk window size the same of the display. 2009-03-23 21:28:36 +00:00
zeromus eedb20b350 another fix for cross of venus, which should now display from boot-up. this is part of a nest of evil that has been opened up due to needing to support the rendering of 2d graphics even while display mode is `off` or `vram framebuffer` or `main ram from fifo` so we will need to keep our eyes peeled for games whose display modes are totally broken due to this. it should be easy to straighten out. 2009-03-23 18:05:49 +00:00
zeromus 1191fafd18 fix to capturing in a mode we hadnt tested yet. this fixes cross of venus 2009-03-23 03:02:36 +00:00
riccardom 5ce77db69f Use proper gint macros for converting pointers and ints in the new saves code. While at it convert the loop to a for one. 2009-03-21 14:21:22 +00:00
riccardom bc0cbc1f2e Correct _MSC_VER definition check 2009-03-21 14:09:29 +00:00
yabause 8d22c9363c Added save types to gtk port. I have no idea if
this work, please report problems... :)
2009-03-20 21:50:14 +00:00
zeromus 7f65461438 win32: restore oam and pal viewer scrollbars which had mysteriously vanished 2009-03-19 23:08:13 +00:00
zeromus d87ac68255 fix for loading savestates which mismatch current 8MB debug mode setting 2009-03-19 18:58:14 +00:00
zeromus 2a66e41ad5 add concept of #ifdef DEVELOPER ("dev+") build type which will be used to prevent costly diagnostics computations and finetuning configurations from slowing down other users. 2009-03-19 17:26:15 +00:00
zeromus 303bf1747f rasterize: small fix to shadows. i still can't get them working perfectly though :( 2009-03-18 02:55:37 +00:00
riccardom 1eed08c7ae Shut up gcc warnings for ignored fwrite returns. Frankly, who cares about bmp images :P 2009-03-17 19:23:21 +00:00
zeromus 3dca16b37a win32: [ 2607896 ] 1.5x Window Size 2009-03-17 05:57:37 +00:00
zeromus c3c3e48da7 win32: add separate framelimiter so that you can use frameskip 0 + limit (the old pre-0.9.1 style before I broke it) 2009-03-17 05:45:51 +00:00
zeromus 962d1e5e2d rasterize: more work on shadow accuracy. back to you, __luigi 2009-03-17 02:40:42 +00:00
riccardom 4e53839385 Shut up a few more warnings. 2009-03-15 14:55:44 +00:00
riccardom b95a7cc921 Remove unused variable and comment BTcoords while its users are commentend too. 2009-03-15 14:40:46 +00:00
riccardom f16052595d Fix compilation on !WIN32 2009-03-15 14:33:55 +00:00
mtabachenko f955afe276 core:
- added save/load cheats for other ports (sorry old saved cheats don't work, i change file format). later i fix winport cheat system
2009-03-15 14:03:02 +00:00
luigi__ 159f323068 Cartridge emulation entirely remade as I was trying to get the BIOS running. But I can't get the BIOS running.
The Nintendo logo checksum in the cart header is copied to 0x027FF808, allowing the firmware to detect the cart. But unfortunately you can't boot from it.
2009-03-15 13:43:07 +00:00
riccardom 311d723004 Made some functions static, removed one unused variable, and changed the type of string constant to const char*. 2009-03-10 21:27:40 +00:00
luigi__ e974a64498 Added the ARM7 GetBootProcs SWI. It fixes the firmware freeze when trying to do anything. 2009-03-10 20:05:40 +00:00
luigi__ 5f617ca6ef Added the ability to write to the external firmware image (when there's one).
The firmware can now save new settings!
2009-03-10 16:48:03 +00:00
luigi__ fabcf94d50 Fixed a lot of glitches with shadows (but there are still glitches).
If you think it's wrong, read this: http://nocash.emubase.de/gbatek.htm#ds3dshadowpolygons
GBATek rocks :)
2009-03-09 22:33:08 +00:00
zeromus 14efca22bd rasterize: some small speedups and experimental optimization code 2009-03-09 16:40:30 +00:00
zeromus e51385c0bf win32: fix a crash which happened randomly when the app exited 2009-03-09 05:07:30 +00:00
riccardom 44e6332c7b Add missing include. 2009-03-08 13:34:03 +00:00
riccardom ff9f900413 Remove cvs id leftover. 2009-03-07 21:03:56 +00:00
luigi__ ef3e819215 Fixed another bug. 2009-03-05 22:51:13 +00:00
luigi__ 345cf53d4a Fixed another bug. 2009-03-05 22:47:13 +00:00
luigi__ e548c3c257 Fixed a few bugs. 2009-03-05 22:44:18 +00:00
luigi__ 7a998d0d38 Added the needed code for the emulation settings dialog.
External BIOS, SWIs from BIOS, external firmware and boot from firmware now working.
2009-03-05 22:34:39 +00:00
luigi__ 6d2ca3ee33 Modified the emulation settings dialog to hold BIOS/firmware config. 2009-03-05 21:34:23 +00:00
riccardom 5ce4e91296 Fix some gcc warnings in rasterize.cpp: remove unused variables, rename shadowing variables, make a function static, change depth type to same of the variable it is tested against. 2009-03-03 20:57:42 +00:00
riccardom 09448f9404 Move nds7old under WIFI_EXPERIMENTAL, outside it's unused. 2009-03-03 20:43:14 +00:00
riccardom b6f31aabb4 Remove nested /* */ comments 2009-03-03 20:38:25 +00:00
zeromus fbd906ba8d try fixing unresolved link errors with gcc 2009-03-03 20:04:16 +00:00
riccardom 96f784de02 Remove three functions that has been made static in MMU.cpp 2009-03-03 19:41:49 +00:00
zeromus 964e164d2a substantial core peformance improvements of a few FPS: remove checks for 0 parameters in operand ROR which was a big waste of time; also rearranged MMU read/write routines inlinedness and added some early outs for DTCM and main mem. The MMU read/writes are a mess and will be overhauled soon in separate checkins. 2009-03-03 02:01:38 +00:00
zeromus 91b27d48fa rasterize: clean up a little bit and speed up some 2009-03-01 16:40:19 +00:00
luigi__ 45d7d54c40 Some bugfixes here and there. Also, better timing.
And mostly, very incomplete implementation of SoftAP. ATM, it sends beacons every 100 ms, and tries to reply to probe request frames. But it doesn't work yet. If somebody can find what's wrong, he's welcome.
2009-02-27 13:37:29 +00:00
zeromus 3fc3cb346f rasterize: unexpected necessity: render any convex polygon without triangulating (more complex polygons can be created by culling) 2009-02-27 08:53:03 +00:00
zeromus 51ed1af70f rasterize: quads are now directly supported 2009-02-27 07:15:34 +00:00
zeromus 222664eb8c win32: default keyboard config was wrong for L and R buttons 2009-02-27 04:06:58 +00:00
zeromus a1ea7c6c62 rasterize: continue formulating new triangle engine into a form that will be easier to extend to quads 2009-02-27 04:01:26 +00:00
zeromus e7c46f12a0 rasterize: continue formulating new triangle engine into a form that will be easier to extend to quads 2009-02-26 09:06:24 +00:00
luigi__ cfc4dfe53d Coorected errors with WIFI_triggerIRQ. 2009-02-25 21:47:20 +00:00
luigi__ ba617f9b7e More correct emulation of the power registers.
(Tested, doesn't seem to break anything)
2009-02-25 21:32:56 +00:00
luigi__ e05df5f15f Hacked two regs, so most games don't freeze anymore when using wifi functionality.
But I'm perfectly conscient that it isn't correct emulation. I'll try to implement these correctly.
2009-02-25 19:20:47 +00:00
zeromus 2ac6e00def also ifdef my debugging code which only works on windows 2009-02-25 09:58:14 +00:00
zeromus b804bd6ebc add a hotkey to switch gpu cores. add a new triangle rasterizer (currently disabled) which should yield more accurate results once we wrestle with it some more. split the pixel ops out of the rasterizer so that it can be worked on mostly independently. 2009-02-25 09:57:06 +00:00
luigi__ 33ec203f93 Some fixes to the wifi core, mostly to the BB writes, but also a very inaccurate random generator (uses rand() atm), and saving all the I/O values to a buffer, for unsupported I/O ports, and support for 32-bit reads/writes to wifi I/O ports.
Games still freeze on wifi transmission but now they send stuff to the wifi core.
2009-02-24 22:59:41 +00:00
zeromus f0e0d21227 defer installation of polyattr until a begin command, and give a warning when you try to set polyattr inside a begin/end pair since this is probably a mistake. 2009-02-24 20:33:15 +00:00
gecko_reverse 5c158071b8 cocoa port codeblocksproj/rakefile put their stuff in the build folder now 2009-02-24 08:25:50 +00:00
gecko_reverse 714e2b445b added Italian translation to cocoa port thanks to Paolo Bernini. move cocoa translation files to their own folder to simplify things 2009-02-24 03:22:12 +00:00
gecko_reverse 127e0066f2 cocoa compile fix (needed texcache) 2009-02-24 02:19:41 +00:00
luigi__ 2e2f0428ab Fixed a bug with screen gap of 64 pixels. 2009-02-24 00:41:48 +00:00
luigi__ 25a144e820 Display should now work for people who have their desktop color depth set to 16bpp (RGB 565).
Also added more correct handling of unsupported desktop colour depth.
2009-02-17 00:59:35 +00:00
luigi__ 20ff3c2e0f The WM_LBUTTONDBLCLK message is now handled.
This makes the SPP puzzle mini-game much easier to play.
2009-02-16 22:07:37 +00:00
luigi__ 52fc632ec7 Enabled the lid open/close key. 2009-02-16 00:30:59 +00:00
luigi__ f9c98a3202 Fixed a possible bug with read/write flag of big-endian commands. 2009-02-15 12:12:37 +00:00
zeromus 448161a65c windows: change debug builds to use fast floating point. since thats what we want final builds to use. also, prevent hotkeys and input keys from working while the game window is not foreground 2009-02-15 02:22:26 +00:00
luigi__ 40eaf9f5d6 Added support for viewport. 2009-02-15 01:38:48 +00:00
zeromus 0e2532cc85 rasterize: fix an interaction between polyids and shadows resulting in failure to render shadows sometimes 2009-02-15 01:28:36 +00:00
luigi__ 2fbf9e8d94 Fixed the shader availability check once again.
Also added more infos for shader creation errors.
2009-02-15 01:19:28 +00:00
zeromus 127f345a9c apparently the very ancient form was wrong for thumb. now it is back to the most modern form, but it looks different than the arm equivalent. we need an expert to sort this out, or we need to find a rock solid arm cpu emulator and compare it to that. 2009-02-14 22:32:30 +00:00
zeromus 8dd437b984 fix ff4 zoning bugs. its the SBCS/RSCS flags again. I reverted these to very ancient forms, in arm and thumb. Lets try it out for a while. 2009-02-14 22:28:32 +00:00
zeromus 842b39d1a6 fix the RGB ordering of dumped textures 2009-02-14 22:24:45 +00:00
luigi__ 7ad6fc5257 Added support for 16-bit and 32-bit read/writes to the RTC reg,
and fixed the little-endian commands.
With these fixes, the SPP menu background has now the right colour depending on the time (formerly it was always night blue).
2009-02-14 22:04:24 +00:00
riccardom fc6cbdf03d Removed redefition of WORDS_BIGENDIAN on big endian machine as showed by
this build log on ppc: http://buildsys.rpmfusion.org/logs/fedora-development-rpmfusion_free/2765-desmume-0.9.1-1.fc11/ppc/build.log. Spotted by Andrea
Musuruane.
2009-02-14 13:36:21 +00:00
riccardom a5cdad9ff8 Apply patch from Andrea Musuruane to fix compilation with g++ 4.4, fix #2599049. 2009-02-14 13:26:33 +00:00
luigi__ d5c80e3681 Corrected the DS gap to 64 pixels (Thanks to Atma). 2009-02-14 12:20:50 +00:00
luigi__ 096ff9dd4c Added an option to separate the screens. ATM the gap between the screens is white, maybe you won't like it, I'll try to make it prettier in the future.
There are 3 options:
-No separation (screens stuck together)
-Narrow border (5-pixel border, like NO$GBA)
-DS (90-pixel gap, approximatively reproduces the gap on the DS)

Also added the missing Help->About menu item to the French and Danish menus.
2009-02-13 14:29:07 +00:00
luigi__ 017949cacb Fixed a bug with PM hours in 24-hour mode. 2009-02-12 18:51:08 +00:00
riccardom abb57abc6e Fix "gfx3d.cpp:622: warning: array subscript is above array bounds" by removing that line that is now unused (confirmed by zero). 2009-02-11 20:32:17 +00:00
zeromus 1226363d5d rasterize: perspective correct material colors--not doing this was a bug. optionally interpolate material colors when clipping. the hardware doesnt do this, but it looks ugly on the hardware and unless I am debugging I want it done. 2009-02-11 08:58:26 +00:00
zeromus ce7cb192ed win32: cleanup and fix bug where input is ignored during frameadvance 2009-02-11 05:21:40 +00:00
zeromus b3d0485587 win32: fix some hotkey bugs. change how the main wndproc works, because it was working in a lame way before. this might have some subtle undesired effects but none of them serious 2009-02-11 04:45:08 +00:00
zeromus cfdc18fa53 win32: route all the old hardcoded accelerators through the hotkey system 2009-02-11 04:23:52 +00:00
zeromus 4247b76b47 win32: move hotkey code and definitions to its own file, for more easy organization 2009-02-11 03:14:36 +00:00
zeromus 41b8605937 win32: pass #2 of adding snes9x input configuration - hotkey system added 2009-02-11 03:05:59 +00:00
luigi__ c9bf594a3f POV diagonals now work correctly. 2009-02-10 22:16:18 +00:00
zeromus 4b4b307f0e win32: try this to fix compilation on older sdks 2009-02-10 21:45:30 +00:00
luigi__ c73cc81494 Added support for decal texture blending and toon/highlight shading. 2009-02-10 16:57:52 +00:00
luigi__ f42c529a5a Fixed language support for Vista. 2009-02-10 16:28:22 +00:00
mtabachenko 93a6318a42 -fix render & OSD (moved to gpu.cpp) 2009-02-10 12:54:10 +00:00
mtabachenko 7e4d70f2b8 - fix bug #2584564;
current osd method slow and incorrect. this need to rewrite. I think need make: data send to OSD buffer in core, but data from osd buffer must render in port depend (ex. in windows with DDraw). still this will fix display capture.
2009-02-10 10:56:39 +00:00
zeromus 3cb5c4a7c1 win32: fix joystick up/down; add something back for rumble support, but still havent tested it 2009-02-10 08:21:48 +00:00
zeromus 07ca5cc0a3 win32: pass #1 of adding snes9x input configuration - input binding system and dialog implemented, meshed with our directinput joystick system for rumble support. I have no rumble pad; can someone test it? 2009-02-10 06:47:06 +00:00
luigi__ b24f4fe17e The window is now refreshed even when resized or moved. 2009-02-09 22:21:14 +00:00
luigi__ 7dedcf1ab5 Made the OSD messages totally rotation aware. Thus, for example, when using rotation, the FPS counter doesn't rotate anymore.
Also a bit of cleanup (removed some unused funcs in main.cpp).
2009-02-09 22:07:49 +00:00
luigi__ 68375447ed Fixed a bug with texcoord generation mode 2 (normal). 2009-02-09 19:08:06 +00:00
luigi__ 32fd9d5ec5 The emu is now paused when minimized.
WM_PAINT is handled when the emu is paused so the screen is still refreshed.
The screen buffer is filled with white upon reset, if you don't like it you can set another color.
2009-02-09 18:59:52 +00:00
luigi__ a94dd4290e The GPU image data is now drawn to a temporary buffer, then copied to GPU_screen.
This avoids OSD messages overprinting when the screen isn't refreshed (for example when closing the lid).
2009-02-09 18:08:47 +00:00
luigi__ 2a47d2bcf6 Added support for Sleep mode (experimental), so for most games, when you close the lid, the game won't continue running. Also improved a bit the close lid func (no need to pause the SPU).
Also added basic support for the SPI power management device.
2009-02-09 17:18:58 +00:00
zeromus eedd91854f rasterize: clean up some interactions between translucent polyids and shadows 2009-02-09 02:22:00 +00:00
zeromus 56eb522142 rasterize: stencil shadows 2009-02-09 01:32:47 +00:00
zeromus d50d5720e7 rasterize: fix same transparent-translucent blending on same polyids 2009-02-09 00:51:19 +00:00
zeromus 22e651884a rasterize: a trivial optimization which i had been itching to make 2009-02-09 00:23:17 +00:00
zeromus 852ede072a rasterize: fixes to depth buffering. now w- and z- buffer both work. also update version to 1.9.2 2009-02-08 23:38:21 +00:00
zeromus be2a4ba077 rasterize: clipping works the way it should now. 2009-02-08 22:52:10 +00:00
mtabachenko 0653b9ec11 winport:
- fix Intel C++ project;
2009-02-08 21:42:16 +00:00
luigi__ 920be714ac Stub implementation for ARM7 SWI #7 (Sleep), by writing 0xC0 to HALTCNT, exactly as on the DS.
TODO: implement HALTCNT at the MMU side.
2009-02-08 21:38:30 +00:00
zeromus 650fa47468 fix to authors file 2009-02-08 21:29:40 +00:00
yabause 9668f3014f Added some missing files to windows port. 2009-02-08 15:45:22 +00:00
yabause b5e4481313 s/0.10/0.9.1/ 2009-02-08 14:35:05 +00:00
luigi__ f6c6d12fd9 The output sound buffer is now zeroed out before mixing, that prevents noise when the SPU is disabled.
Cleaned up the SPU read/write funcs (removed useless switch statements).
2009-02-08 11:49:56 +00:00
zeromus dcd2d76e96 rasterize: fix the most serious clipping issues which rendered games unplayable. now they are merely ugly 2009-02-08 05:55:07 +00:00
riccardom 5219aca9dd Fix gcc compilation as suggested by zero on irc. 2009-02-07 17:45:33 +00:00
luigi__ 21c2b4ebfc oops... forgot to remove something. Never mind. 2009-02-07 17:20:13 +00:00
luigi__ e3f4325160 Fixed the texcoord generation mode 2 (normal).
I know it's strange, but it seems the transform must be applied on the raw texcoord val, not on the floating-point one.
2009-02-07 17:19:26 +00:00
luigi__ 1029997586 Added support for the polygon ID shit, using the stencil buffer.
I also changed the values used when rendering opaque polygons or shadows, so they don't interfer with the translucent polygons.
We can now close the bug report #2488334 for good!
2009-02-07 14:18:51 +00:00
zeromus cb70fb5af6 rasterize: better clipping. still a horrible bug somewhere, and w-buffer doesnt work 2009-02-07 10:11:18 +00:00
zeromus 07055b389c rasterize: first attempt at clipping. works well, but still glitches 2009-02-07 06:56:07 +00:00
zeromus 410143f6b5 rasterize: I dont think it made sense to interpolate material alpha. just one value per poly 2009-02-06 17:31:24 +00:00
zeromus e2f324c466 nope, my way is much faster, and clearer to boot 2009-02-06 16:51:00 +00:00
luigi__ 9c622b790f Oops, somebody removed my triangle-strip vertex submitting, probably not on purpose. 2009-02-06 15:13:16 +00:00
luigi__ 30fe4c5d0d Removed an assert which broke SM64DS. 2009-02-06 15:06:30 +00:00
zeromus de0b2d6dc9 rasterize: z-buffering and more accurate blending 2009-02-06 09:28:01 +00:00
zeromus 6118e62c10 fix a tiny error in the ogl renderer state caching 2009-02-06 06:50:40 +00:00
zeromus a73e0bf6a2 rasterize: handle polyids, improve transparency logic 2009-02-06 04:56:14 +00:00
zeromus a0940cad34 rasterize: improve texturing precision 2009-02-06 04:14:11 +00:00
luigi__ cd962b82e4 Better culling (thanks to sgstair).
Changed the vertex submitting method as I did for OGLRender. The clockwise-defined triangles are re-ordered as the renderer doesn't seem to like them.
And last, added SoftRast before the function names, as I had to do with OGLRender.
2009-02-05 21:52:58 +00:00
luigi__ 47fed9080a Seems Resedit had a problem saving this bitmap :/ 2009-02-05 15:56:01 +00:00
luigi__ aefe74fb0e Added a 20x20 background bitmap.
(Will be used in the new viewers)
2009-02-05 15:46:57 +00:00
zeromus 26abbe2f7f rasterizer: fix texture sampling issues and drawing of back faces 2009-02-05 10:16:19 +00:00
luigi__ 6a4cbf19c4 Again some adjustments to the BG map viewer template. 2009-02-04 21:33:00 +00:00
luigi__ 197d126736 Changed a bit the new bg map viewer pattern. 2009-02-04 20:47:26 +00:00
riccardom 228fb78696 Declare variables in the same order they are initialized to fix a gcc warning. 2009-02-04 19:39:11 +00:00
riccardom 7911585bdc Make a function static. 2009-02-04 19:38:23 +00:00
luigi__ e67704d5b7 Changed the vertex submitting method: all the polys are rendered as triangles, so the vertex number can be anything you want. It doesn't seem to cause glitches.
It'll probably be required for clipping, as we'll need replacing clipping vertices properly, like the DS does.
2009-02-04 19:14:13 +00:00
zeromus eca3d75efd rasterize: fix off by one texel error 2009-02-04 03:28:50 +00:00
zeromus 8b24e2c386 didnt mean to leave texture dumping enabled 2009-02-04 02:45:38 +00:00
zeromus 33be370fe6 rasterizer: more correct texturing and alpha blending 2009-02-04 02:34:07 +00:00
luigi__ ac68f0317f Added the template of the new map viewer. I'll start coding it tomorrow.
(For info, you shouldn't commit resource.h after having just saved it with VS just to test Resedit, it gives me conflicts with TortoiseSVN, and Resedit can still open it. It just annoys me. Thank you for your understanding.)
2009-02-03 22:32:29 +00:00
mtabachenko c070b10034 - opps, forgot remove it 2009-02-03 22:26:45 +00:00
mtabachenko 23f54c7d71 moved timers id for Windows port in common.h :) 2009-02-03 22:26:01 +00:00
zeromus 3d7cfba55f saving from vs2005 once more. see how resedit likes it 2009-02-03 22:04:36 +00:00
luigi__ 6a769e0bc0 Moved the timer IDs to an external include because, if they're located in resource.h, Resedit will blow them up when saving. 2009-02-03 21:53:37 +00:00
zeromus 107ede7375 this is what happens when i save resources back out with vs2005. can luigi still load them? 2009-02-03 21:42:06 +00:00
mtabachenko 50e13fc8c6 fix for windows resources; 2009-02-03 21:36:50 +00:00
luigi__ 9d6fc8d726 VS doesn't seem to support sublang IDs, so we'll cheat a bit.
(Anyway I don't think they're so important)
2009-02-03 21:21:41 +00:00
luigi__ 856afa2116 Fixed compatibility with Resedit.
Test: just opened the resource file with Resedit and saved it. The file is now said to be generated by Resedit. If VS can't handle it, revert this commit.
2009-02-03 21:11:59 +00:00
luigi__ c0606403cf Added two defs for Resedit to work correctly with the resource file.
(Reminder: I plan to remake the tools and I'll use Resedit as my VS2008 is Express and doesn't have resource edition)
2009-02-03 20:49:01 +00:00
riccardom a67566b01f Add static qualifier where due. 2009-02-03 20:08:21 +00:00
zeromus 9ba8408af9 rasterize: i give up trying to make the interpolator precision good. that is a waste of time right now. just clamp material colors to the right range 2009-02-03 19:51:58 +00:00
riccardom 54b392d76b Add missing files to makefile and add proper includes to let desmume compile again. 2009-02-03 19:40:05 +00:00
zeromus a680b58121 if microsoft is going to play games with where they stuff their libraries, i will just checkin their libraries myself 2009-02-03 18:32:07 +00:00
luigi__ fbff3694c6 Oops... forgotten to add chan->x to savestates (this variable is needed for PSG white noise). 2009-02-03 17:37:19 +00:00
luigi__ a2548e687b Added GDI+ setup as I plan to rewrite the viewers soon (they'll use GDI+).
But, we do keep DirectDraw for the main window!
2009-02-03 17:34:10 +00:00
zeromus a0cade405f rasterize: speedups 2009-02-03 08:17:43 +00:00
zeromus 5e90f6ae10 rasterize: perspective correct textures and backface culling 2009-02-03 07:49:28 +00:00
zeromus 517a27294a rasterize: textures, shading, blending 2009-02-03 06:36:36 +00:00
zeromus 0d4cf9fe49 fix a bug in the vertex list generation which resulted in empty, unlinked vertices in the list. also added a few variables to savestate 2009-02-03 04:51:18 +00:00
zeromus d4604c7d81 add recently created files to vs2008 vcproj 2009-02-03 02:36:53 +00:00
zeromus 9c99aa58c8 add new file to makefile. add newline to end of common.h 2009-02-03 02:08:06 +00:00
zeromus 64feb0117c extract texture cache from OGLRender so that it can be reused by rasterizer. add interpolator for material color and texture to rasterizer 2009-02-03 02:03:49 +00:00
mtabachenko 49365a2630 typo fix in 3d save state; 2009-02-03 01:15:57 +00:00
zeromus 73b541a2c7 fix the lurking issue that made alpha permanently break after loading a savestate. astounding, yes, but true. this MUST make it into 0.9.1 2009-02-03 00:06:34 +00:00
zeromus 38d10282f4 rasterize: fix viewport and perspective transformations. now triangles are rendered terribly in the correct place 2009-02-02 22:15:46 +00:00
riccardom fff695d3c1 Remove an empty function, used as a callback though. 2009-02-02 22:11:53 +00:00
zeromus 257a138d82 software rasterizer stub complete with terrible flat shaded tri renderer 2009-02-02 22:09:09 +00:00
riccardom 3d78ca9c1c Hook the nice NDS_SkipFrame() function, this gives us a bit more boost with frameskip on. 2009-02-02 22:03:27 +00:00
yabause c17e0a6037 s/addons.c/addons.cpp/ 2009-02-02 21:47:31 +00:00
riccardom 650ac714da Looks like this should be const instead of static, nothing changed in practice. 2009-02-02 21:18:48 +00:00
riccardom 361220ce5d Enable reset at launch time and not on rom file open. This way it will work even when the rom is passed as argument. 2009-02-02 21:13:15 +00:00
zeromus 2c0656a786 fix changelog 2009-02-02 20:46:21 +00:00
riccardom b068d69810 Remove another unused var. 2009-02-02 20:46:06 +00:00
zeromus e3e45c4606 get rid of gcc warnings. 2009-02-02 20:39:00 +00:00
riccardom d107e7b2f4 Remove unused variable. 2009-02-02 20:34:46 +00:00
mtabachenko 4cb665c1e9 minor fix ChangeLog 2009-02-02 08:08:20 +00:00
zeromus 4bacc49da2 minor speedups to gpu 2009-02-02 04:37:25 +00:00
zeromus 839f66924c fixed a bug in the aboutbox scrolly credits 2009-02-02 02:43:08 +00:00
zeromus 75e56280c1 windows: very slightly speed up rotation / final color conversion 2009-02-01 23:21:41 +00:00
zeromus 499adfe59c work on the changelog 2009-02-01 02:13:22 +00:00
zeromus 869f56bf41 correction to the new affine bg handling: parameters must be reset to the last user-specified value before scanline 0. 2009-02-01 01:28:34 +00:00
luigi__ d66fd4ab85 Rewritten the incorrectly implemented setFinalBGColorSpecialIncreaseWnd and setFinalBGColorSpecialDecreaseWnd functions. This fixes the part 1 of the glitch #2488334 (SPP puzzle glitch). 2009-02-01 00:24:03 +00:00
zeromus 3bb392c413 [ 2488334 ] fix (SPP affine rotation display bug)
also start capturing register disp3dcnt but not using it for anything yet
2009-01-31 23:45:12 +00:00
zeromus 0f8211ec84 add new newIrqFlags variable to savestates 2009-01-31 22:15:20 +00:00
luigi__ 9cd1ad785e Better BIOS IRQ wait routines, supporting old IRQ flags discarding.
This seems to fix all the SPP problems!
2009-01-31 19:37:06 +00:00
riccardom 61a36046d4 Rename a variable that returns something ret from i. 2009-01-31 17:20:49 +00:00
riccardom f9d572f07a Move rom serial related code from NDS_LoadROM to an helper function and clean it up a bit. 2009-01-31 17:01:13 +00:00
zeromus b884832675 re-add my change to stop throttling when frameskip is 0, but do it right this time, so that autoframeskip causes the throttling to enable as a limiter 2009-01-31 16:44:06 +00:00
riccardom 97b86029a6 Add a missing free of a NDS_header struct. While at it cleanup things a bit. 2009-01-31 13:23:31 +00:00
luigi__ 3221fc2a88 Revert the last change because we lost the ability to limit framerate when using auto frameskip, which can be annoying.
I think we should rather add a "Limit framerate" option.
2009-01-31 13:13:54 +00:00
zeromus 36e1fee5fe disable throttling when frameskip is 0 in windows, so you can sort of fast forward, or test how fast the emu is running. also revert a couple hacks in oglrender which I do think cause a net glitch count increase 2009-01-31 05:20:06 +00:00
zeromus 19f9cd36fc fix: [ 2550645 ] Super Princess Peach: crash when starting a puzzle 2009-01-31 04:47:23 +00:00
gecko_reverse 98c68d8d89 added more keyboard buttons to the input settings 2009-01-31 04:36:48 +00:00
gecko_reverse 98528a75a7 fixed left and right key config (thanks to Arakun for finding the bugged code) 2009-01-31 04:20:53 +00:00
zeromus bf054c32ed fix vertex source texcoord generation (fixes environment mapping e.g. stars in sm64); this is a low risk fix and could be safely ported into release branch 2009-01-31 04:01:10 +00:00
zeromus 2578a0a291 fix a serious bug which crippled 3d engine loading from savestates. this should be ported to release branch. also add some missing dma state to savestate. 2009-01-31 03:40:20 +00:00
zeromus 09229a159e fix dual screen 3d bug: when capturing 2d+3d output, but the display mode is not producing 2d+3d data (such as in vram display mode), then we should peek directly at the 3d output as if we were capturing 3d output only 2009-01-31 02:58:45 +00:00
luigi__ e4a7588d4a Added casts from s16 to s32 in the PSG noise func.
Added the new channel_struct variables to savestates.
Fixed the wave write core (WMP doesn't complain anymore when playing a wave file recorded from DeSmuME)
2009-01-30 13:08:50 +00:00
gecko_reverse 8c2a951941 mac compile fix 2009-01-29 23:54:55 +00:00
zeromus e661331bd1 revert something crazymax did in dma which broke repeating dmas 2009-01-29 14:38:11 +00:00
luigi__ 18fa16d748 Added support for PSG white noise. 2009-01-29 14:34:28 +00:00
riccardom a87501a235 Put brackets around a possible empty macro. 2009-01-26 19:52:42 +00:00
riccardom 23cffd809c Make gfx3d_FlushFIFO() static. 2009-01-26 19:51:07 +00:00
zeromus 2df831cbb0 add some diagnostic messages 2009-01-26 18:43:34 +00:00
mtabachenko 4e9176a4c0 core:
- add busy flag in GXSTAT for BoxTest, PosTest & VecTest;
- fix pop matrix stack;
- GXFIFO emulation (with USE_GEOMETRY_FIFO_EMULATION definition in FIFO.h): I some corrected FIFO, but this have errors. On Homebrew roms (with small commands buffer) it`s work perfectly, but in commercial games with glitches. I can`t understand when it is needed flush GXFIFO to render. I always get the buffer overflow and loss of data. Where is a bug? I wrote small test for GXFIFO for comparing to the real DS (http://www.turboupload.com/files/get/wuf9IR3Oo1/fifo-3d.zip)
2009-01-26 13:18:17 +00:00
zeromus 18fed5b2ac speedup to x/y window handling code by precalculating as much as possible at beginning of scanline or when WIN0H* are set 2009-01-26 09:28:09 +00:00
zeromus fecd7ffd69 fix a bug that made some sprites get cut off in x=255; also some small speedups in GPU 2009-01-26 07:58:13 +00:00
zeromus 9689548ac8 change back to linear interpolation in SPU. it seems a bit extravagant now. perhaps we should make it configurable.. or, for luigi__'s consideration, I added a commented-out cos lookup table instead of doing the full call to cos() 2009-01-26 07:55:36 +00:00
zeromus 990c2a062e fix a bug in windows framerate throttling which made frameskip auto unable to skip frames. 2009-01-26 07:53:42 +00:00
zeromus 1d71a7d4b7 check me crazymax: it is a shame to have to memset the fifo so often. would it be sufficient just to reset the tail? 2009-01-26 07:02:50 +00:00
zeromus 0055130494 readme crazymax: matrix stack "size" is 31 for 32 entry stack (silly, i know) so your overrun check was wrong. 2009-01-25 22:11:50 +00:00
mtabachenko 63605b9967 core:
- added stack level into GXSTAT register;
2009-01-25 20:49:24 +00:00
zeromus b0fbd6a919 fix to sprite windows which I broke the other day. various speedups in win32 and in GPU 2009-01-25 20:16:19 +00:00
riccardom 26dc322b2c Remove extern stuff thas has been made static in GPU.cpp 2009-01-25 15:52:53 +00:00
zeromus 0c8e597533 finish some things i meant to do in the mosaic system and do some other gpu cleanups. 2009-01-25 07:26:01 +00:00
zeromus 1f2982fa5c fix recently introduced bug which made >256 wide BGs crash the map viewer debug tool.
remove redundant GPU blending code and add a lookup table.
2009-01-25 06:12:19 +00:00
riccardom 82b6c5c8ea Reenable gtk-glade compilation with offscreen mesa enabled for gtk frontend. 2009-01-24 13:43:46 +00:00
riccardom a3775a0138 gtk-glade: make a couple of functions static 2009-01-24 13:07:46 +00:00
riccardom 577a91896b Oops, i missed to commit the same change to header :) 2009-01-23 22:30:44 +00:00
riccardom c23054364d We can make quite a bit of data const. 2009-01-23 22:28:45 +00:00
riccardom 1f68f2de4a Make a few functions static and put parentheses around shift operators 2009-01-23 22:21:14 +00:00
riccardom 1b10babf27 Add proper includes to compile on linux (patch by gualteri) 2009-01-23 22:13:13 +00:00
yabause d2070ca6e5 Updated version number to something else, so users testing
svn won't get confused.
Also removed the check for a C compiler. It seems that
when searching for both a C and a C++ compiler, configure
don't care that there's no C++ if there's a C one.
2009-01-23 14:21:28 +00:00
mtabachenko dd167055b2 fix typos in addons and make functions is static (thanks xrmx) 2009-01-23 10:09:09 +00:00
mtabachenko f9d81fcd0d core:
- add experimental GFX FIFO emulation (It has a bit bugs and a revision is required. I will endeavour to correct it soon)
2009-01-22 21:50:51 +00:00
riccardom 992214a67a Fix a buffer overflow :) 2009-01-22 20:49:13 +00:00
riccardom 74a217400b noext is allocated by malloc in strdup so use free instead of delete []. 2009-01-22 20:40:18 +00:00
riccardom 3289c31d62 Make a couple of functions static. 2009-01-22 20:17:57 +00:00
riccardom bfc30a659e gcc does not like to skip variable initialization with gotos 2009-01-22 20:13:05 +00:00
zeromus 672b8e3c8f apply my planned mosaic optimizations to BG 2009-01-22 07:24:57 +00:00
zeromus 3e57278979 fix crash after loading savestate matrix stacks originating from revision 1513 2009-01-22 07:22:46 +00:00
zeromus a6b21e74e1 never mind. i was persuaded that i was wrong 2009-01-22 06:29:21 +00:00
zeromus b8b16c02df I think we should throw out touch input when it is out of bounds of the touchscreen, instead of clamping it. what do other people think? 2009-01-22 05:59:45 +00:00
luigi__ c6c4871020 Implemented a more efficient frameskip support, skipping frames at GPU level, which is loads faster.
It only works for Windows port atm, to make it work in the other ports :
call NDS_SkipFrame with param : true = skip the current frame, false = render the current frame.
2009-01-21 22:35:46 +00:00
luigi__ 47785d2015 Some minor optimiSome minor optimizations to the BG mosaic func.
Feel free to correct any problem I may have introduced!
2009-01-21 21:48:44 +00:00
mtabachenko d742dd7745 core:
- fix quick save states (bug in geometry)
2009-01-21 19:43:40 +00:00