Rachel Bryk
5adbc83453
Change ControlState typedef to double, and change all related floats/doubles to use it.
...
Fixes an off by 1 issue related to double->float->double conversion, and eliminates numerous warnings.
2014-09-03 03:08:09 -04:00
Rachel Bryk
ecdd0f6ac0
Add OSD messages back to status bar.
...
OSD messages can be disabled, while still leaving them in the status bar. This is incredibly useful for certain users, who may wish to see the messages, but do not wish to have them cover up half of the screen. In particular TASers will generally have OSD messages on the screen 100% of the time, and they cover up useful information, making it critical to turn them off. However the messages are still very useful to them, so it's important to have them somewhere.
This reverts 4a16211bae .
2014-08-29 17:46:41 -04:00
Rachel Bryk
a3cfc98f26
Allow system time to move forward during netplay.
2014-08-27 16:45:15 -04:00
Rachel Bryk
31353573cb
Change default netplay buffer to 5.
2014-08-26 21:50:30 -04:00
Rachel Bryk
5d20455e7d
Disable all logs by default.
2014-08-26 03:59:17 -04:00
Rachel Bryk
d8baf64747
Remove a couple unneeded includes from Movie.cpp.
2014-08-16 23:54:11 -04:00
Rachel Bryk
35ae1b4ee2
Set the default radius to 100 for non-gcpad analog sticks.
...
The previous default of 70 was determined based on gc controllers, and is not right at all for the wii extensions.
2014-08-11 13:58:47 -04:00
Rachel Bryk
71ce63f819
Don't spam PanicAlerts on wii save exports.
2014-08-05 23:34:03 -04:00
Rachel Bryk
9bd28aa6d1
Give file count in decimal rather than hex when exporting all wii saves.
2014-08-05 22:43:34 -04:00
Rachel Bryk
acaac51077
Remove audio frame limit.
...
It serves no purpose and causes bugs and confusion for users.
2014-07-25 12:17:10 -04:00
Rachel Bryk
ed5169c5eb
Fix leaking exi devices.
2014-07-15 16:15:38 -04:00
Rachel Bryk
36bc494a0b
Fix code style in WII_IPC_HLE_Device_net.h/.cpp.
2014-07-09 05:26:04 -04:00
Rachel Bryk
5558aa08c2
Fix hiding size column in game list.
2014-07-06 01:59:38 -04:00
Rachel Bryk
86ccf13c09
End movie play back immediately if g_currentByte > g_totalBytes.
...
Also uncomment a PanicAlert in the case of g_currentByte > totalSavedBytes, and add comment explaining how it can happen.
2014-07-05 19:48:44 -04:00
Rachel Bryk
e02f680861
Keep device type EXIDEVICE_MEMORYCARDFOLDER for gci folder.
...
This fixes loading save states when type mismatches.
2014-07-05 00:22:42 -04:00
Rachel Bryk
de3f587b32
Add support for 2 memory cards for movies.
2014-07-02 22:26:29 -04:00
Rachel Bryk
899274445b
Fix patches not being loaded when running real gc bios.
2014-06-30 17:28:45 -04:00
Rachel Bryk
addbbf11d7
Allow progressive scan to be set by game ini.
2014-06-22 12:29:16 -04:00
Rachel Bryk
93a215c9e7
Fix an incorrect label in fps display string.
2014-06-22 12:21:11 -04:00
Rachel Bryk
3e60979000
Abort loading a save state if emulation isn't running.
2014-06-20 21:22:54 -04:00
Rachel Bryk
0d60389d03
Save an unsaved wiimote variable to save states.
2014-06-20 09:35:47 -04:00
Rachel Bryk
e519b05e7a
Remove an unused variable.
...
It's never been used since it was added except to check the value, which is always false.
2014-06-18 20:25:21 -04:00
Rachel Bryk
dbcd40111f
Add an option to kick players from netplay.
2014-06-18 13:22:45 -04:00
Rachel Bryk
80f3264b17
Remove fix item hang patch for wind waker.
...
Apparently it hasn't been needed in an eternity.
2014-06-10 21:04:45 -04:00
Rachel Bryk
c38e8e25dd
Remove unused video config variable.
2014-06-09 00:02:38 -04:00
Rachel Bryk
525965a873
Remove unused EXI update functions.
2014-06-06 20:30:36 -04:00
Rachel Bryk
80ab567a5b
When reading an ini file, if there is an error, check if it is simply because the eof was reached.
2014-05-28 14:06:18 -04:00
Rachel Bryk
8c70ee7194
Make sure netplay player IDs are actually unique.
...
Fixes issue 7329.
2014-05-28 06:04:08 -04:00
Rachel Bryk
b1029223c6
When updating netplay player list, reselect by string instead of index.
...
Fixes issue 7284.
2014-05-27 10:43:41 -04:00
Rachel Bryk
e6684d17c1
Fix a couple race conditions.
...
Checks if another game is already starting to boot before starting to boot a new one, and only change video backend, and dual core if a game is actually not running.
2014-05-23 10:22:00 -04:00
Rachel Bryk
61d3360033
Limit netplay chat messages to 2000 characters.
...
There's not really a good reason to be sending messages longer than that, and very long messages can hang dolphin for quite a long time.
2014-05-23 08:11:49 -04:00
Rachel Bryk
cd299f0703
Flash netplay window when someone joins if the window doesn't have focus.
2014-05-23 07:30:08 -04:00
Rachel Bryk
0782d106db
Check for errors when reading lines from ini files.
...
Fixes issue 7283.
2014-05-23 03:17:19 -04:00
Rachel Bryk
d9d292fd1c
Add dsp rom hashes to movie header.
...
Also fix a random typo.
2014-04-06 09:36:45 -04:00
Rachel Bryk
57f3e1c907
Add extract dol/apploader options back for gc disks.
...
It was removed from the menu for the disk item in 868c6278 , but we want to keep it there for gc games, since they don't have separate partitions.
2014-03-17 03:10:17 -04:00
Rachel Bryk
89dbec437f
Save bHLE_BS2 to config cache before it can be changed while booting.
...
This variable can be changed in SConfig::AutoSetup, so we need to save it before that is called.
2014-03-16 20:05:09 -04:00
Rachel Bryk
aa3ca6d8ea
Fix extracting dols.
...
There is no "/" after partition number when extracting a dol. Also the .remove is completely unneeded.
2014-03-14 21:20:20 -04:00
Rachel Bryk
f6dfc1f653
Fix extracting files on partition > 0.
2014-03-14 19:09:36 -04:00
Rachel Bryk
d06eb0f668
Fix reading revision specific default game inis in ISOProperties.
2014-03-05 17:05:36 -05:00
Rachel Bryk
b1f77d0191
Save frame skipping option, and allow loading it from game ini too.
2014-02-18 12:25:11 -05:00
Rachel Bryk
a3d1b9aba7
Increase save state version.
2014-01-24 00:15:56 -05:00
Rachel Bryk
4a81baff3f
Reenable vsync after releasing tab even if frame limit is disabled.
2014-01-19 02:48:59 -05:00
Rachel Bryk
48470a20ca
Code cleanup
...
Move enums for max SI and EXI devices to their respective .h file, and rename them.
Use only those enums in BootManager.cpp. Same thing in Movie.cpp
Change one instance of MAX_BBMOTES to MAX_WIIMOTES in Movie.cpp, since movies do not support balance board.
2014-01-08 20:36:27 -05:00
Rachel Bryk
216f4c927a
Fix copy and paste error in BootManager.cpp.
2014-01-08 19:37:51 -05:00
Rachel Bryk
509ec9cc99
Bootmanager.cpp fixes and clean up.
...
Some settings that bootmanger reads from game ini can be changed while a game is running, so we don't have to revert these back to what they were when starting the game, unless they were actually changed by the game ini.
Fix signed/unsigned warnings that pauldacheez pointed out.
2014-01-02 16:36:06 -05:00
Rachel Bryk
450cacd092
Allow pad settings to be set via game ini.
2014-01-02 13:13:59 -05:00
Rachel Bryk
7a818e05ef
I've never claimed to be a good coder.
2014-01-01 07:45:20 -05:00
Rachel Bryk
8f34085172
Really fix android build.
2014-01-01 07:39:50 -05:00
Rachel Bryk
777c62c67a
Fix android build.
2014-01-01 07:04:30 -05:00
Rachel Bryk
8a765f8749
Allow wiimote source to be set via game ini.
2014-01-01 06:59:01 -05:00
Rachel Bryk
04b87e1dcc
Change a PanicAlert to OSD message.
2013-12-23 07:18:28 -05:00
Rachel Bryk
0f94652952
Disable wiimote source selection while netplay is running.
2013-11-12 04:16:51 -05:00
Rachel Bryk
a250ab0af7
Stop saving random files to ./
2013-11-02 23:47:10 -04:00
Rachel Bryk
8aef60f6ca
Allow frame limit to be set via game ini.
2013-10-23 13:45:03 -04:00
Rachel Bryk
f605ea9eeb
[Netplay] Allow a spectator to leave without affecting players.
2013-10-16 21:44:49 -04:00
Rachel Bryk
6eb216fc77
(Netplay) Disable record input checkbox while a game is running.
...
Fixes issue 6734.
2013-10-15 17:28:01 -04:00
Rachel Bryk
cc05f66ba1
Don't prepend file:// in wxUtils::Explore() on windows. Wxw will just remove it, and/or blow up trying to remove it, if the path isn't ascii.
...
Fixes issue 6721.
2013-10-09 16:18:33 -04:00
Rachel Bryk
99c89ae109
Fix unicode support for File::Rename() on windows.
...
Partial fix of issue 6721.
2013-10-09 15:33:21 -04:00
Rachel Bryk
b0200219dd
Add literally a million blank inputs in netplay when a wiimote changes reporting mode, just to make nsmbw sync.
2013-09-28 23:39:29 -04:00
Rachel Bryk
9c53a21c18
Allow setting DSP settings via game ini.
2013-09-28 08:31:28 -04:00
Rachel Bryk
785171abb4
Change iTLBHack to a bool.
...
It is only used as a bool.
Fixes issue 6668.
2013-09-28 08:07:23 -04:00
Rachel Bryk
cbd366236a
Allow loading save states via drag and drop.
2013-09-27 08:38:12 -04:00
Rachel Bryk
74ee85aaac
Fix linux, attempt 2.
2013-09-25 06:22:11 -04:00
Rachel Bryk
f77b3ccf8a
Fix linux, probably.
2013-09-25 06:13:44 -04:00
Rachel Bryk
93f7622e16
Fix changing wiimotes when starting netplay.
...
AccessWiiMote() crashed for some users. Not sure why...
2013-09-25 05:44:16 -04:00
Rachel Bryk
1745bfdc45
Fix crash in gc games in netplay.
2013-09-23 11:07:15 -04:00
Rachel Bryk
0bdef3932f
Automatically connect the appropriate wiimotes in netplay. Extensions must still be set manually.
2013-09-23 02:56:17 -04:00
Rachel Bryk
0a093cf1b9
Why do compilers assume i don't know order of opperations? :(
2013-09-22 22:01:25 -04:00
Rachel Bryk
12e7c22006
Fix recording netplay with wiimote.
2013-09-22 17:32:11 -04:00
Rachel Bryk
9a6f28fce4
Revert "Fix stack misalignment issues."
...
This reverts commit d334a9bc23 .
This breaks single core.
2013-09-22 14:29:35 -04:00
Rachel Bryk
f3469c16a5
Merge branch 'wiimote-netplay'
...
Conflicts:
Source/Core/Core/Src/NetPlayClient.cpp
Source/Core/Core/Src/NetPlayClient.h
Source/Core/Core/Src/NetPlayProto.h
Source/Core/Core/Src/NetPlayServer.cpp
Source/Core/Core/Src/NetPlayServer.h
Source/Core/DolphinWX/Src/NetWindow.cpp
Source/Core/DolphinWX/Src/NetWindow.h
2013-09-22 14:27:52 -04:00
Rachel Bryk
75129dc3a7
Merge branch 'to-merge-after-4.0'
2013-09-22 10:58:24 -04:00
Rachel Bryk
d2c3222fcc
Fix copying Sys/Wii to User/Wii on startup.
...
Fixes issue 6621.
2013-09-21 00:34:19 -04:00
Rachel Bryk
dc73222bfc
Remove suggestion to restart dolphin if a wiimote movie desyncs, since it's no longer necessary.
2013-09-18 21:51:37 -04:00
Rachel Bryk
47ce3dd09d
Really fix reading projection hacks from game inis.
2013-09-17 10:44:47 -04:00
Rachel Bryk
e3d01de01d
Fix reading projection hack from game inis in ISOProperties.
2013-09-17 10:40:12 -04:00
Rachel Bryk
ec5cf60f5e
Set L/R buttons in tas input, instead of just the analog triggers.
...
Fixes issue 6613.
2013-09-17 09:56:45 -04:00
Rachel Bryk
afdac224cb
Prevent an error message from erroneously displaying when dumping frames in d3d9 or d3d11.
2013-09-16 06:31:47 -04:00
Rachel Bryk
b4c082f1b3
No, i don't check what i committed before pushing to master, one week before a release.
...
Fixes a mistake from 550c855ae6 .
2013-09-14 22:58:32 -04:00
Rachel Bryk
550c855ae6
Create blank ini file before editing it, if it doesn't already exists. This prevents the editor from prompting to create it.
2013-09-14 20:30:42 -04:00
Rachel Bryk
dfcef6890e
Use global user directory on windows.
...
Can override by setting HKCU\Software\Dolphin-emu\LocalUserConfig to true.
2013-09-14 06:08:29 +02:00
Rachel Bryk
0d341e9f28
[NetPlay] Fix copy and paste error.
2013-09-09 03:12:42 -04:00
Rachel Bryk
772046647a
Revert "Revert "NetPlay: Use the correct pad mappings for rumble""
...
This reverts commit 06140e8083 .
2013-09-09 03:09:45 -04:00
Rachel Bryk
33fb1b562f
Move some code from NetPlayClient.h to NetPlayProto.h, and only include that outside of NetPlay.
2013-09-07 00:27:35 -04:00
Rachel Bryk
2bc44f98c3
Disable gui controls for gc controllers and memory cards during netplay and movies.
2013-09-07 00:06:03 -04:00
Rachel Bryk
3baab41cf4
Allow input display to work with netplay even when not recording.
2013-09-05 16:09:56 -04:00
Rachel Bryk
e9ffba7ab8
Don't ever ever let CFrame::DoStop() run twice at the same time.
2013-09-03 18:53:23 -04:00
Rachel Bryk
8ae10b3e12
[NetPlay] Allow recording movies during netplay.
...
Fixes issue 6207.
2013-09-03 15:50:41 -04:00
Rachel Bryk
3ff81c9199
Merge branch 'netplay-stop-fix'
...
Fixes issue 6511.
2013-09-02 23:39:57 -04:00
Rachel Bryk
7d09e72ac8
Don't tell the server to stop if we already stopped.
2013-09-02 23:33:53 -04:00
Rachel Bryk
410197a3bd
Remove code that was made unused by revision cea7737aef.
2013-09-02 22:05:05 -04:00
Rachel Bryk
cea7737aef
Fix crash on stop in netplay, and stop netplay when anyone with a pad mapped in game stops emulation.
2013-09-02 21:54:28 -04:00
Rachel Bryk
18749bad68
Actually allow the dump and logs folders to be set outside of user/
2013-08-25 01:35:32 -04:00
Rachel Bryk
8882f89bbc
Allow user folder to be set via command line.
...
Clean up GetUserPath(), to allow setting any path with it.
2013-08-24 23:15:55 -04:00
Rachel Bryk
d3894a0594
Clean up wiimote-netplay.
2013-08-22 11:58:29 -04:00
Rachel Bryk
d3c437819d
NetPlay: Add blank inputs when reporting mode changes, so the buffer isn't empty if wiimote 1 isn't polled next.
2013-08-19 17:03:14 -04:00
Rachel Bryk
894e29b809
Fix comments, and send wiimote mapping to new users.
2013-08-18 05:17:06 -04:00
Rachel Bryk
89d324786a
Prevent stopping emulation before fully booting. This can sometimes cause dolphin to crash.
2013-08-16 10:04:08 -04:00
Rachel Bryk
c7025989f8
Probably worthless commit that may fix wiimote netplay buffer problems.
2013-08-15 22:31:36 -04:00
Rachel Bryk
6d67ea2fda
Merge remote-tracking branch 'origin/master' into wiimote-netplay
2013-08-15 09:00:04 -04:00