Commit Graph

4174 Commits

Author SHA1 Message Date
hi-coder 961a467f92 win32: add "paused" text to caption 2011-05-11 02:36:43 +00:00
zeromus b1e92e6cb0 win32: get rid of some broken cruft leftover from the last console checkin 2011-05-09 05:46:33 +00:00
zeromus b26e760d2c win32: allow stdio redirect in some cases where it was broken before 2011-05-01 05:49:25 +00:00
riccardom 9432c70bd2 Update Changelog 2011-04-30 16:06:03 +00:00
mtabachenko 2d1a6d34bf OpenGL:
- fix alpha blending (fixed storm clouds in NSMB at the beginning);
2011-04-29 11:36:47 +00:00
zeromus cd38ecbd34 vio2sf: add updated patch 3026630 with newer features and fix a bug in sound viewer tool dialog management 2011-04-27 05:14:40 +00:00
zeromus c28b2423cc win32: add hicoder patch 3292481 "Windows File Association patch" (its optional) 2011-04-27 04:14:38 +00:00
riccardom 1b647bc46a cocoa: Update xcode project files
From rogerman, #3259154
2011-04-20 16:21:08 +00:00
riccardom 88c7d5d906 emufile: Fix compilation on big endian systems
From rogerman, #3289150
2011-04-20 07:02:42 +00:00
zeromus 3014da89b3 use EXCEPTION_UNDEFINED_INSTRUCTION instead of magic number 0x04 2011-04-20 06:26:42 +00:00
riccardom fb317f2717 slot2_gbagame: fix include path of path.h 2011-04-19 07:00:15 +00:00
riccardom 7312b2844d gtk: Fix some typos in metaspu modes
From Tobias Jakobi
f3a9682499
2011-04-18 21:38:22 +00:00
riccardom 625c8c270f wx: Add licence header file to wxMain.cpp
Please double check it's correct :)
2011-04-18 21:15:11 +00:00
riccardom 5fa0218104 wx: fix compilation with libsoundtouch
The way we are building right now we have to link against
libsoundtouch even if the frontend does not use it.
Read: we have to build SPU and metaspu per frontend and
not globally.

From Jan Bücken, #3288648
2011-04-18 21:00:20 +00:00
riccardom dd351a80b9 build: Shut up aureconf warnings with autoconf 2.68
autoreconf: running: aclocal --force 
configure.ac:46: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/libs.m4💯 AC_CHECK_LIB is expanded from...
configure.ac:46: the top level

The fix is to put AC_LANG_PROGRAM inside []
2011-04-18 20:01:59 +00:00
riccardom dc78778ae2 wx: link against xlib
/usr/bin/ld: PadSimple.o: undefined reference to symbol 'XLookupKeysym'
/usr/bin/ld: note: 'XLookupKeysym' is defined in DSO //usr/lib/libX11.so.6 so try adding it to the linker command line
//usr/lib/libX11.so.6: could not read symbols: Invalid operation
2011-04-18 17:12:49 +00:00
riccardom 9acc466729 cocoa: Update copyright year
From rogerman, #3259154
2011-04-17 16:34:42 +00:00
riccardom f6393a9210 ctrlsdl: Fix compilation without OpenGL
Since r3947 ctrlssdl.h breaks the build with a compile
error in build environments that don't have GL.h such as
Mac OS.

[xrmx: define screen_texture anyway to be on the safe side]

Based from a patch from Sidney Markowitz in #3288504
2011-04-17 15:31:51 +00:00
riccardom 49b5243c1a cocoa: Update cocoa frontend
From Roger Manual, #3259154:

BUGFIXES:
- Fixed the bug tracker website link used by the "Submit a Bug Report" command
  in the Help menu.
- Fixed issue where if one of the text files used for the About window was
  missing from the DeSmuME/Contents/Resources folder, then the entire panel
  didn't show.

CHANGES:
- Frame skipping options have been removed in this release. The way it works
  now, drawing a frame in Cocoa takes an insignificant amount of time. In other
  words, skipping Cocoa frames does NOT yield any significant speed improvement.
  It may be possible to gain speed by skipping frames in the actual NDS GPU
  rendering, but this is an emulation engine issue, not a Cocoa frontend issue.
- Added OBJ layer toggling in the View/Layers menu.
- Files are now saved in more logical locations. Save states slot files are now
  saved in "~/Library/Application Support/DeSmuME/(DeSmuME version number)/States".
  All other files (like battery files) are now saved in the same directory as the ROM.

DEVELOPER:
- Added Application Creator Code for DeSmuME. Registered 'DSmM' with Apple.
- Reworked the execution loop for better maintainability.
- Preliminary code refactoring for better DS controller function. Cocoa DeSmuME now
  uses the NDS_beginProcessingInput() and NDS_endProcessingInput() functions, which
  helps input support for some games. Note that this change probably breaks support
  for PowerPC Macs, but I don't know if we should be supporting PowerPC Macs anyways...

xrmx: I'm not able to build this with xcode because 10.4 SDK does not like gcc4.2 but
      the cocoa stuff builds fine in cocoa so applying it.
