Commit Graph

1287 Commits

Author SHA1 Message Date
riccardom 014f42d293 Make functions without declaration static and remove unused i variables. 2008-12-15 21:25:46 +00:00
mtabachenko ff328543a0 core:
- cleanup gfx3d.cpp;
2008-12-14 19:48:43 +00:00
shashClp 70fe9c0f86 Removing credits for a persons work is something that I won't tolerate, more when it's my work.
It's OK to add more people, but not removing them. Also, as a general comment, that speed "improvement"
is completely stupid.
2008-12-14 18:14:47 +00:00
luigi__ ac7e151964 minor optimization to lighting formula 2008-12-14 16:32:19 +00:00
mtabachenko 36da3ccf07 core:
- 1st step for MMU split for procs (speedup);
- some changes in FIFO;
2008-12-14 14:56:26 +00:00
zeromus 9e8dada75e change arm9 sqrt and div. sqrt should be more precise, and the register access is more straightforward. 2008-12-14 00:29:51 +00:00
luigi__ 51e8d353da Fixed ARM9 hardware division when the denom is zero (see http://nocash.emubase.de/gbatek.htm#dsmaths) 2008-12-13 20:30:31 +00:00
luigi__ bb3be34cb9 Fixed a few bugs with looping feature (looped sounds now play corectly when using PAlib)
Changed interpolation to cosine interpolation (makes transitions smoother)
2008-12-10 18:31:56 +00:00
zeromus 0501a23279 fix windows build (fs-windows.cpp moved) 2008-12-08 22:03:57 +00:00
yabause 54c97f1624 Started to fix "make dist" as we should release sometime soon.
This commit broke the visual studio compilation as I moved
fs-windows.cpp back in "src".
I also removed some old files from gtk dir.
2008-12-08 21:57:05 +00:00
yabause 2a6fa23065 Fixed compilation on linux. 2008-12-08 20:27:09 +00:00
luigi__ e40813eece Fixed texturing when using fixed pipeline (thanks to zeromus for reporting this bug) 2008-12-08 18:07:40 +00:00
mtabachenko f41d634d5a core:
- some fixes;
2008-12-08 13:11:05 +00:00
mtabachenko f04f80ba20 core:
- fix VRAM mapping control (now this correct, in future need only add WRAM mapping);
2008-12-08 12:31:43 +00:00
mtabachenko 626e94e493 - exclude check address range in VRAM (may crash in some games :( ); 2008-12-08 10:18:50 +00:00
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