Commit Graph

1172 Commits

Author SHA1 Message Date
mtabachenko 445c953371 core:
- fix VRAM bug (ex. NSMB fixed background missing on map)
2008-12-08 09:15:40 +00:00
gecko_reverse 339727fab1 compile fix for NDS_exec 2008-12-08 07:19:49 +00:00
zeromus 2f522dc81f fix more bugs in map view tool (values were mismatched and messed up) 2008-12-08 07:09:06 +00:00
zeromus 39a5aa7b50 revert crazymax's change to master brightness. it looks 100% wrong, so I dunno what he was trying to do. now fades on subscreen work correctly 2008-12-08 06:52:38 +00:00
zeromus 7cb8b54dc3 - I think other ports will be broken. Please change NDS_exec() to NDS_exec<FALSE>()
- Repair some things which had recently degraded win32 performance
- Render 3d on scanline 213 instead of at vblank, since that is when rendering begins on the device; this eliminates transient texture corruption when dynamic textures are uploaded after vblank
- myriad tiny performance boosts to emu and cpu core
- fix other tool dialog boxes which were malfunctioning
- add layer visibility flag to mapview tool
2008-12-08 06:32:29 +00:00
zeromus a47098cf71 fix bug(?) in new input config dialog that caused it to act freaky 2008-12-08 03:52:04 +00:00
adelikat 477d3f0a84 shaders.h fixes 2008-12-08 01:00:48 +00:00
yabause e82fa92c5a Removed config.h file as the file doesn't exists anymore. 2008-12-07 15:55:16 +00:00
yabause f8d567b948 fixed compilation for windows 2008-12-07 15:54:10 +00:00
yabause 10f8f40ffc Fixed compilation for linux and windows 2008-12-07 15:53:35 +00:00
riccardom e71197e4c8 Don't need two more variables, use them straight. Removes a ton of
warnings of unused vars.
2008-12-07 15:52:48 +00:00
riccardom 823bbb41aa Make createShaders() static. 2008-12-07 15:36:54 +00:00
riccardom c40e2f8f7e Make a loop counter variable unsigned to shut up gcc warnings. 2008-12-07 15:33:29 +00:00
riccardom cac9919280 Put second argument of macros under round brackets to avoid operator precedence
problems.
2008-12-07 15:28:44 +00:00
gecko_reverse 6066bda81e cococa port compiling again 2008-12-06 20:24:44 +00:00
yabause 8dc70c893b Patch by Salva Peiró (from inferno-ds):
See http://groups.google.com/group/inferno-ds/browse_thread/thread/acedc438fae01829
2008-12-05 23:10:36 +00:00
yabause 0c46504c2a Fixed compilation for linux, I guess it's still broke
on mac. (AFAIK, there's no need for *GetProcAddress on
mac)
2008-12-05 22:50:45 +00:00
luigi__ 330bbccb08 Forgot to update the project file. sorry... 2008-12-04 22:08:02 +00:00
luigi__ 00e8e666cb Fixed unaligned accesses. Now Rayman DS shows 3 intros. 2008-12-04 22:04:09 +00:00
luigi__ bd1367a536 Modified the GXSTAT register handling, this is still an ugly hack but some games (like Super Mario 64) don't freeze anymore. 2008-12-04 21:58:24 +00:00
luigi__ 5c457346db Added shaders for better 3D graphics
Fixed toon table uploading
GL extensions should now work under Linux with glXGetProcAddress (not tested)
GFX3D::HIGHLIGHT is now 1 as it's supposed to be
2008-12-04 19:48:46 +00:00
luigi__ bae065318f Implemented the lighting formula used by the DS + shininess table + fixed gfx3d_glGetDirectionalMatrix (I'm REALLY astonished that nobody ever seen how this function was incorrectly coded) 2008-12-04 18:48:32 +00:00
luigi__ ab7c20492b Fixed a few 3D function mismatches (for example setting light direction through reg at 0x040004C8 would assign the value as light color) 2008-12-04 18:46:02 +00:00
mtabachenko 6907ebfa93 core:
- fix bug in VRAM;
2008-12-01 00:26:06 +00:00
mtabachenko e00fc1b849 core:
- small fix in VRAM mapping control;
2008-11-30 23:54:05 +00:00
mtabachenko e5a0463b14 core:
- fix master bright (use only in EngineA);
2008-11-30 17:09:55 +00:00
mtabachenko e708fde3b3 winport:
- fix compile Intel C++ project;
2008-11-30 16:21:11 +00:00
mtabachenko 13101b934c oops, sorry (forgot remove one extern) 2008-11-30 15:42:15 +00:00
mtabachenko 7c9a646e52 core:
- rewrite VRAM mapping control & rendering;
2008-11-30 15:35:10 +00:00
riccardom 4a73940926 Removed printscreen.cpp entry, don't know if this will make it build again. 2008-11-29 15:09:43 +00:00
riccardom 01b3c77010 Kill WriteBMP and use the very same Printscreen functions from the gtk frontend.
This means a few more code duplication but remove some ugliness.
Now dev-cpp (i suppose) compilation is broken.
2008-11-29 15:07:31 +00:00
yabause df1e0d6737 Patch 2358908 by StrontiumDog with some changes.
This patch fix some more warnings. Most of them
being warnings about unused fread/fwrite results.
Instead of just discarding the result, the number of
read/write is stored in the variable and can be use
to know if there was a problem in the fread/fwrite calls.
(also change the variable names to elems_ instead of
bytes_ as the function returns the number of items not the
number of bytes).
2008-11-29 14:29:07 +00:00
yabause 3316d1e0b4 Added back the *DEBUG macros so you can choose which debug
messages you get by defining one or more of those macros.
Added configure switch to enable them.
2008-11-28 23:26:26 +00:00
yabause de243e9396 Removed gdbstub directory from compilation process when
--enable-gdb-stub is not used.
2008-11-28 22:57:28 +00:00
riccardom cfdf51a915 Add missing gtk_message_dialog_new() argument, pointed out by Strontium. 2008-11-28 22:38:11 +00:00
riccardom 8233f57bfa Removed unused variables pointed out by Strontium on irc, while
at it remove an useless initialization.
2008-11-28 22:30:30 +00:00
riccardom 19bc6f80cf Fix whitespace 2008-11-28 22:06:08 +00:00
mtabachenko 4bad0719ef - printlog() replaced on INFO(); 2008-11-26 14:09:41 +00:00
yabause c40f66382f Removed the shadow on some variable just to keep gcc quiet. 2008-11-25 21:04:31 +00:00
yabause fc2b5ee106 Some changes to the "memory profiling" feature:
- gtk frontend and core now use the same preprocessor definition
  to protect their code.
- removed the #define from the code and added a configure switch.
2008-11-23 14:52:43 +00:00
adelikat 2fabaf3003 Fixed windows build 2008-11-21 23:17:14 +00:00
yabause ffc9f0284f Here comes the new debug code...
there's good chance that I just broke the cocoa and
windows frontends, sorry about that.
2008-11-21 22:36:40 +00:00
riccardom 9575c907a7 Whitespace cleanup, no functional changes. 2008-11-21 10:39:14 +00:00
riccardom 5ed65db952 Use delete to release header memory. adelikat certified it doesn't break :) 2008-11-21 10:28:31 +00:00
riccardom 3653a8dfc1 Revert nds magic number check because it broke loading some homebrew roms. 2008-11-20 19:58:24 +00:00
adelikat 3e0f2e7734 Win32 - frameCounter resets when loading a new rom. Removed some of my debugging printlog statements 2008-11-19 14:28:49 +00:00
mtabachenko a2b5316b61 core:
- fixed broken input (typo fix);
2008-11-19 07:56:57 +00:00
normmatt234 a2b444e0fa More Save Auto Detection Sizes added.
Opps broke one of the save type buttons.
2008-11-19 07:48:00 +00:00
normmatt234 d8c104af01 Fix broken windows debugging tools (Disassembler Still not working correctly).
Added Flash 4Mbit save type
Fixed 2Mbit save type incorrectly set as FRAM.
2008-11-19 06:50:00 +00:00
mtabachenko 5ba5bff4d2 core:
- fix textures (ex. Castlevania DOS)
2008-11-18 09:24:23 +00:00