Commit Graph

1066 Commits

Author SHA1 Message Date
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
yabause d5d434133c Patch 2176985 by riccardom to fix compilation when gdb stub
is enabled.
2008-10-19 09:19:23 +00:00
yabause 40aea15810 More #ifdef protection for gdb stub by riccardom
(patch 2168060).
Added a --enable-gdb-stub to configure too.
2008-10-18 07:49:51 +00:00
yabause 5d5ea8b2a2 --enable-hardcore configure flag is now even more hardcore!
(patch 2157019 by riccardom)
2008-10-17 10:41:37 +00:00
yabause 34f2a1c6e5 More warnings fixes by riccardom (patch 2157019)
Also removed the unused execute_gdb function.
2008-10-17 10:28:01 +00:00
yabause 53b18ff23d More warnings fixes by riccardom (patch 2157019)
Removed three unused functions including SPU_ReadByte
and SPU_ReadLong.
2008-10-17 10:11:50 +00:00
yabause c26ff21787 More warnings fixes by riccardom (patch 2157019)
This patch also protects the DebugDumpTexture
with DEBUG_DUMP_TEXTURE preprocessor define.
(btw, there's much chance that function won't
works on non windows platforms...)
2008-10-17 09:55:15 +00:00
yabause 81bbf061c4 More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:49:03 +00:00
yabause fa4f4a18e6 More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:42:47 +00:00
yabause 64af0142ca More warnings fixes by riccardom (patch 2157019)
Removed armcpu_prefetchExeption as it seems to
be unused.
2008-10-17 09:40:27 +00:00
yabause 76e87ebccf More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:27:42 +00:00
yabause 447867a4ed More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:26:29 +00:00
yabause cc8298291d More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:23:46 +00:00
yabause f91cf5adf3 More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:20:38 +00:00
yabause 2440ea25e7 More warnings fixes by riccardom (patch 2157019)
This one fix the warnings for SDL related stuff.
I also removed an unused function...
2008-10-17 09:16:13 +00:00
yabause 1e9e8c405b More warnings fixes by riccardom (patch 2157019) 2008-10-17 09:12:36 +00:00
yabause 62ab94aa16 Ok... last patch in the "riccardom warnings fix" serie, this
close 2157019 :)
2008-10-13 19:30:19 +00:00
yabause 744d001fb9 Some more warning fixes by riccardom. 2008-10-13 19:28:26 +00:00
yabause 64f18427be Third patch by riccardom in 2157019
This one fix warnings (I'm sure you guessed it)
and use u8 instead of char where it makes sense.
2008-10-13 19:20:27 +00:00
yabause c78ba6f6d1 Second patch in 2157019 by riccardom.
This one fix a bug in POWER_CR_SKIP and remove some
warnings.
2008-10-13 19:15:16 +00:00
yabause dcc710a630 Fixed warnings when compiling the gtk-glade port.
(this is first patch in 2157019 by riccardom)
2008-10-13 19:12:00 +00:00
gecko_reverse c4c16fcfd4 moved cocoa rom_info to cocoa/dialogs. also removed ctrlsdl from codeblocks project (added accidentally last revision) 2008-10-12 23:19:20 +00:00