John IV |
IV/Play, MAME, MAMEUI
|
|
|
Reged: 09/22/03
|
Posts: 1969
|
Loc: Washington, USA
|
|
Send PM
|
|
|
[Annc] MameUI64/32 .143.7 released.
#266071 - 10/11/11 06:45 AM
|
|
|
|
redk9258 |
Regular
|
|
|
Reged: 09/21/03
|
Posts: 3968
|
Loc: Troy, Illinois USA
|
|
Send PM
|
|
|
Re: [Annc] MameUI64/32 .143.7 released.
[Re: John IV]
#266083 - 10/11/11 12:51 PM
|
|
|
|
AnimalBear |
100% MAME Fan Forever!
|
|
|
Reged: 04/29/10
|
Posts: 206
|
Loc: Portugal, Porto
|
|
Send PM
|
|
|
Re: [Annc] MameUI64/32 .143.7 released.
[Re: John IV]
#266098 - 10/11/11 05:03 PM
|
|
|
John IV incredible version.
16GB Fruit games.
Thanks.
|
|
|
|
Re: [Annc] MameUI64/32 .143.7 released.
[Re: John IV]
#266114 - 10/12/11 12:56 AM
|
|
|
Make all doesn't work anymore?
EDIT - Nevermind, for some reason my make file dissappeared.
Edited by cyberdman (10/12/11 01:02 AM)
|
cyberdman
|
|
MASH |
MASH
|
|
|
Reged: 09/26/03
|
Posts: 1775
|
Loc: Germany
|
|
Send PM
|
|
|
|
Cppcheck is a static analysis tool for C/C++ code. Cppcheck does not detect syntax errors like C/C++ compilers but tries to detect bugs that are not visible by the compiler like memory leaks or out of bounds.
Cppcheck is a command line tool but don’t panic, a GUI is also available. With Cppcheck, you can analyze a single file or the content of a whole folder.
Homepage: http://cppcheck.sourceforge.net/
Cppcheck 1.50 Win32 installer: http://downloads.sourceforge.net/cppcheck/cppcheck-1.50-x86-Setup.msi
I've checked the MAMEUI source with Cppchec and found a MEMORY LEAK!
[ATTACHED IMAGE - CLICK FOR FULL SIZE]
|
|
|
|
Re: [Annc] MameUI64/32 .143.7 released.
[Re: John IV]
#266227 - 10/13/11 07:30 AM
|
|
|
|
|
Re: Did a MAMEUI code analysis with Cppcheck...
[Re: MASH]
#266235 - 10/13/11 11:04 AM
|
|
|
> Cppcheck is a static analysis tool for C/C++ code. Cppcheck does not detect syntax > errors > like C/C++ compilers but tries to detect bugs that are not visible by the compiler > like memory leaks or out of bounds. > > Cppcheck is a command line tool but don’t panic, a GUI is also available. With > Cppcheck, > you can analyze a single file or the content of a whole folder. > > > Homepage: > http://cppcheck.sourceforge.net/ > > Cppcheck 1.50 Win32 installer: > http://downloads.sourceforge.net/cppcheck/cppcheck-1.50-x86-Setup.msi > > I've checked the MAMEUI source with Cppchec and found a MEMORY LEAK!
thanks MASH. Very interesting.
|
Daffy Duck
|
|
|
Re: Did a MAMEUI code analysis with Cppcheck...
[Re: DaffyDuck]
#266352 - 10/14/11 04:46 PM
|
|
|
> > Cppcheck is a static analysis tool for C/C++ code. Cppcheck does not detect syntax > > errors > > like C/C++ compilers but tries to detect bugs that are not visible by the compiler > > like memory leaks or out of bounds. > > > > Cppcheck is a command line tool but don’t panic, a GUI is also available. With > > Cppcheck, > > you can analyze a single file or the content of a whole folder. > > > > > > Homepage: > > http://cppcheck.sourceforge.net/ > > > > Cppcheck 1.50 Win32 installer: > > http://downloads.sourceforge.net/cppcheck/cppcheck-1.50-x86-Setup.msi > > > > I've checked the MAMEUI source with Cppchec and found a MEMORY LEAK! > > thanks MASH. Very interesting.
oh, well a simple "free(pspage);" added in the incriminated line fixes the issues. But I don't think it's really a problem.
|
|
|
|
Re: [Annc] MameUI64/32 .143.7 released.
[Re: John IV]
#266385 - 10/14/11 11:30 PM
|
|
|
> http://www.mameui.info/
May I ask, if it is possible to turn back on the play time / play count functionality? It was removed some time after 0.141, in an attempt to improve load times (made no difference in my end). I actually like those statistics.
|
|
|
redk9258 |
Regular
|
|
|
Reged: 09/21/03
|
Posts: 3968
|
Loc: Troy, Illinois USA
|
|
Send PM
|
|
|
Re: [Annc] MameUI64/32 .143.7 released.
[Re: Arieta]
#266416 - 10/15/11 03:39 AM
|
|
|
> May I ask, if it is possible to turn back on the play time / play count > functionality? It was removed some time after 0.141, in an attempt to improve load > times (made no difference in my end). I actually like those statistics.
It makes a hell of a difference. If you want yours to have it, you can uncomment 2 lines and compile it back in.
Code:
mui_options.c static const options_entry perGameOptions[] = { // per game options // { "_play_count", "0", OPTION_INTEGER, NULL }, // { "_play_time", "0", OPTION_INTEGER, NULL }, { "_rom_audit", "-1", OPTION_INTEGER, NULL }, { "_samples_audit", "-1", OPTION_INTEGER, NULL }, // { "_extra_software", "", OPTION_STRING, NULL }, { NULL } };
to
Code:
static const options_entry perGameOptions[] = { // per game options { "_play_count", "0", OPTION_INTEGER, NULL }, { "_play_time", "0", OPTION_INTEGER, NULL }, { "_rom_audit", "-1", OPTION_INTEGER, NULL }, { "_samples_audit", "-1", OPTION_INTEGER, NULL }, // { "_extra_software", "", OPTION_STRING, NULL }, { NULL } };
and compile.
|
|
|
|
Re: [Annc] MameUI64/32 .143.7 released.
[Re: redk9258]
#266513 - 10/16/11 06:26 AM
|
|
|
> > May I ask, if it is possible to turn back on the play time / play count > > functionality? It was removed some time after 0.141, in an attempt to improve load > > times (made no difference in my end). I actually like those statistics. > > It makes a hell of a difference. If you want yours to have it, you can uncomment 2 > lines and compile it back in. > > mui_options.c > static const options_entry perGameOptions[] = > { > // per game options > // { "_play_count", "0", OPTION_INTEGER, NULL }, > // { "_play_time", "0", OPTION_INTEGER, NULL }, > { "_rom_audit", "-1", OPTION_INTEGER, NULL }, > { "_samples_audit", "-1", OPTION_INTEGER, NULL }, > // { "_extra_software", "", OPTION_STRING, NULL }, > { NULL } > }; > > > to > > > static const options_entry perGameOptions[] = > { > // per game options > { "_play_count", "0", OPTION_INTEGER, NULL }, > { "_play_time", "0", OPTION_INTEGER, NULL }, > { "_rom_audit", "-1", OPTION_INTEGER, NULL }, > { "_samples_audit", "-1", OPTION_INTEGER, NULL }, > // { "_extra_software", "", OPTION_STRING, NULL }, > { NULL } > }; > > and compile.
Sadly I have 0 experience with compiling software. What software do I need for doing this? I could do it if it's as simple as downloading a compiler, dropping the source code in and getting an exe, but with all the compiler errors I've seen in the past for various software, I'm not getting my hopes up.
|
|
|
redk9258 |
Regular
|
|
|
Reged: 09/21/03
|
Posts: 3968
|
Loc: Troy, Illinois USA
|
|
Send PM
|
|
|
Re: [Annc] MameUI64/32 .143.7 released.
[Re: Arieta]
#266514 - 10/16/11 06:31 AM
|
|
|
> Sadly I have 0 experience with compiling software. What software do I need for doing > this? I could do it if it's as simple as downloading a compiler, dropping the source > code in and getting an exe, but with all the compiler errors I've seen in the past > for various software, I'm not getting my hopes up.
If you can find you way around the command line, it is very easy. Have a look at http://mrdo.mameworld.info/compile.html. If you think you can do it, give it a try and if you need help, ask on the compile board linked above.
|
|
|
|