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
gocha
d77e3ee425
RAM Search: fix reset code and update the current values for every addresses.
...
RAM Search: workaround for auto search restart.
2011-03-21 00:22:53 +00:00
zeromus
143217af2c
sync emufiles between emus
2011-03-20 18:33:41 +00:00
riccardom
80fd38374f
Reinitialize GL after SDL_SetVideoMode
...
On some systems SDL_SetVideoMode resets OpenGL context,
dropping the screen texture and leading to glTexSubimage2D
failure when using the --opengl-2d switch.
Attached patch reinitialized OpenGL after window resize.
This is a forward port of Jakub Higersberger patch at
#2839785 . This fix the broken resize with cli frontend
reported in #3195218 .
2011-03-16 21:42:53 +00:00
riccardom
8422f0ab7c
cli: put 'now' variable declaration were due
...
Note to self: this is C not python.
2011-03-12 16:41:08 +00:00
riccardom
3713c1ba7f
cli: avoid some overhead with DISPLAY_FPS defined
...
Avoid a call to SDL_GetTicks() which in turn call the
gettimeofday() syscall when DISPLAY_FPS() is defined.
2011-03-09 22:07:44 +00:00
riccardom
18349689c8
cli: better FPS limiting
...
Simplify and make the fps limit behave better.
From: Thomas Jones <thomas.jones@utoronto.ca>
[rm: remove fps_limiter_frame_period now unused and fixup whitespace]
2011-03-09 21:55:48 +00:00
riccardom
9d0c383e93
autoconf: use AC_CANONICAL_HOST not AC_CANONICAL_TARGET
...
AC_CANONICAL_TARGET is for compilers, desmume is not a compiler. It
figures out what platform the compiler should generate binaries for.
AC_CANONICAL_HOST is for figuring out what platform you will run on.
From: Thomas Jones <thomas.jones@utoronto.ca>
2011-03-09 21:15:40 +00:00
zeromus
ade66fd351
fix bug from r3935 which broke textures when loading savestate while using softrasterizer
2011-03-08 07:00:22 +00:00
zeromus
782a15da11
don't render rotscaled bitmap sprites with alpha==0
2011-03-06 22:03:06 +00:00
zeromus
9897125f9a
add hq4x filter. i can't tell if i did it right, because all hqx filters look broken to me even when theyre working.
2011-03-05 20:04:05 +00:00
riccardom
009029b15d
rasterize: check if _MSC_VER is defined before checking against a version
2011-02-28 18:08:13 +00:00
riccardom
e7064a71b6
gtk: Remove usage of deprecated gtk_label_set
2011-02-28 18:06:02 +00:00
mtabachenko
fc0daf243a
- fix line segment detection;
2011-02-25 14:57:01 +00:00
zeromus
bf013a7c18
more robust dsi touch
2011-02-25 07:21:52 +00:00
zeromus
4a330878ae
add --dsi-mode=1 and dsi TSC emulation. this does not constitute "dsi support". you will probably think that it does anyway.
2011-02-22 07:13:20 +00:00
zeromus
0a0d4fe509
add --debug-console=1 which affects arm9 swi 0x0F and whether 8MB ewram is installed
2011-02-21 20:12:04 +00:00
mtabachenko
8c049fc914
- removed new 3D polygon definitions;
2011-02-16 09:31:14 +00:00
wntrmute
a8f6163bb2
remove delay from idle loop, correct slash in desmume.ini path (both slashes work on windows, backslashes don't on linux & osx
2011-02-14 17:05:37 +00:00
zeromus
d583566a3e
fix bugs in arm7's VRAMSTAT register
2011-02-11 07:35:08 +00:00
mtabachenko
711f5ef88c
- added new 3D polygon definitions (disabled by default and work only with OpenGL);
...
OpenGL:
- a bit optimization FBO;
2011-02-09 16:04:15 +00:00
mtabachenko
133419a1e3
- renamed file names for slot2 addons;
2011-02-09 15:04:07 +00:00
zeromus
20aa3cc42e
now that i have a piano to test with, refine piano emulation a bit. also rename that file to conform to more recent standards
2011-02-09 00:36:25 +00:00
zeromus
1d239bce90
properly handle sprite virtual screen y dimension wrapping (fixes rotoscaled sprites which wrap across the bottom of the screen and back to the top)
2011-02-07 21:01:42 +00:00
zeromus
111476de2e
flush some logging more often
2011-02-07 18:41:06 +00:00
gocha
cb21139402
Commented out r3909 changes, because of Portrait of Ruin warp stone regression.
...
I guess, not much sure though, gfx3d_IsLinePoly doesn't need to take Z position. Z will be handled well by each renderer, whether it's polygon or line.
2011-02-06 05:17:01 +00:00