zeromus
6cf200b1e1
fix glitches in dma and poor code in command unpacking which were causing some slowdown. clean up ioregview refresh triggering code and add a note about how to cut compile time of gpu.cpp in half.
2009-09-22 03:02:39 +00:00
zeromus
14c011d8de
fix gcc compiling
2009-09-21 17:10:52 +00:00
zeromus
523d2713f9
rewrite dma, gxfifo, gxstat, command unpacking; old gxfifo removed; many games fixed, gta and dq4 broken; dma still not finished; your savestates will be broken; have coded 40 hours without checking performance, beware; add dma regs to ioregview, fix cpu selector in < vista;
2009-09-21 01:51:42 +00:00
zeromus
8c6e56e679
fix an annoying bug in mapview that made some layers not show up at all due to interference from blending logic in gpu
2009-09-20 20:20:18 +00:00
nitsuja
cb1d7d2f23
- new memory access timing, should be more accurate. this fixes some games for me.
...
- this includes basic cache emulation, but that's disabled for now for performance reasons
- got rid of the fast fetch execute menu option
(switching between the two should no longer be needed and I don't think we should have things like that be options)
2009-09-20 20:11:16 +00:00
riccardom
f78ce4e966
Enable sse/sse2 fast path
...
Apply patch from cwitty to enable sse/sse2 fast path with
gcc. Patch #2860351
2009-09-19 19:07:59 +00:00
riccardom
47910a5264
Look for modules in cwd instead of home
...
gmelquio suggests in bug #2862128 we should use cwd and
not force the home directory where looking for modules
like savefiles. Applied a modified patch which uses glib
and does not leak the string.
2009-09-19 17:14:50 +00:00
riccardom
8b7a7f9b50
Move preprocessor directives at column 0, cleanup some risky ifdef usage.
2009-09-19 16:44:20 +00:00
nitsuja
1d9c7c6bc4
some minor optimization and cleanup
2009-09-19 04:46:19 +00:00
zeromus
388c5253e3
add commandline handling for --bios-arm9 and --bios-arm7 and --bios-sw1=1
2009-09-17 21:37:32 +00:00
zeromus
ea3e02d098
gpu: a very small speedup by templateizing the wrap logic in affineext modes which is not commonly used
2009-09-17 19:49:10 +00:00
mtabachenko
f7e0c34ef3
winport:
...
- add manual import\export No$GBA saves;
2009-09-17 11:42:17 +00:00
zeromus
c151e6983c
fix a windows compile error added when the gcc compile error was fixed
2009-09-16 22:51:26 +00:00
riccardom
831893aac7
This one want to be constified too.
2009-09-16 19:27:07 +00:00
riccardom
2be3bc944c
Declare gfx3d_ClearStack() properly in a header and include
...
the header where needed.
2009-09-16 19:25:56 +00:00
riccardom
cc94f7abf8
Mark a function static.
2009-09-16 19:21:57 +00:00
riccardom
f8743f1412
Mark arm_instruction_names as const char * otherwise gcc
...
will hate you.
2009-09-16 18:57:33 +00:00
gocha
857fb4f7f7
Replaced glColor4ubv with glColor4fv. This might affect alpha test.
2009-09-16 15:17:41 +00:00
gocha
084dfbf703
Revert to r2882 since it awfully broke Castlevania games (possibly other games as well).
...
The reasons I replaced GL_GREATER with GL_GEQUAL in r2883 are:
1. gbatek says "Hide pixels if Alpha<AlphaRef"
2. rasterizer also says "if(shaderOutput.a < gfx3d.alphaTestRef) goto rejected_fragment;"
2009-09-16 13:57:37 +00:00
gocha
e524718237
OGLRender: Replaced GL_GREATER with GL_GEQUAL
2009-09-16 11:01:14 +00:00
zeromus
49bc297032
optimizations (especially for 32bit systems) to sequencing logic in main emulation loop; few fps speedup for cpu heavy games
2009-09-16 07:38:28 +00:00
zeromus
d0bfdc0a02
for dev+ builds, add logging of execution counts for each instruction.
2009-09-16 00:00:13 +00:00
normmatt234
96db719b0c
Support new Backup command required for Pokemon HG/SS to work without triggering an anti-piracy protection.
2009-09-15 12:14:17 +00:00
zeromus
ab61e64ac2
unhook all emulation of STRBT and LDRBT which were confusingly only half emulated; I think that they shouldn't be emulated at all. someone prove me wrong. also, fix the FORCEINLINE macro on gcc to do something approximating its intent. maybe it doesn't work on old gccs and we'll have to change it back or conditionalize it differently.
2009-09-15 06:20:09 +00:00
zeromus
d3d573d777
add that lq2x and hx2xs patch #2852221 and also fix a bug in the new ioregview which prevented it from compiling on older windows sdks
2009-09-15 04:36:21 +00:00
mtabachenko
91f19f2521
winport:
...
- fix search cheats crash on x64;
2009-09-14 11:40:30 +00:00
gocha
dd649aafa2
Fix render_sprite_Win to handle 256 color objects properly.
2009-09-14 04:30:40 +00:00
luigi__
86bd06801f
Small feature: add a possibility to make "Emulation paused/unpaused" messages
...
optional when calling NDS_Pause()/NDS_Unpause() by adding them a parameter
defaulted to true. Shouldn't break anything.
2009-09-13 19:59:26 +00:00
gocha
f7799d4b2e
Replaced Lua bit operations with LuaBitOp 1.0.1. Now it can handle the sign bit (bit 31) correctly.
2009-09-13 15:52:14 +00:00
luigi__
99483fc4f7
I/O reg viewer: fix scrollbar, and implement all graphics registers for
...
2D graphics engines.
2009-09-13 14:11:36 +00:00
luigi__
ce48f43c89
I/O reg viewer: improve scrollbar handling, and fix a small bug with
...
names/descriptions that have ampersands and/or underscores inside them.
2009-09-13 10:17:25 +00:00
mtabachenko
75b285b45c
core:
...
- add load logo data into ARM9 BIOS area;
(for a GBAgame not need external BIOS now)
2009-09-13 10:13:18 +00:00
luigi__
1b8eaa9501
I/O reg viewer: fix a bug where ARM9 IE/IF had two blank Bit0 fields at the bottom.
2009-09-13 09:55:52 +00:00
luigi__
34c2ff9e23
Remove two weird empty lines.
2009-09-13 00:36:27 +00:00
luigi__
860ad0caa5
Commit missing stuff. Sorry.
2009-09-13 00:32:26 +00:00
luigi__
56403c75af
Windows port: delete the old I/O reg viewer dialog templates.
...
(Yup, the new one is a plain window. It appears plain windows
refresh faster than dialogs :( )
2009-09-13 00:25:52 +00:00
luigi__
6740d478b2
Windows port: brand new I/O reg viewer.
...
- Allows to view all the registers, the registers of a certain category, or one
register in detail.
- Table system facilitating implementation of new registers
- Implements the registers that were implemented in the old I/O reg viewer, so
there's no loss
- You can open as many I/O reg viewers as you want
2009-09-13 00:17:59 +00:00
mtabachenko
7f418a40e0
addons:
...
- GBAgame: add flash memory support. Pokemons migrate work now (need use external BIOS without SWI, I will fix it later) :)
2009-09-12 21:44:46 +00:00
luigi__
8e53ad6bd7
MMU: add some extremely basic Ninja SD support, based on libfat code.
...
This was my first attempt at getting ndsmail working properly.
All the needed init code is here, but reading and writing operations
are seriously lacking for now.
2009-09-10 18:46:42 +00:00
riccardom
dd321a27e1
Use the correct type for recvfrom argument.
2009-09-09 18:24:23 +00:00
luigi__
3ac9b07639
Windows port: Add a constructor to CToolWindow. Also fix a bug that would cause
...
the Adhoc interface to always be initialized even when SoftAP is selected.
2009-09-09 18:11:51 +00:00
luigi__
3fb9b04bfe
Wifi: lots of improvements here and there:
...
- fix USCOUNTER and USCOMPARE implementation
- add support for extra TX slot
- add some experimental receiving code for SoftAP
- and others...
Also, change the predefined WFC profile to be an empty profile and remove support
for probe requests. This should prevent any WFC connection attempt, without breaking
homebrews (atleast dswifi lib based ones). (Note: WFC doesn't work anyway)
2009-09-09 17:59:50 +00:00
zeromus
25d84132f7
it seems as if we added a winver>=0x0501 dependency (winxp) in CWindow.cpp with the font bullcrap. Im not sure why it needs to be there, but lets make the 2005 vcproj define that sdk version so it compiles once more
2009-09-09 00:57:15 +00:00
gocha
23087b4c0c
Moved fastFetchExecute to CommonSettings, and set the default value to false.
2009-09-08 22:53:43 +00:00
mtabachenko
c0ea64bed8
winport:
...
- add save "Fast Fetch-Execute" state;
2009-09-08 16:43:15 +00:00
gocha
6769ec30ac
winport: add "Fast Fetch-Execute" to the menu, since r2844 brought some emulation glitches.
2009-09-08 15:48:13 +00:00
gocha
b7a55e65e8
disabled frameskip while avi recording
2009-09-08 15:37:37 +00:00
gocha
460aa6d04a
Fetch-execute cycle is now processed parallelly. It's still inaccurate, but much better than before.
...
Additionally, indentations are adjusted.
2009-09-08 04:09:16 +00:00
gocha
c368300c05
winport: a little fix for stylus autohold
2009-09-08 03:12:55 +00:00
gocha
158852cea2
winport: add autohold for stylus
2009-09-08 02:39:58 +00:00