Instead of relying on getline on an ifstream, read the entire stream into memory first.
Attempt based on this info found by mnguyen:
http://www.cygwin.com/ml/cygwin/2003-06/msg01229.html
Haven't stopwatched it yet on the psp, will post the results shortly...
Search found 58 matches
- Tue Sep 28, 2010 10:53 am
- Forum: Code submission
- Topic: app launch optimization(?)
- Replies: 3
- Views: 2759
- Tue Sep 28, 2010 7:37 am
- Forum: Code submission
- Topic: navigation mod
- Replies: 3
- Views: 2796
navigation mod
This change allows you to click up/down one more time to jump directly to an avatar. The idea being, if you're casting a target spell on the AI's avatar late in the game, rather than scrolling left through a bazillion cards, you only need to scroll up to the top of the board...
- Tue Sep 28, 2010 7:31 am
- Forum: Code submission
- Topic: vs2010 config
- Replies: 1
- Views: 2423
vs2010 config
I've created a working upgrade to VS 2010 (attached - sorry, I can't export as a patch as these are new files, but you should be able to unzip directly into your SVN trunk). If someone else can sanity check that it builds for them, it'd be appreciated. (Wololo, I've sent you a couple of PMs on sourc...
- Mon Sep 27, 2010 8:46 am
- Forum: Compilation & Sources
- Topic: Rev. 2135
- Replies: 6
- Views: 3060
Re: Rev. 2135
I just ran into the same thing, it was a bad cast at line 1485 of the JFE/src/JGfx.cpp file, like the error said:
if (buffer)
{
p32 = (u32*) buffer;
}
p32 is a DWORD*, the cast should have been to a DWORD*. Made the correction locally, and it compiles fine with 0.9.6.
if (buffer)
{
p32 = (u32*) buffer;
}
p32 is a DWORD*, the cast should have been to a DWORD*. Made the correction locally, and it compiles fine with 0.9.6.
- Sun Sep 26, 2010 6:16 pm
- Forum: Bug reports
- Topic: some UI bugs/enhancements
- Replies: 3
- Views: 1749
Re: some UI bugs/enhancements
There are legal reasons for that (the set names are Trademarked). Feel free to add the full name of your set in the set's meta data though, it's just that we can't do it in the official release.Then it's a matter of various places of the code to "support" the meta data when it is available. Alterna...
- Sun Sep 26, 2010 4:10 am
- Forum: Compilation & Sources
- Topic: Rev. 2319 PSP Compilation Error
- Replies: 2
- Views: 1935
Re: Rev. 2319 PSP Compilation Error
I think you have a stale object file, since that Update function was removed from the source file. You need to force a clean - I haven't tried building the PSP EBoot yet, but you probably can delete the MTGRules.o file and try running the build again.
- Sun Sep 26, 2010 1:32 am
- Forum: Bug reports
- Topic: some UI bugs/enhancements
- Replies: 3
- Views: 1749
some UI bugs/enhancements
I'm going to lump a couple of issues together here, if you want to break them out into separate bugs on the googlecode issues list, be my guest: 1) the token count text indicator drawn on the card's image is in a bad location, if you have images that have an uncanny resemblance to MTG cards *cough*,...
- Fri Sep 24, 2010 8:22 am
- Forum: Git & Programmers' section
- Topic: Debugging with visual Studio
- Replies: 6
- Views: 5593
Re: Debugging with visual Studio
Actually, this is pretty easy to get around. If you tried debugging any of the resources.RetrieveQuad() calls above the crash, you'd see that the png files aren't loading. The reason is that when debugging in VS, the working directory isn't automatically the one where the executable is located. To f...