hrydgard
f2a26f550e
Revert much of the last commit.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3455 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 20:07:09 +00:00
omegadox
a83a4fbc0a
bcctrx opcode will fall back to the interpreter, and a minor compile and warning fix.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3454 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 19:06:59 +00:00
Sonicadvance1
ae463c4ac4
Forgot the waiting part so we don't have multiple threads reading from the net device. some other stuff. PSO when set to static addresses fails to send the correct DNS server IP in the packet, is always 0.0.0.0 for some reason.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3449 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 12:47:41 +00:00
nakeee
75045807a7
linux compile fix, I'm not sure it was right of me to remove the mmsystem include (was it used?) but if it's
...
for the timer function please put it in Timer.h and not in each seperate file.
(And yes, I have a script that does that).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3448 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 06:39:26 +00:00
John Peterson
5c04af50a4
Attempt to calculate actual refresh rate (i.e. a CPU-GPU synced Mhz), no real success. Anybody have any ideas?
...
Is there no indication from the game when the screen refresh should occur? No, not what I could find, we currently calculate the refresh rate and m_VBeamPos from the CPU ticks progress. That works perfectly if the CPU and GPU is perfectly synced as in the single core and no-idle skipping mode. So I guess it's possible that the game doesn't indicate when the screen should be refreshed, but rather that the hardware calculate that from the CPU ticks progress. That leaves us with a problem in the dual core and idle skipping modes to calculate a CPU-GPU synced CPU ticks progress.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3447 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 04:30:02 +00:00
Sonicadvance1
3295ec38eb
Have to create a thread in Linux to receive packets. Socket Test does DMA reads, but still fails to get IP address from DHCP. PSO doesn't ever call startRecv function to start up the socket reading, Which is why PSO doesn't receive sockets in Windows either. Will have to look in to this more
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3446 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 04:14:34 +00:00
Sonicadvance1
4b5ab642cd
Finally got my subversion working again. Fixed a swap issue that I recently found, still not sure why I'm not receiving the packets, even though Wireshark shows the OS is returning DHCP packets
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3445 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 20:54:26 +00:00
hrydgard
0bee242493
Unbreak the build (sorry, forgot a few includes), move FP classification to MathUtil, add some more unittests.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3442 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 11:30:33 +00:00
hrydgard
f67660cbfe
Remove the last use of MappedFile and kill the code. (less code is good!) (we've found that file mapping in the context of Dolphin only causes problems and give no speed gain - Dolphin gobbles address space ferociously on its own without mapping in huge disk images). Add some math util functions.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3441 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 10:59:06 +00:00
hrydgard
a517d054e3
deactivate some debugging code I left in..
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3437 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 08:50:06 +00:00
XTra.KrazzY
8a5c382dad
Linux build fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3436 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 08:37:27 +00:00
Nolan Check
7812b2a231
Fix null-dereferencing error in EXI_DeviceMemoryCard.cpp;
...
Make wx projects build for 64-bit JITIL configuration
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3435 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 03:29:58 +00:00
hrydgard
31f7020b2d
Add mini unit testing framework to Dolphin itself - use it to find bugs and verify the portable powerpc fp number classifier. also random cleanup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3432 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 22:08:01 +00:00
nakeee
df7b29da32
compile fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3431 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 20:55:25 +00:00
hrydgard
10442c8faa
PowerPC: Fixed moronic bug in mcrfs - together with correctly computing FPRF (which is a new option, slows down slightly) in a few ops this fixes most remaining math errors in Super Monkey Ball and eliminates the need for the HLE hacks. Make sure to have up-to-date gameconfigs. Unfortunately, F-Zero still doesn't work. Misc other small changes. Indent some code.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3426 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 14:10:10 +00:00
XTra.KrazzY
f8a221dea2
small thread fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3416 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 00:21:47 +00:00
XTra.KrazzY
2f0c872cd2
Flushing the memory card data to the hard-drive is now being done in a separate thread. Eliminates emulation delay/hang during memory card flush.
...
I made this because for some reason my HD is probably failing and saving hangs the emulation for a couple of seconds (at least in SA2:B). Now everything runs smoothly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3415 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 00:01:51 +00:00
hrydgard
e8767497b5
JITIL 64 - fix stupid bug in IR.cpp. Almost there... loadstorepaired left. fix disasm in 32-bit mode.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3414 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 23:56:31 +00:00
hrydgard
087fe68d6d
apply itsnotmailmail's DLC fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3413 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 20:29:50 +00:00
sl1nk3.s
04db7f5260
I need glasses
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3412 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 16:07:07 +00:00
sl1nk3.s
d99deae17d
Fix for tatsunoko vs capcom and those wii games getting corrupted memory error
...
+ a couple of (serious...) fixes for some of my mistakes, and some warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3411 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 15:47:41 +00:00
death2droid
b8d3cae6e3
Dolphin now saves frame limiter setting.
...
Info Window now also gets the frame limiter setting :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3408 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 13:21:54 +00:00
hrydgard
759263351a
JITIL: Disable all load/store instructions in 64-bit mode. This actually makes a lot of games work - but slowly. Investigation needed. Reindent a bunch of code.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3405 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 19:43:47 +00:00
sl1nk3.s
ca7e4bd179
One char fix for the Wii menu and the cdb.vff issue as well as issue 1011, also fixed the Post build event, now copies files and directory if they're more recent without asking...
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3401 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 01:15:41 +00:00
hrydgard
6f845b8bb0
Patch in Iulius' framelimiter, since it has advantages over "Other Audio" in many games (more speed).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3397 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 21:27:45 +00:00
John Peterson
33a0f0838b
Debugging: Added 'insert nop' to menu, added 'show history' code for interpreter mode
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3388 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 05:26:39 +00:00
death2droid
960bc97971
Just a small fix to sound in Wii games.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3384 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 01:03:03 +00:00
sl1nk3.s
e384c91313
Fix error #002 for Wad games, also fix the Wii menu black screen, this is still a bit hacky as we don't know where to read the IOS rev, but hey it works :p
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3378 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 18:07:45 +00:00
Shawn Hoffman
ad4ffaf0b6
fix wii menu booting: fix if you know a better way :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3376 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 12:58:09 +00:00
sl1nk3.s
97691461ca
Fix savestate name for wad games, crashfix for some wad files without MakerID (thanks lpfaint99), fix for US games using SJIS string (Megaman 9 is one of them) can't do the same for PAL games as it would break special chars = we do need an unicode build
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3368 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 02:25:21 +00:00
XTra.KrazzY
c779f95b87
-Wii System Menu now recognizes DVDs using the Load Disc/Eject feature!
...
Games hang though (probably due to unknown ES call)
-/dev/di IPC: Cleaned up code and fixed a bug (which I used to accidentally find out what I did), added Volume eject feature for VolumeHandler.
-Partially documented Wii DVD cover flags.
-Files opened in Wii Read-Write mode are now set to append.
-Removed annoying overhead-ish "Idle" log message.
As for /dev/di: Someone clearly didn't know what he was doing in that file. Someone freed memory which didn't belong to that file and then complained about a crash. Needless to say the problem is now solved.
Big TODO on the /dev/di code though, ExecuteCommand is practically doing nothing but reading.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3365 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 00:14:48 +00:00
hrydgard
bb06a53e28
DSP LLE: Just some renaming and cleanup. Prepared for proper base address support in disassembly. Added a "DebugInterface" for the DSP which would allow us to hook up a CodeView .. although CoreView currently doesn't have any support for variable-length instructions.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3351 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 11:06:40 +00:00
sl1nk3.s
7eea69f5c2
Replaced current platform images by better looking ones, added wad platform
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3347 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 02:27:36 +00:00
XTra.KrazzY
8da4f8e565
oops
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3346 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-06 23:26:48 +00:00
XTra.KrazzY
e99b687525
Wii IPC: Code housekeeping
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3345 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-06 23:24:41 +00:00
XTra.KrazzY
3a4e51b67f
Wii IPC: Opening nonexistent files for writing now creates them and renaming now returns a proper error code.
...
Result: Zelda: A link to the past (VC) now runs (needs to be run twice to work), Wii System Menu generates more files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3344 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-06 23:19:40 +00:00
Shawn Hoffman
695fe31b2c
...and the days of ceaseless build fixing begin anew
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3337 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-06 15:51:03 +00:00
LPFaint99
7e0568d7ba
disable loading this setting for now
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3333 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-06 06:27:51 +00:00
LPFaint99
ff9128e129
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3332 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-06 06:22:36 +00:00
LinesPrower
2ff53b2198
Fix to R3312. I should be more careful next time...
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3331 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-05 11:49:06 +00:00
John Peterson
04adec5ae5
DTK Music: Test of code to fix the 1080 and Waver Race music
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3326 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04 20:33:26 +00:00
Shawn Hoffman
4380898080
correct handling of pad modes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3325 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04 18:40:04 +00:00
John Peterson
47c69e5f5a
GC Controller: Added analog mode 0 for Luigi's Mansion
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3324 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04 16:52:32 +00:00
LinesPrower
ef1ecbcd0f
Fixed profiled ReJIT. It's very experimental though. Makes a great performance boost, but is way too unsafe. However it seems to work fine on games I've tested. Can be enabled from ini-file (ProfiledReJIT = True in [Core]).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3321 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04 16:00:37 +00:00
Shawn Hoffman
ba3ceeafb7
Fake IOSv9 r2.4 if no version is found (elf loading)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3317 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04 00:02:49 +00:00
Shawn Hoffman
43c18bb552
OpenGL: save projection hack setting
...
wii: pass 002 check correctly (i think :p ) also copy 10bytes from disc start instead of just 6
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3316 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-03 23:38:31 +00:00
LinesPrower
074fe9c9ea
Implemented jit'ing of floating point compare operations in the IL
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3312 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-03 13:14:03 +00:00
LinesPrower
3c953e485c
Some fixes to JIT IL's quantized stores
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3310 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-03 04:43:34 +00:00
Shawn Hoffman
c391e9659a
fix a dumb mistake with VideoInterface::Read8
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3309 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-01 20:23:06 +00:00
Shawn Hoffman
afd65b3de1
VI PreInit: use descriptive names/numbers instead of just writing values to regs.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3307 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-01 15:13:15 +00:00