Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Commit

Permalink
Version Update: 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SourMesen committed Oct 26, 2019
1 parent bfa88fb commit b4d28cf
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 17 deletions.
4 changes: 2 additions & 2 deletions Core/EmuSettings.cpp
Expand Up @@ -17,9 +17,9 @@ EmuSettings::EmuSettings(Console* console)

uint32_t EmuSettings::GetVersion()
{
//Version 0.2.0
//Version 0.3.0
uint16_t major = 0;
uint8_t minor = 2;
uint8_t minor = 3;
uint8_t revision = 0;
return (major << 16) | (minor << 8) | revision;
}
Expand Down
13 changes: 5 additions & 8 deletions InteropDLL/EmuApiWrapper.cpp
Expand Up @@ -264,16 +264,13 @@ extern "C" {
_console->Initialize();
_console->LoadRom((VirtualFile)testRoms[i], VirtualFile());

thread testThread([=] {
if(enableDebugger) {
//turn on debugger to profile the debugger's code too
_console->GetDebugger();
}
_console->Run();
});
if(enableDebugger) {
//turn on debugger to profile the debugger's code too
_console->GetDebugger();
}

std::this_thread::sleep_for(std::chrono::duration<int, std::milli>(5000));
_console->Stop(false);
testThread.join();
_console->Release();
}
}
Expand Down
2 changes: 1 addition & 1 deletion UI/Config/Configuration.cs
Expand Up @@ -14,7 +14,7 @@ public class Configuration
{
private bool _needToSave = false;

public string Version = "0.2.0";
public string Version = "0.3.0";
public VideoConfig Video;
public AudioConfig Audio;
public InputConfig Input;
Expand Down
4 changes: 2 additions & 2 deletions UI/Properties/AssemblyInfo.cs
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.2.*")]
[assembly: AssemblyFileVersion("0.2.0.0")]
[assembly: AssemblyVersion("0.3.*")]
[assembly: AssemblyFileVersion("0.3.0.0")]
7 changes: 3 additions & 4 deletions buildPGO.sh
Expand Up @@ -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)
#
# 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
PLAT="x86"
else
Expand All @@ -27,13 +27,12 @@ else
fi

OBJ="PGOHelper/obj.${PLAT}/"
FLAGS="LTO=true MESENPLATFORM=${PLAT}"
FLAGS="LTO=true STATICLINK=true MESENPLATFORM=${PLAT}"

eval ${FLAGS} make clean

#create instrumented binary
eval ${FLAGS} PGO=profile make ${TARG} -j 16
eval ${FLAGS} PGO=profile make pgohelper -B
eval ${FLAGS} PGO=profile make pgohelper -B -j 16
eval cp bin/pgohelperlib.so ${OBJ}

#run the instrumented binary
Expand Down

0 comments on commit b4d28cf

Please sign in to comment.