Commit Graph

1172 Commits

Author SHA1 Message Date
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
yabause c5e2f063dd Patch by Magliocchetti Riccardo:
Removed shadow on size variable.
2008-11-10 21:59:54 +00:00
yabause 54f56cb716 Patch by Magliocchetti Riccardo:
Removed shadow on fpath.
2008-11-10 21:47:21 +00:00
yabause dfb4ada998 Patch by Magliocchetti Riccardo:
removed shadow on pal variable
(guill: it should be ok, pal isn't used afterward)
2008-11-10 21:40:44 +00:00
yabause cffdf28d7d Patch by Magliocchetti Riccardo:
Removed warnings about uninitialized fields in the hardcode setup.
2008-11-10 21:23:32 +00:00
gecko_reverse b352d0f861 minor compile fix for cocoa port 2008-11-10 04:51:49 +00:00
zeromus 3612ceda11 fix SF [ 2217044 ] Rotation bug - 90 and 270 crash the emu
also repair the mouse x/y transform which suffered from similar bugs and rendered rotate modes unusable.
change a typo in a function name "releasTouch"
2008-11-09 23:15:26 +00:00
adelikat 7ec884d485 Windows - Added saveslot selected to messages 2008-11-09 21:33:03 +00:00
adelikat c521035667 Windows - added a general messages display function. Savestate loaded/saved messages now displayed when saving states. 2008-11-09 21:27:03 +00:00
adelikat cb69e33190 Windows - added quicksave and quickload functions. It uses up 0,1,2,3,4,5,6,7,8,9,I, and P for accel keys. This is temporary until a re-mappable hotkey system is in place. 2008-11-09 20:12:51 +00:00
adelikat be28eb850a fixed void OSDCLASS::addFixed so that it actually uses the u16 x and u16 y values that it receives.
Win32 - fixed so that fps and framecounter display in different places
2008-11-09 19:26:50 +00:00
adelikat 6f764e6c87 Win32 - Display FPS moved to Display category in ini file 2008-11-09 19:16:47 +00:00
adelikat 7fd2aee772 Win32-remembers framecounter status 2008-11-09 18:31:10 +00:00
adelikat a5ea18c0c6 Win32 - remembers window position 2008-11-09 16:44:41 +00:00
yabause 91fa23fc5d More ARRAY_SIZE usage by Magliocchetti Riccardo. 2008-11-09 14:30:33 +00:00
yabause c5c9655da1 Patch by ico2 with changes by Magliocchetti Riccardo:
This fixes compilation issues on 64 bits.
2008-11-09 14:28:15 +00:00
yabause f544b5a7c3 Patch by Magliocchetti Riccardo:
introduce ARRAY_SIZE to calculate array size and use it instead of magic numbers.
2008-11-09 13:43:02 +00:00
yabause 2b7ce86880 Patch by Magliocchetti Riccardo:
remove old code that has been replaced and thus commentend more that one year ago.
2008-11-09 13:37:44 +00:00
yabause a508ac1264 Patch by Magliocchetti Riccardo:
Switch the screenshoot feature to make use of gdk-pixbuf to make png
instead of a open coded bmp encoder (NDSsystem.cpp already provides that).
2008-11-09 09:14:28 +00:00
yabause 55098165f3 Patch by Magliocchetti Riccardo:
fix GDB_STUB regression in gtk frontend.
2008-11-09 09:12:23 +00:00
yabause 4e7337972f Patch by Magliocchetti Riccardo:
use g_printerr instead of fprintf or g_print for reporting
errors, use LOG instead of commented printf for debug log.
2008-11-07 20:40:54 +00:00