2011-04-16 15:27:39 +00:00
riccardom 1d4977cb4b cocoa: Update Rakefile
Something is still missing, compilation get stuck
at ../libs/emufat.cpp without error messages though.
2011-04-16 15:15:22 +00:00
riccardom 234e2b755f build: remove duplicate texcache entry in Makefile.am 2011-04-16 14:47:49 +00:00
riccardom 2c318062b7 utils: correct emufile.h include in xstring.h
This helps cocoa rakefile build.
2011-04-16 14:16:24 +00:00
pengvado e1c70f0ac6 cli: fix a freeze when turning FPS limiting back on after some boost mode
(regression in r3944)
2011-04-15 15:31:50 +00:00
zeromus a99026df03 do the same for standard palettes 2011-04-14 21:38:15 +00:00
zeromus c44819873a add boot-up vram randomization for homebrew games, to more accurately mimic being loaded from a flash card that leaves behind some junk 2011-04-14 21:05:19 +00:00
riccardom 2c8a4603ab path: don't use glib in LoadModulePath for cocoa build
From rogerman in #3259154
2011-04-13 20:50:48 +00:00
riccardom 4d1b0b5809 dma controller: rename check to dmaCheck
The conflicting macro is the check() assertion macro defined
in Apple's CoreFoundation framework, specifically in the
AssertMacros.h file.
Unfortunately, this file must be included in the Cocoa port.

From rogerman in bug #3259154
2011-04-13 20:38:55 +00:00
riccardom 713b5dc1b2 types: tidy some windows ifdefery 2011-04-10 17:12:11 +00:00
riccardom 7dd20a3330 NDSsystem: remove old compat code in NDS_setTouchPos/NDS_releaseTouch
The cli and gtk frontend works fine without it, a patch
has been posted in tracker to avoid that for the cocoa
one so i think we can safely remove it.
2011-04-10 12:20:58 +00:00
riccardom 978fdfe680 Fix include format
From rogerman at #3259154
2011-04-09 23:25:11 +00:00
riccardom e441291f32 bump gtk min version to 2.10 in configure.ac too 2011-04-09 20:07:41 +00:00
riccardom cdfb727f8d gtk: remove support for gtk < 2.10 2011-04-09 19:50:58 +00:00
riccardom fe4500e44e gtk: Add menu for SPU mode selection
From Tobias Jakobi (liquidacid) at #3250391.
2011-04-09 19:13:45 +00:00
riccardom ae4a1c64e3 Disable hud by default on autotools build
The hud libagg crash on 64bit so better have it off by
default. Use --enable-hud to enable it.

From Tobias Jakobi (liquidacid) at #3250391.
2011-04-09 18:36:39 +00:00
riccardom 9a32b37048 Add detection and build support for libsoundtouch and so metaspu
Based on patches from Tobias Jakobi (liquidacid) in #3250391
2011-04-09 17:12:32 +00:00
riccardom 74b8df277c metaspu: have it compiled under gcc too
Based on patches from Tobias Jakobi (liquidacid) in #3250391
2011-04-09 17:09:26 +00:00
zeromus 79684686c3 add texcache speedup patch #3275389 - be on the lookout for stale or glitched textures, but i think its safe. 2011-04-05 20:36:09 +00:00
zeromus eb3963bc37 fix bug in rasterizer linehack rendering, add 3d config option since it still breaks hotel dusk, and make nocash debug messages always show up, even with no #define DEVELOPER. 2011-04-02 18:39:26 +00:00
mtabachenko ce73043bec winport:
- add antispam for cheaters :)
2011-03-28 09:27:44 +00:00
zeromus e3b27ecd16 apparently fix some situations where too many cheat codes are entered. codr's patch 3200856 2011-03-27 20:08:09 +00:00
mtabachenko bd5cccef40 fix typo on last rev, sorry 2011-03-27 14:38:58 +00:00
mtabachenko 47f781d26d OpenGL:
- fix line segment detection (fix missing textures in Garfield's Nightmare, Zelda PH);
- recreate toon texture on load state;
2011-03-27 14:21:11 +00:00
mtabachenko ea19f9cf6c GE:
- removed hacks from Geometry FIFO;
2011-03-26 17:06:32 +00:00
riccardom 40d89c77f6 gtk: Fix build on gtk 2.24 2011-03-25 20:48:27 +00:00
riccardom 42ffac8197 firmware: don't leak fp when not patched. 2011-03-25 17:15:14 +00:00
riccardom b3122f97ee gtk-glade: Fix a couple of off-by-one reported by cppcheck 2011-03-25 17:01:24 +00:00
pengvado c4c9cf60f6 drawscanline: factor bounds check out of the loop.
Initialize edge_fx_fl even if width=height=0.

Fix a freeze/slowdown in Okamiden (#3240891).
Also a slight softrasterizer speedup.
2011-03-24 22:00:54 +00:00
zeromus 9e70ebca45 fix freebsd libfat compiling? 2011-03-24 21:51:17 +00:00
riccardom a070dc091b Update and reenable pthreads
Apply pengvado pthread backend for task. We are probably
not gaining that much but it is better than a stub :)

Removed the rasterize.cpp hunk sice zeromus likes it more
as it is now.

Patch from  #3203082.

From: Loren Merritt <pengvado@akuvian.org>
2011-03-24 18:15:40 +00:00
zeromus 972d9e28ea fix memory leak in slot2 mpcf 2011-03-21 02:52:16 +00:00