Commit Graph

1195 Commits

Author SHA1 Message Date
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
yabause c638c9a605 Patch by Magliocchetti Riccardo:
Moved header inclusion to a better place.
2008-11-07 20:39:10 +00:00
yabause 735aac6a18 Patch by Magliocchetti Riccardo:
gtk frontend: require gtk 2.6 at configure time and removed
some compatibility code for older versions.
2008-11-04 22:03:26 +00:00
yabause 9e8b6fedef Patch by Magliocchetti Riccardo:
this moves shading initialization to follow the same order the variable are declared later.
2008-11-04 22:01:09 +00:00
yabause c24fbedc62 Memory leak fix by Magliocchetti Riccardo. 2008-11-04 21:53:33 +00:00
yabause 551e68ff70 Memory leak fix by Magliocchetti Riccardo. 2008-11-04 21:52:02 +00:00
yabause 11cd506dfa The dTools_running == NULL patch by Magliocchetti Riccardo (riccardom). 2008-11-04 21:48:46 +00:00
yabause 1909333fb0 Riccardom patch:
armcpu.cpp: move some debug stuff under #if 0. Disassembler.cpp, Render3d.cpp: make some functions static
(I didn't removed the #if'ed code... not sure what it was used for...)
2008-11-04 21:45:48 +00:00
yabause e2f9a0029c riccardom patch:
move mmu_select_savetype in MMU.cpp and move save_types to the file of its only user
2008-11-04 21:30:29 +00:00
yabause 532eae0174 Moved print_memory_profiling declaration to a better place.
(riccardom patch).
2008-11-04 21:26:56 +00:00
yabause 26a8dc642c savestate_save and savestate_load are now static.
part of riccardom hardcore patches.
2008-11-04 21:21:53 +00:00
adelikat 10930203da Windows - If the game is paused, savestate will not unpause automatically 2008-11-04 01:53:52 +00:00
adelikat 32487febfa Fix Windows build from r1072 2008-11-03 14:53:20 +00:00
adelikat 5f63a59561 Win32 - added "All Useable Files" option to Open Rom dialog 2008-11-03 14:22:37 +00:00
yabause a509bcb896 Now checking if a rom is a regular file before opening.
Patch 2214354 by riccardom.
2008-11-02 21:52:15 +00:00
yabause 3fd38256e5 Whitespace cleanup in writeBMP.
Patch by riccardom.
2008-11-02 21:47:31 +00:00
yabause a8ad08b280 Removed support for glib version older than 2.8 and added
check for glib version in configure script.
Patch by riccardom.
2008-11-02 21:45:51 +00:00
zeromus 2f1cfdc865 fix SF [ 2216986 ] - Win32 - File > Quit does nothing 2008-11-02 20:24:35 +00:00
yabause a25b610c6e Patch by riccardom so desmume doesn't complain about
joystick when there's no joystick.
2008-10-31 14:18:26 +00:00
yabause de3a341782 CLI patch 2209984 by riccardom:
Use glib command line option parser instead of doing our own. The benefits
are 50 lines less in main.cpp and automatic --help text. While at it i've
removed screen_render_config structure because i think it's not needed.
Another change that was necessary was to change arm gdb port from u16 to
int because there is not a proper GOptionArg value for u16, i felt it was
better to use a bit more memory instead og getting it truncated at runtime.
2008-10-31 14:14:41 +00:00
yabause 95139a8bfa Core part of riccardom cleanup patch 2200793 2008-10-31 14:05:30 +00:00
yabause 2d5f11508d Gtk-glade part of riccardom cleanup patch 2200793 2008-10-31 14:03:35 +00:00
yabause 0ca8d61cf6 Gtk part of riccardom cleanup patch 2200793 2008-10-31 14:02:54 +00:00
yabause 6c1299f189 Some more const patch by riccardom (2200785) 2008-10-27 20:11:28 +00:00
yabause b14047b419 Patch 2200776 by riccardom:
this patch fix some memory and fd leaks in case of malloc() errors, and
some misc cleanup around malloc().
2008-10-27 19:57:50 +00:00
yabause 799317fa65 Misc fixes by riccardom 2008-10-24 08:13:44 +00:00
yabause e92f677719 Patch 2185448 by riccardom that checks fopen return
value for gtk(-glade) ports.
2008-10-24 08:03:10 +00:00
yabause 40880f8be1 Riccardom warnings fixes patches:
- cflash.cpp: this was straightforward, i've moved p declaration only
because there it's easier to follow where it is used.
- GPU.cpp: that functions is very long and has an horrible formatting,
please review.
- MMU.cpp: return in case of default inside a switch is used often inside
the code so i've done the same.
2008-10-24 07:48:12 +00:00