Matthew Parlane
e15f628935
Fix {Read,Write}FileToString.
...
We should be using binary always.
2013-11-05 00:33:41 +13:00
comex
c579637eaf
Run code through the advanced tool 'sed' to remove trailing whitespace.
2013-11-03 20:54:05 -05:00
comex
965b32be9c
Run code through clang-modernize -loop-convert to create range-based for loops, and manually fix some stuff up.
2013-11-03 20:54:01 -05:00
Lioncash
207547b425
Clean up includes in DiscIO as much as possible.
...
Also turned a long iterator declaration in VolumeDirectory.cpp to using auto in order to shorten it.
2013-10-19 19:59:02 -04:00
Lioncash
bab9963b00
New license header introduced for DiscIO, AudioCommon, InputCommon, VideoCommon, and Common projects.
2013-04-17 23:09:55 -04:00
Lioncash
2316cb6876
Remove all tab/space mismatches from the Core project. For anyone working on a branch that heavily involves the core, I am so sorry.
...
- Also killed off some trailing spaces/tabs.
- Updated the license header to be consistent with the rest of the project (All projects are now done moving over to this)
- Also, killed some dangling else's (where appropriate)
Now all the tab fixing is done. No more of this crap should be needed to be pushed. Rejoice!
2013-04-16 23:14:36 -04:00
lioncash
ef85b9af45
Update the license file text (change SVN to Git) in all projects except Core since I was told a merge was happening soon. So for the sake of the merge going smoothly, I'll fix that when I remove the tab/space mismatches from the Core project.
...
Also, some tab/space mismatches removed from VideoOGL, and some places I missed in VideoDX[number] projects.
Now, the Core is literally the only project with tab/space mismatches (on a large scale).
2013-04-15 16:28:55 -04:00
Jordan Woyak
98d35e590e
Fixed split WBFS file size display. (probably)
...
Fixed issue 6222.
2013-04-09 12:58:56 -05:00
Jordan Woyak
6c8adf6130
Eliminate the wstring game name.
...
Some cleanup throughout related code. (try to make logic in ISOFile understandable by a human)
Encode strings in UTF-8 rather than somehow trying to determine the encoding in the GUI code.
Non-windows OSes temporarily broken.
2013-03-02 20:00:36 -06:00
Pierre Bourdon
04bde406d3
Fix DVD root path for Wii games. Now Wii games can be booted using extracted files instead of a disc image.
2012-05-11 22:19:57 +02:00
skidau
330f63df80
Corrected the file offset within the FST of virtual disks (used by the DVD Root path function).
2012-04-28 11:21:55 +10:00
Shawn Hoffman
26521aa66a
force VolumeDirectory to align files to 32KB (only streaming audio files really need to be aligned...)
2012-04-23 00:50:44 -07:00
Matthew Parlane
2d75d7a8be
Fixes issue 5278. Thanks to megazig for finding the bug :)
2012-03-22 21:15:05 +13:00
Glenn Rice
a5b471f490
More conversion from char * to std::string.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7266 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-01 03:06:14 +00:00
Glenn Rice
c6e0ea59b9
Removed my previous PanicAlert translation hack. Fixed with a better method suggested by BhaaL. The translation is done by a callback in the MsgHandler routine that is set at program start. Added macros PanicAlertT, SuccessAlertT, PanicYesNoT, and AskYesNoT that are identical to the non T versions except those strings will be added by gettext to the po files to be translated. These can and should be used anywhere in the code for strings that should be translated.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6838 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-13 02:05:58 +00:00
LPFaint99
6c556786fb
Move AES to common lib
...
move pch includes to vcproj file for discio
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6643 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-22 06:00:36 +00:00
Soren Jorvang
244448014a
Prevent double inclusion of CommonPaths.h as pointed out by Glenn.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5922 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-20 03:23:25 +00:00
Shawn Hoffman
98ddeadbbf
Use standard C file i/o in PlainFileReader instead of Windows' functions. Fix a memleak in CompressedBlob and VolumeDirectory. Thanks to baby.lueshi for finding the File i/o issue :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5031 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08 22:22:20 +00:00
j4ck.fr0st
e282d5c7f2
Fixes Issue 2176 (SysConf on OSX), plus some initialization order warning fix in VolumeDirectory.cpp
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4985 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-29 19:45:01 +00:00
Shawn Hoffman
c46b289b2e
VolumeDirectory: fix issues with Read() that broke non-apploader mode
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4693 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-14 05:27:29 +00:00
Shawn Hoffman
805bd8ec28
VolumeDirectory: allow loading of arbitrary apploader and dol. Code cleaning around the bootup logic.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4668 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-10 09:16:10 +00:00
XTra.KrazzY
c86d2e5129
Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28 21:32:10 +00:00
LPFaint99
4c86d218c1
Add Taiwan to the Country Codes, move all country code switches to one function, add unk country flag and taiwan country flag
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3666 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 22:34:51 +00:00
Shawn Hoffman
d210fbac2c
Wii images can now be scrubbed and compressed (my z:tp wii is now 1.08GB :D )
...
Currently scrubbing will display a warning that it removes the garbage data PERMENENTLY from the original file (mainly for speed of scrubbing). It could be removed in the future if people agree with me, since it is indeed just garbage.
Any tips for making scrubbing faster would be welcomed :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3267 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-21 19:19:15 +00:00
LPFaint99
7455361ed2
Adds Italy country code
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2600 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 18:03:53 +00:00
hrydgard
4bdb4aa0d1
Merge large parts of nakeee's "Soap" branch into trunk, after fixing a few crash bugs in FileUtil.cpp.
...
Not really anything interesting, just some better comments, some slightly more portable/cleaner code in places.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2459 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 01:26:56 +00:00
hyperiris
42a7d2fc85
Fix of issue 408, the game still can't boot.
...
Implement DVDLowUnencryptedRead, Medal Of Honor Heroes 2 use it to get DVD PartitionsInfo (disk offset 0x40000).
and the game try to use IOCtlV, code 0x8b, bushing point out, IOCtlV 0x8b is DVDLowOpenPartition too, so I just return 0 for success.
need further work on this.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2367 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 13:59:06 +00:00
omegadox
8f98f0b778
Some warning and code cleanup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 00:45:46 +00:00
donkopunchstania
d6e8c1f5d0
added an option to copy textures from the EFB to system memory. this is slower but shouldn't cause the compatibility issues the previous method of copying them directly to a GL texture has. the new method can be tested by disabling "copy EFB to texture" in the hacks section. the new method still needs some tweaks.
...
fixed some off-by-one errors in the EFB to texture copy and the scissor box. also fixed a couple asserts I was getting in the volume directory stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1853 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-11 22:25:57 +00:00
bushing
49cfded60b
set svn:eol-style=native for **.cpp
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1442 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 05:30:24 +00:00
Shawn Hoffman
eb65601f90
updated the filesystemviewer. maybe someone can help and explain why the treectrl doesn't work for me in non-debug builds?
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@807 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 05:33:24 +00:00
hrydgard
e4785df7a2
Ban compression of Wii images until it has been tested. All sorts of minor cleanup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@669 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 19:10:56 +00:00
Maarten ter Huurne
bcba16bb20
Do not use 32-bit masks on 64-bit offsets.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@651 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 23:29:54 +00:00
Maarten ter Huurne
35d830924d
Moved ScanDirectoryTree() to FileUtil: this is a generic directory scanning function which might be useful in other places as well.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@650 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 23:27:38 +00:00
Maarten ter Huurne
c688f95374
Fixed another error in pre-previous commit: ScanDirectoryTree should call itself recursively, not AddDirectoryEntries.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@649 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 22:31:39 +00:00
Maarten ter Huurne
b79bd60b7c
Fixed error in previous commit: FSTEntry is no longer an inner class..
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@648 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 22:28:33 +00:00
Maarten ter Huurne
5a3aee5118
Split functionality from AddDirectoryEntries into ScanDirectoryTree (generic directory scanning; OS depedent) and ComputeNameSize (specific for CVolumeDirectory; OS independent).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@646 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 22:13:53 +00:00
Maarten ter Huurne
6bffd4d4bb
Use existing File::IsDirectory() function. Thanks to nakee for pointing this out.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@639 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 10:05:46 +00:00
Maarten ter Huurne
65d59e8d6a
Gave file scope to functions and consts that are not declared in the header.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@637 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 08:07:53 +00:00
Maarten ter Huurne
fa83ed62a0
Implemented POSIX version of IsValidDirectory().
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@636 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 08:04:48 +00:00
Maarten ter Huurne
5254528eb9
Various small cleanups. Slightly less broken on Linux.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@635 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 07:49:32 +00:00
Maarten ter Huurne
18dbfbd462
Fixed function signature on Linux. The implementation is still missing, so it will not work, but at least it compiles now.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@631 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:37:52 +00:00
donkopunchstania
29664c880a
added VolumeDirectory and modified ELF boot code to allow a directory on the user's computer to appear as the DVD drive. Linux support needs to be added. Added functionality to the Wii DI. Clicking on a data symbol in the code window sets the memory list to that address.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@624 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:05:08 +00:00