Version Update: 0.3.0

This commit is contained in:
Sour 2019-10-26 19:54:19 -04:00
parent bfa88fb5d5
commit b4d28cfbdc
5 changed files with 13 additions and 17 deletions

View file

@ -17,9 +17,9 @@ EmuSettings::EmuSettings(Console* console)
uint32_t EmuSettings::GetVersion() uint32_t EmuSettings::GetVersion()
{ {
//Version 0.2.0 //Version 0.3.0
uint16_t major = 0; uint16_t major = 0;
uint8_t minor = 2; uint8_t minor = 3;
uint8_t revision = 0; uint8_t revision = 0;
return (major << 16) | (minor << 8) | revision; return (major << 16) | (minor << 8) | revision;
} }

View file

@ -264,16 +264,13 @@ extern "C" {
_console->Initialize(); _console->Initialize();
_console->LoadRom((VirtualFile)testRoms[i], VirtualFile()); _console->LoadRom((VirtualFile)testRoms[i], VirtualFile());
thread testThread([=] { if(enableDebugger) {
if(enableDebugger) { //turn on debugger to profile the debugger's code too
//turn on debugger to profile the debugger's code too _console->GetDebugger();
_console->GetDebugger(); }
}
_console->Run();
});
std::this_thread::sleep_for(std::chrono::duration<int, std::milli>(5000)); std::this_thread::sleep_for(std::chrono::duration<int, std::milli>(5000));
_console->Stop(false); _console->Stop(false);
testThread.join();
_console->Release(); _console->Release();
} }
} }

View file

@ -14,7 +14,7 @@ namespace Mesen.GUI.Config
{ {
private bool _needToSave = false; private bool _needToSave = false;
public string Version = "0.2.0"; public string Version = "0.3.0";
public VideoConfig Video; public VideoConfig Video;
public AudioConfig Audio; public AudioConfig Audio;
public InputConfig Input; public InputConfig Input;

View file

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.2.*")] [assembly: AssemblyVersion("0.3.*")]
[assembly: AssemblyFileVersion("0.2.0.0")] [assembly: AssemblyFileVersion("0.3.0.0")]

View file

@ -13,7 +13,7 @@
# #
# Note: While GCC runs through this script just fine, the runtime performance is pretty terrible (something must be wrong with the way this is built) # Note: While GCC runs through this script just fine, the runtime performance is pretty terrible (something must be wrong with the way this is built)
# #
# This will produce the following binary: bin/x64/Release/Mesen.exe # This will produce the following binary: bin/x64/Release/Mesen-S.exe
if [ "$MESENPLATFORM" = x86 ]; then if [ "$MESENPLATFORM" = x86 ]; then
PLAT="x86" PLAT="x86"
else else
@ -27,13 +27,12 @@ else
fi fi
OBJ="PGOHelper/obj.${PLAT}/" OBJ="PGOHelper/obj.${PLAT}/"
FLAGS="LTO=true MESENPLATFORM=${PLAT}" FLAGS="LTO=true STATICLINK=true MESENPLATFORM=${PLAT}"
eval ${FLAGS} make clean eval ${FLAGS} make clean
#create instrumented binary #create instrumented binary
eval ${FLAGS} PGO=profile make ${TARG} -j 16 eval ${FLAGS} PGO=profile make pgohelper -B -j 16
eval ${FLAGS} PGO=profile make pgohelper -B
eval cp bin/pgohelperlib.so ${OBJ} eval cp bin/pgohelperlib.so ${OBJ}
#run the instrumented binary #run the instrumented binary