Commit graph

52 commits

Author SHA1 Message Date
Jasper St. Pierre
34692ab826 Remove unnecessary Src/ folders 2013-12-31 14:03:19 -05:00
comex
c579637eaf Run code through the advanced tool 'sed' to remove trailing whitespace. 2013-11-03 20:54:05 -05:00
Lioncash
82fd579506 Remove unnecessary include of "../../Core/Src/ConfigManager.h" from BannerLoaderGC.cpp. In actuality, all that was needed here was an include of CommonTypes.h.
Also change Common.h to CommonTypes in BannerLoaderWii.cpp.
2013-10-19 19:59:01 -04:00
Lioncash
1ec4894bc5 [Common] Abstract out the decode5A3Image and decodeCI8Image functions in BannerLoaderGC, BannerLoaderWii, and GCMemcard into ColorUtil.cpp. Makes for less copied code and remains functionally the same. 2013-10-02 18:18:54 -04:00
comex
bea76ac129 No need to std::move a return value. Thanks Billiard. 2013-09-26 21:15:35 -04:00
comex
18abc33306 2x banner images! 2013-09-25 03:06:27 -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
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
aeb4fc9846 Fix what I broke. 2013-03-03 02:12:24 -06: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
Jordan Woyak
e079d24912 Kill wstring version of game description. 2013-03-01 22:45:10 -06:00
Shawn Hoffman
bef3d7229e Ensure comment strings in CBannerLoaderWii::SWiiBanner are null-terminated. Fixes issue 5012.
Signed-off-by: Shawn Hoffman <godisgovernment@gmail.com>
2012-01-17 23:59:48 -08:00
LPFaint99
825e2ea4df fix an ascii/wxstring in gamelistctrl, replace fromascii("") with wxemptystring, don't push_back 0 at the end of wstrings 2011-12-22 14:28:12 -08:00
LPFaint99
7f4efa094e add the function to read the game name and description from the banner as unicode 2011-12-18 21:56:13 -08:00
Jordan Woyak
59fd1008ca Wrapped fopen/close/read/write functions inside a simple "IOFile" class. Reading, writing, and error checking became simpler in most cases. It should be near impossible to forget to close a file now that the destructor takes care of it. (I hope this fixes Issue 3635) I have tested the functionality of most things, but it is possible I broke something. :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7328 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-11 10:21:46 +00:00
Glenn Rice
ba54fac9eb Convert GetUserPath to return a std::string instead of a const char *. This simplifies its usage in most cases.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7265 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-28 20:40:15 +00:00
Soren Jorvang
3d68608024 Fix Unix build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6645 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-22 06:45:59 +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
Glenn Rice
feba09f7a3 Linux global build. At least the basic footwork is done here.
Basic usage:  "sudo scons install=global install"
Hopefully this doesn't break builds on Macs.  I have tested this on linux and windows.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4994 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-02 21:56:29 +00:00
LPFaint99
703cb0bdb8 Fix for importing / exporting more than one save per launch
SD_IV should not be global, thanks to interdpth as I was only testing with one save before 
remove duplicated code from BannerLoaderWii.cpp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4863 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-17 03:25:42 +00:00
hrydgard
c840297615 Better-quality downsizing of Wii banners (yeah yeah I know it's not important but it's been sitting on my harddrive for ages).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4806 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-11 23:24:32 +00:00
LPFaint99
486c9e1a6b Fixes issue 1242.
m_pBannerFile was deleted twice

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3939 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-04 19:05:28 +00:00
Shawn Hoffman
0cb7934d93 fix some memleaks in DiscIO. Fix for issue 1238.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3936 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-03 22:51:13 +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
sl1nk3.s
8cb67f4729 Added wad files detection to the GameListCtrl, some changes to ISOProperties, needs a bit more work ?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3348 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 02:54:07 +00:00
XTra.KrazzY
f004fb17d4 Incomplete work on extracting banners from Wii images without savefiles. Please finish my work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3336 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-06 14:33:52 +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
Marcus Wanners
2673eed2cc Remove the include (fix for r3101)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3102 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-29 12:18:31 +00:00
sl1nk3.s
870242fc79 Fixed path of banner.bin in GamelistCtrl not getting the good TitleID, replaced fullscreen on Esc key by Alt+Enter, Esc now escape fullscreen or stop emulation (as requested, but i find it better too)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3101 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-28 23:47:18 +00:00
hrydgard
7d910a5e4a Assorted cleanup and comments.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2693 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 18:13:31 +00:00
hrydgard
aff0f1fbe3 Consolidate the three implementations of Decode5A3 found in Core into one. Fix some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2364 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 12:43:25 +00:00
hyperiris
d5bcb81872 this should be OK: display some default info when no save exist
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2133 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 17:31:35 +00:00
hyperiris
825919aaf8 fix display wii game name and description (only WIN32 working).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2125 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 16:53:22 +00:00
hyperiris
9e3fed40f2 game name and description WIP: cache all 6 languages, so we don't need refresh cache after we changes language.
move some WIN32 code to CGameListCtrl.
nakee, please check linux build, sorry I've not enough time to setup a linux dev environment.
and, who can read German helps me to test game name and description display, thanks.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2090 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 15:03:34 +00:00
nakeee
2e92b94e4a Compile fix on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2005 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:24:44 +00:00
hrydgard
70bc8167f8 Warp back to 1983!!! (rev 1983, that is, not the year :P)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1997 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 21:28:55 +00:00
nakeee
cb9baf6d07 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1985 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 23:33:11 +00:00
hyperiris
cf8b3b2264 some small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1974 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 17:10:08 +00:00
hyperiris
8f4d58e082 UI: makes dolphin displays japanese region games' names and their descriptions.
only work on windows and asian language support installed.
(without fonts and codepages, we can not display text, I'm sure).
BTW, I only test on GC games, I've no Wii games now, 
and .\User\Cache directory must be cleared to work (delete all cached files)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1972 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 16:31:44 +00:00
facugaich
3be88bb2dd - Janitorial tasks
- Bugfix in ARCode/Patch editor


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1612 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 18:46:49 +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
nakeee
8777917177 warning fixes
(may break sound on wii, look in the changelog of 
Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AXWii.cpp
if you wish to know why)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1306 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 19:42:22 +00:00
nakeee
d0cd722e81 some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1303 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 17:16:54 +00:00
nakeee
4fd6b746d9 small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1145 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 08:16:09 +00:00
Shawn Hoffman
f7cb34f1e0 Migration to the new dir struct (in code only!, no deletion of old dirs...yet). VS projects copy Data/* to Binary/<arch>. Added SConscript to some projects where it was missing. This is the time to move over all your files!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1140 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 04:54:17 +00:00
fires.gc
e19f01c33b another wii banner fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1078 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-05 21:05:04 +00:00
fires.gc
ef943ed065 several FS/FileIO fixes/improvements
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1045 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:33:37 +00:00
fires.gc
046ca53f8c updating the HLE FS and FileIO
added banner support of the savegames for wii... same games 

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1031 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 15:59:06 +00:00
XTra.KrazzY
369a6d2883 We hate pointer games, don't we?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@597 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 15:04:22 +00:00
hrydgard
09406d76c4 Fix/workaround at least one class of buffer underruns in the GL plugin. Fix some bad deletes (instead of delete []). etc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@404 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 13:36:52 +00:00