Commit Graph

1287 Commits

Author SHA1 Message Date
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
zeromus 76944b5625 ssize_t is nonstandard, and ive never heard of it before. besides stl uses size_t everywhere so we stick with it in memorystream.h. 2008-10-22 01:49:23 +00:00
yabause ab1b61405a Sound pause fix by riccardom (patch 2185284, fix bug 1804778) 2008-10-21 19:59:54 +00:00
yabause c6acb6dba6 Patch 2182315 by riccardom that close 1722970 too:
The patch checks the fd before calling fseek and if it is
found null it logs it and returns 0 instead of segfaulting.
2008-10-21 19:50:47 +00:00
yabause 45fa0170f7 Patch by riccardom:
a negative integral was passed to a unsigned variable so
declared it signed and casted it to unsigned when it is known
to be positive (size_t vs ssize_t).
2008-10-21 19:41:04 +00:00
yabause d0d974b9c7 Warnings fixes by riccardom. 2008-10-21 19:39:10 +00:00
yabause 106c53705e Using a u8 to index a 0x8000 array it not a good idea :)
thanks to riccardom for reporting.
2008-10-19 16:52:41 +00:00
yabause 95be4ade56 Patch by riccardom to remove the extra read16le function.
The function is not used internaly is not defined in any
header file, so I guess it's ok to remove it. Feel free
to revert me if I'm wrong though.
2008-10-19 15:52:47 +00:00
yabause b22e828e41 Another warnings fix patch by riccardom, this is also
protecting the non-portable DebugDumpTexture.
2008-10-19 15:37:16 +00:00