Commit Graph

1165 Commits

Author SHA1 Message Date
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
riccardom 38958f7998 Make not modified array const instead of static. gcc generates
the very same code though.
2008-11-17 21:04:12 +00:00
riccardom 33b739ad9e Fix variable shadowing in OGLRender by reusing u32 *dwdst
instead of declaring a u16 *dst.
2008-11-17 20:17:10 +00:00
riccardom 876a911a0d More robust check for roms:
- check nds roms magic number
- check that rom size is at least the expected size of the rom header
2008-11-17 20:14:32 +00:00
mtabachenko 1176c2a1a7 ops 2008-11-16 14:15:23 +00:00
mtabachenko 589cc4c43a - forgot for me :( 2008-11-16 13:59:53 +00:00
riccardom 604b8f466e Whitespace cleanup in list_files to save one level of indentation 2008-11-15 23:11:21 +00:00
riccardom 4a3c15d11a Reduce stack size a bit using proper size for buffer; reorder code a bit to
have a simpler error checking.
2008-11-15 23:09:46 +00:00