MathewWi / mupen64gc

Automatically exported from code.google.com/p/mupen64gc
GNU General Public License v2.0
0 stars 0 forks source link

debug file fails #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Do operative the line //#define SDPRIN in DEBUG.h
2. compile Makefile.GLN64_dev_wii with last svn mupen64gc version and svn
libogc version  
3. Run in wii.
4. Activate in configuration debug file.
5. Play

What is the expected output? What do you see instead?
The program crash showing the registers information.
And the debug.txt file is not created.

What version of the product are you using? On which system and loader?
svn version r431.
wii with custom ios36rev5

Please provide any additional information below.

Original issue reported on code.google.com by DCe...@gmail.com on 30 Oct 2008 at 1:24

GoogleCodeExporter commented 9 years ago
In other hand, when can I download dollz3 needed for the last command of 
makefiles?
Thanks

Original comment by DCe...@gmail.com on 30 Oct 2008 at 5:11

GoogleCodeExporter commented 9 years ago

Original comment by grif...@gmail.com on 31 Oct 2008 at 4:58

Attachments:

GoogleCodeExporter commented 9 years ago
thanks

Original comment by DCe...@gmail.com on 31 Oct 2008 at 7:26

GoogleCodeExporter commented 9 years ago
The SDPRINT debug feature is broken and is/was for development purposes. Please
disregard this as it's not meant to be a user feature.

Original comment by emuki...@gmail.com on 3 Nov 2008 at 2:11

GoogleCodeExporter commented 9 years ago
Ok emukidid. Anyway I've already solved the problem was
that just is needed change the debug.txt url.

I think that this point is very important end user feature, because is a
communication track with important informatión for solve several troubles 
detected
for the user. And activating it the user can give to the coder aditional 
information
about the problem sending the debug.txt file.
But this is a matter of taste, if You not need this kind of information is that 
you
are very good programs, I congratulate you. Good job.

Here is the svn diff, for if you want add this to the project:

Index: mupen64gc-read-only/gui/DEBUG.c
===================================================================
--- mupen64gc-read-only/gui/DEBUG.c     (revision 431)
+++ mupen64gc-read-only/gui/DEBUG.c     (working copy)
@@ -49,7 +49,7 @@
 int flushed = 0;
 int writtenbefore = 0;
 int amountwritten = 0;
-char *dump_filename = "dev0:\\N64ROMS\\debug.txt";
+char *dump_filename = "fat3:/N64ROMS/debug.txt";
 FILE* f = NULL;
 void DEBUG_print(char* string,int pos){

Original comment by DCe...@gmail.com on 3 Nov 2008 at 2:09

GoogleCodeExporter commented 9 years ago
Actually, writing debug info to SD card really isn't useful for the end-user. 
We only
print out debug info for a specific problem at hand.

Original comment by sepp...@gmail.com on 3 Nov 2008 at 5:18