Commit Graph

1192 Commits

Author SHA1 Message Date
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
adelikat b5cd79371b Win32 - fix NDS_UnPause to not attempt to unpause if no ROM is loaded (causes a rom to try to be loaded and errors). NDS_Pause and NDS_UnPause only respond if paused = false or true respectively. Minor fix to Drag and Drop 2008-11-15 20:04:22 +00:00
adelikat b187f8d164 Win32 - Fix bug where DeSmuME attempts runs LoadROM on startup even if no ROM is specified on commandline 2008-11-15 19:50:23 +00:00
adelikat ac2ef12a39 oops, fixed bug in UpdateRecentROM() 2008-11-15 18:21:27 +00:00
mtabachenko da981a84ed core:
- temporary implementations for clearing VRAM (garbage on screen);
2008-11-15 18:09:41 +00:00
mtabachenko 9cbd4d7035 winport:
- fix crashes tools on Windows XP;
- added refresh on cycles in Disassembler tool;
2008-11-15 17:51:17 +00:00
mtabachenko 443ce7216d winport:
- fix crash (RecentROM)
2008-11-15 15:56:03 +00:00
adelikat 03c97b404d Win32 - Added Recent ROMs menu 2008-11-15 13:57:54 +00:00
riccardom 85e436de6c Format my name, first desmume commit :) 2008-11-15 13:54:17 +00:00
yabause 25d894e84e Added Zeromus, Magliocchetti Riccardo and adelikat to
"team" list and moved inactive members to "contributors".
We may use a better format for that file though...
2008-11-15 13:16:34 +00:00
yabause 8ecc3a26f8 Patch by Magliocchetti Riccardo:
remove silly log messages, convert some sprintf to g_strdup_printf
and where not practical at least to snprintf
2008-11-15 10:20:18 +00:00
adelikat 7ad9ddc868 Oh right, multi-language menus 2008-11-12 04:28:07 +00:00
adelikat 613ca15d38 Win32 - added Ctrl+O accel key for Open Rom 2008-11-12 04:26:12 +00:00
adelikat d6fb992d57 changed reference to Disassembler.cpp to Disassembler.h 2008-11-11 01:32:55 +00:00
zeromus 80a75efc1d i am dumb 2008-11-11 01:04:13 +00:00
yabause a4a055ac76 Patch by ico2:
Outputs a listing of executed code during execution.
define preprocessor variable WANTASMLISTING to use it.
2008-11-11 00:17:58 +00:00
zeromus 6194523549 oops forgot a couple of files 2008-11-10 22:37:21 +00:00
zeromus 024462c221 need to move these files over to another computer. dont think they should get in anyone else's way 2008-11-10 22:34:52 +00:00
yabause 279dc1e6b8 Patch by ico2:
changed width to event->width as it was preventing compilation.
2008-11-10 22:27:08 +00:00
yabause 7923100820 Patch by Magliocchetti Riccardo:
show key name instead of code when modifying controls, the very same change has been committed some times ago to the function that show it
2008-11-10 22:23:49 +00:00
yabause 6c8d4b2ff0 Patch by Magliocchetti Riccardo:
fix shadowing of size variable, renamed the offender sz
2008-11-10 22:18:54 +00:00
yabause d6e9f00ebc Patch by Magliocchetti Riccardo:
fix may be used uninitialized, while at it add proper error checking in fps limiter code
2008-11-10 22:12:19 +00:00
yabause e46a6e093f Patch by Magliocchetti Riccardo:
fix some sign vs unsigned warnings casting signed variables / constants to unsigned types
2008-11-10 22:09:39 +00:00
yabause e74601884a Patch by Magliocchetti Riccardo:
Removed shadow on "i" variable.
2008-11-10 22:07:20 +00:00